PAC: complicated PAC file




16 years ago
6 years ago


(Reporter: Ivan Brkanac, Unassigned)



Windows 98

Firefox Tracking Flags

(Not tracked)



(2 attachments)



16 years ago
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.0rc1) Gecko/20020417
BuildID:    2002041711

When I set Auto proxy configutration Navigator is still using socks I have
Hummbridge socks instaled. It is working in old Netscape 4.75

Reproducible: Always
Steps to Reproduce:
1.sockyfy windows
2.enter Auto proxy configuration
3.wisit some http pages

Actual Results:  use netstat and see that it is opened connection with socks
server not proxy server

Expected Results:  open connection with proxy server

I am on 2 networks One is normal thru tokenring and other is VNP network
socks servers are on 1 one and proxy is on 2
So you're using PAC, _not_ manual configuration? In that case we'll so whatever
your pac script says...

Can you attach the pac file, and mention a url which uses the wrong server?

Comment 2

16 years ago
I am not shore what is PAC A searched Computer for PAC file and found
but auto configuration is on ""
And it go on socks on every address outside my intranet


Comment 3

16 years ago
Created attachment 79989 [details]
This is PAC file

Thi s is what I get from address so I sopose that
this should be PAC file only it is caled yo8wkgoq and not proxy.pac

Comment 4

16 years ago
You PAC URL needs to be a URL, not a hostname:port#.

"" should be:

PAC lacks good error handling, so if this failed, it was probably silent.

Could you tell me more about "socksyfy" (step #1)?

Comment 5

16 years ago
I use Hummingbird Socks client. To seamlessly connect to socks from all programms.

Comment 6

16 years ago
Created attachment 80357 [details]
SOCKS Configuration

This is configuration file for Hummingbird SOCK client

Comment 7

16 years ago
Ivan: need update, in RC1, do you have problems if you use a valid URL in the
Proxy AutoConfig preference?
Summary: Using socks (Hummbridg) even if I set Auto Proxy configuration → PAC: Using socks (Hummbridg) even if I set Auto Proxy configuration

Comment 8

16 years ago
It is the same if I write for auto proxy.

Comment 9

16 years ago
What's an example of a URL that is available via the Proxy?

I think we need to write a more simplified PAC file and have you test it in your

Comment 10

16 years ago
I can only acces urls on intranet and all internet urls are unavaiable.

Comment 11

16 years ago
Your .pac file is a bit complicated. 

Can you modify the following PAC, and access it as a file:/// URL:

function FindProxyForURL(url, host)
        return "PROXY <proxy server>:<port>";

So that it would point you just to a single proxy, then test your setup again?
(I recommend creating a new profile)

Comment 12

16 years ago
When I make file with 
function FindProxyForURL(url, host)
        return "PROXY";
and put it for auto proxy then It is almoust working, actualy Internet is working
but then INTRANET isn't working.

Comment 13

16 years ago
-> NEW

Sorry for taking so long to get back to you. We had some contributors that would
pick up analysis at this point, but I think they are inactive now.

Since the simple PAC file worked for you, that means PAC w/ SOCKS works. So the
problem you are having is probably some kind of syntax problem in your file.

That could be difficult because of the complexity of your file, but that is the
next step.

Ever confirmed: true
QA Contact: benc → pacqa


16 years ago
Keywords: helpwanted
Target Milestone: --- → Future

Comment 14

14 years ago
Ivan: any update?
Summary: PAC: Using socks (Hummbridg) even if I set Auto Proxy configuration → PAC: complicated PAC file
Assignee: general → nobody
QA Contact: pacqa → networking
per comment 14
Last Resolved: 6 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.