PAC: SOCKS fails with loclalhost/




12 years ago
10 years ago


(Reporter: gharbeia, Unassigned)


1.5.0.x Branch
Windows 2000

Firefox Tracking Flags

(Not tracked)


(Whiteboard: CLOSEME 07/05)



12 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv: Gecko/20060728 Firefox/
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv: Gecko/20060728 Firefox/

I have Tor installed an listening on the localhost

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.

Comment 1

12 years ago
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";

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

function FindProxyForURL(url, host)
                return "PROXY";
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

Comment 3

10 years ago
@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 You should also use a recent version of Firefox, from
Last Resolved: 10 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.