Closed Bug 90308 Opened 24 years ago Closed 10 years ago

PAC: notify user when PAC can't be loaded (bad url, etc)

Categories

(Core :: Networking, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: Wout.Mertens, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: pac)

When I try using file:///d:/proxy.pac as the URL for auto proxy configuration, it does not work, and I get no error messages about it. This is the URL I cut'n'pasted from the browser, which showed me the script. It works in IE. Could be a platform-specific issue.
QA Contact: benc → pacqa
Summary: file:// URL for PAC doesn't work → PAC: file:// URL for PAC doesn't work
Hmm, so on Linux (200107010 cvs build) I can specify file:///scratch/test.pac and things will work. Is file:///d:/proxy.pac valid url syntax? Can you try using file:///d|/proxy.pac instead? If nothing else, this can be an RFE for an alert when a bad PAC url is entered.
Success! I got it to work with file:///d:\proxy.pac I don't know if this is a good URL or not. In any case, at least consider this case as the RFE for better error reporting regarding PAC errors.
Wout, I'm glad you got it straightened out. I'm updating severity, summary, etc for the RFE.
Blocks: 79893
Severity: normal → enhancement
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows 2000 → All
Hardware: PC → All
Summary: PAC: file:// URL for PAC doesn't work → PAC: notify user when PAC can't be loaded (bad url, etc)
serge, another pac bug.
Assignee: neeti → serge
Blocks: 93845
Blocks: 82992
I've been testing PAC for two days now, and the lack of this error message is really annoying.
Keywords: mozilla1.0
*** Bug 111445 has been marked as a duplicate of this bug. ***
to default owner
Assignee: serge → new-network-bugs
If you expect me (or anyone else) to do any serious amount of testing of this feature, this is one of the first two or three things you should fix. Without it, I have to sit around and watch a packet trace or my server logs (which don't run in realtime and don't show negative hits anyhow) to know if this worked.
Assignee: new-network-bugs → morse
Keywords: nsbeta1
Nav triage team: nsbeta1-
Keywords: nsbeta1nsbeta1-
Target Milestone: --- → mozilla1.1alpha
reassigning to darin at his suggestion.
Assignee: morse → darin
Whiteboard: pac
future
Target Milestone: mozilla1.1alpha → Future
Depends on: 161908
renomiating
Keywords: nsbeta1-nsbeta1
removed jhooker from cc: list
adt: nsbeta1-
Keywords: nsbeta1nsbeta1-
*** Bug 225536 has been marked as a duplicate of this bug. ***
It seems that this bug is not likely to be fixed in the forseeable future. Users expect that if user-submitted data is found to be invalid, or if a network connection fails, an error will be reported. Since the bug here is that this is not happening, perhaps a clear warning should be given instead. 'automatic proxy configuration URL:' should be changed to say 'automatic proxy configuration URL. Warning: errors in loading the PAC file will not be reported to the user. Use a packet sniffer to determine whether the PAC file was successfully loaded.' This would at least lessen the degree of confusion.
Just a ping to hopefully bring this bug to someone's attention. One would think it's be fairly easy to insert a "pac url not found" dialog, and that's save the occational user (like me ;-) from pulling out what remaining hair we have left....
It's tough because where I work, we have a PAC file that must be used when connecting over the VPN. However, when my laptop is not on the VPN, the PAC file simply cannot be loaded. It would be very annoying to me if I got an alert dialog each time Firefox failed to load my PAC file because it's a very common and okay occurance. So, if we simply added an alert dialog, we'd have a suboptimal solution. What we really need is a smart way to deal with this bigger problem of PAC being unfriendly to users. There's the related problem of it not being easy to cause Firefox to reload the PAC file (you have to dig through prefs to get there). I think it'd be cool if simple proxy selection UI showed up in the status bar (or somewhere) whenever the user's prefs indicated something other than a direct connection to the internet. I believe there's an extension that does this, called "switch proxy" or something like that.
*** Bug 275048 has been marked as a duplicate of this bug. ***
QA Contact: pacqa → benc
Darin: there are already long-standing RFE's for both multi-pac URL selectors and proxy profiles. When a PAC file is selected by a user, we need to be fully committed to the usage of that file.
Assignee: darin → nobody
QA Contact: benc → networking
Target Milestone: Future → ---
It's the year 2009 now, this bug hasn't seen any (real) changes for 4 year. Could we at least agree that FF not complaining about a broken PAC url is an error which should be dealt with (and therefor importance raised to normal)?
we're going to make it deterministic in a different bug about whether to fallback to DIRECT or block access entirely when this happens.. so notification is out of scope in either case
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.