Closed Bug 138447 Opened 22 years ago Closed 12 years ago

PAC: complicated PAC file

Categories

(Core :: Networking, defect)

x86
Windows 98
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE
Future

People

(Reporter: ivan.brkanac, Unassigned)

Details

(Keywords: helpwanted)

Attachments

(2 files)

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?
Hello
I am not shore what is PAC A searched Computer for PAC file and found
nothing
but auto configuration is on "emea-auto.proxy.att.com:8001"
And it go on socks on every address outside my intranet

Ivan
Attached file This is PAC file
Thi s is what I get from address emea-auto.proxy.att.com:8001 so I sopose that
this should be PAC file only it is caled yo8wkgoq and not proxy.pac
Ivan
You PAC URL needs to be a URL, not a hostname:port#.

"emea-auto.proxy.att.com:8001" should be: http://emea-auto.proxy.att.com:8001/

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

Could you tell me more about "socksyfy" (step #1)?
I use Hummingbird Socks client. To seamlessly connect to socks from all programms.
Attached file SOCKS Configuration
This is configuration file for Hummingbird SOCK client
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
It is the same if I write http://emea-auto.proxy.att.com:8001/ for auto proxy.
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
environment.
I can only acces urls on intranet and all internet urls are unavaiable.
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)
When I make file with 
function FindProxyForURL(url, host)
{
        return "PROXY 135.76.193.3:8000";
}
and put it for auto proxy then It is almoust working, actualy Internet is working
but then INTRANET isn't working.
-> NEW
Okay.

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.

Status: UNCONFIRMED → NEW
Ever confirmed: true
QA Contact: benc → pacqa
Keywords: helpwanted
Target Milestone: --- → Future
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
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: