Closed Bug 234478 Opened 21 years ago Closed 21 years ago

incorrect or non existant dns lookups when using proxy server

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 143404

People

(Reporter: kinadian, Assigned: bugzilla)

Details

User-Agent:       
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040206 Firefox/0.8

I use AnalogX's proxy server software.  If I start up FireFox, set to load my 
home page automatically (www.google.ca) then click on a url in say, IRC, a new 
window will be opened (as per my preferences) but it will go to 
www.google.ca.  This also happens when clicking on links in the toolbar.  For 
example, if I wanted to go to http://www.nuklearpower.net/latest.php, I would 
get a google error page saying that latest.php was not found on the server.  
Or if I got http://slashdot.org/, Google's homepage is displayed.  90% of the 
time I can fix this by typing the url into the address bar and hitting <enter>.

This problem does not occur on the same computer when using Internet Explorer.

Reproducible: Always
Steps to Reproduce:
1. Launch FireFox
2. Wait for homepage to load
3. Click on link in toolbar (ie http://slashdot.org )

Actual Results:  
www.google.ca is displayed instead of slashdot.org

Expected Results:  
slashdot.org should've been displayed

I noticed this first started happening in Firebird 0.7 and never got around to 
submitting the bug.  I did not try previous versions.
A few friendly faces on IRC helped me with this.  See, the proxy you're using
doesn't support HTTP 1.1, and that's what Firefox tries to use by default.  Why
this breaks both Firefox and Mozilla 1.7a is unknown to me.  The proxy may not
be sending out a standardized error message telling the browser to revert to
1.0, but I honestly don't know enough about proxies to tell at the moment.  I
will look into the source code of one of the two proxies I have confirmed this
"bug" with, and I'll check to make sure it is sending out a standardized error.
 I will do this before confirming this bug as Mozilla's fault.

A temporary fix is to change network.http.proxy.version in about:config to 1.0.
After further investigation, I have found that this is not a Mozilla bug,
because Mozilla is doing everything as it should.  The proxy you are trying to
use doesn't support HTTP 1.1, and gives no errors to the browser when 1.1 is
used.  The program itself knows no difference between HTTP 1.1 and HTTP 1.0, and
simply ignores it.

Either change your default setting as listed above, or use an updated proxy such
as Privoxy http://freshmeat.net/projects/privoxy/

*** This bug has been marked as a duplicate of 38488 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
wrong dupe
Status: RESOLVED → UNCONFIRMED
Resolution: DUPLICATE → ---
better dupe

*** This bug has been marked as a duplicate of 143404 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago21 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → UNCONFIRMED
Resolution: DUPLICATE → ---
My apologies for using the wrong dupe.

*** This bug has been marked as a duplicate of 143404 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago21 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.