Closed Bug 350812 Opened 18 years ago Closed 15 years ago

PAC: SOCKS fails with loclalhost/127.0.0.1

Categories

(Firefox :: General, defect)

1.5.0.x Branch
x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: gharbeia, Unassigned)

Details

(Whiteboard: CLOSEME 07/05)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.0.6) Gecko/20060728 Firefox/1.5.0.6
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.0.6) Gecko/20060728 Firefox/1.5.0.6

I have Tor installed an listening on the localhost 127.0.0.1:9050

Setting the manual SOCKS proxy configuration works normally, but using a simple PAC file like the one attached fails with the error message: "Firefox is configured to use a proxy server that can't be found."

On the other hand, using the PAC file to connect to a HTTP proxy (Privoxy), which in turn uses SOCKS (Tor) works normally!

Reproducible: Always

Steps to Reproduce:
1. Configure the browser to use a SOCKS proxy on the local host through a PAC file
Actual Results:  
The browser fails to connect to the SOCKS proxy

Expected Results:  
Browser uses SOCKS Proxy to connect to target website

My PAC file originally contained logic to use the SOCKS proxy in certain cases, but I removed it to simplify and reduce the variables.
I couldn't attach the PAC files due to an error in Bugzilla, which I reported. So here are the files. First the SOCKS file proxy.socks.pac contained:

function FindProxyForURL(url, host)
{
                return "SOCKS 127.0.0.1:9050";
}

and the HTTP PROXY file proxy.http.pac contained:

function FindProxyForURL(url, host)
{
                return "PROXY 127.0.0.1:8118";
}
Reporter, do you still see this problem with the latest Firefox 2? If not, can you please close this bug as WORKSFORME. Thanks!
Whiteboard: CLOSEME 07/05
Version: unspecified → 1.5.0.x Branch
@Reporter, we have not heard back from you in a while, so I am closing this bug as INCOMPLETE. You can reopen this bug if more information becomes available. Some helpful information you can provide us is found at http://quality.mozilla.org/bug-writing-guidelines. You should also use a recent version of Firefox, from http://www.getfirefox.com.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.