MozillaZine

Auto-detect proxy settings for this network not working

Discussion of bugs in Mozilla Firefox
NickJH
 
Posts: 428
Joined: November 4th, 2003, 7:28 am
Location: Hampshire, England

Post Posted March 28th, 2018, 7:04 am

I've just been investigating using a wpad.dat file for proxy settings and, no matter what, I cannot get "Auto-detect proxy settings for this network" to find the wpad.dat file, but if I specify the file location manually it works immediately. I've tried using the DNS and DHCP methods and neither work.

For DNS, in my DNS/DHCP/File/Web server, in its hosts file I set :
Code: Select all
172.22.22.1 wpad.test-7x.howitts.test

test-7x.howitts.test is the server name.

In the DHCP server running dnsmasq I set a 252 record:
Code: Select all
dhcp-option=enp5s0,252,http://wpad.test-7x.howitts.test/wpad.dat

(enp5s0 is my server's LAN interface)

It never detected the file but always prompted me to configure the proxy (with the correct port) so part of it is working.

If I changed the connection options to "Automatic proxy configuration URL" = http://wpad.test-7x.howitts.test/wpad.dat then it worked immediately, picked up the proxy settings and asked me to authenticate, so there was no problem navigating to that address.

The above DNS and DHCP settings worked fine in Windows 10/IE.

Am I doing something wrong in Ff or is it broken?

therube

User avatar
 
Posts: 19104
Joined: March 10th, 2004, 9:59 pm
Location: Maryland USA

Post Posted March 28th, 2018, 8:13 am

Any number of "proxy" bugs out there, so possible it is FF.
Not sure if this relates, but, Bug 621429 Proxy configuration : "Use system proxy settings" assumes no proxy if IE is set to auto-detect itself.
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript

NickJH
 
Posts: 428
Joined: November 4th, 2003, 7:28 am
Location: Hampshire, England

Post Posted March 28th, 2018, 8:31 am

That is related but looks different as comment 2 says:
If I set FF to "Auto-detect proxy settings for this network" then FF will, as it says, detect the proxy and apply those settings from wpad.
This is opposite to what I am seeing. I'll have another search of bugzilla.

NickJH
 
Posts: 428
Joined: November 4th, 2003, 7:28 am
Location: Hampshire, England

Post Posted March 29th, 2018, 8:35 am

My bad. No bug. For the DNS method to work the correct hosts mapping is:
Code: Select all
172.22.22.1 wpad.howitts.test

Return to Firefox Bugs


Who is online

Users browsing this forum: No registered users and 2 guests