New issue
Advanced search Search tips

Issue 775023 link

Starred by 5 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Nov 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

WPAD - PROXY_SCRIPT_DECIDER_FETCH_PAC_SCRIPT net_error = -7 (ERR_TIMED_OUT)

Reported by hitendra...@gmail.com, Oct 16 2017

Issue description

UserAgent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36

Steps to reproduce the problem:
1. Set DHCP Option 252 PAC URL, in the following format http://xxxx.xxxx.xxxx.com/xxx/xxxxPAC.asp?zproxy-xxxx.xxxx?zproxy-xxxx 

2. Validation with Internet Explorer (automatically detect settings configured) successful

3. Via Google Chrome Set Proxymode to System 

What is the expected behavior?
Chrome should fetch DHCP Option 252 URL

What went wrong?
Chrome decides the source is WPAD DCHP but this times out. The PAC URL is in the event URL_REQUEST (not sure how it gets there) but proxy server is later resolved as Direct therefore only Intranet access.

Did this work before? No 

Chrome version: 61.0.3163.100  Channel: stable
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version: Shockwave Flash 27.0 r0

I've attached a partial log. If all the logs are required the we are going to have to obfuscate quite a lot of information from the events. If this is the case we'll need to take this offline please.
 
Chrome log_16102017.txt
2.6 KB View Download
Components: Internals>Network
Hm maybe an Internals>Network component would suit this report better?
Components: -Internals>Network Internals>Network>Proxy
Let's triage to the more specific proxy component.

Comment 4 by ajha@chromium.org, Oct 17 2017

Labels: Needs-Triage-M61
Components: -Enterprise

Comment 6 by ajha@chromium.org, Oct 24 2017

Cc: eroman@chromium.org
Labels: TE-NeedsTriageHelp
Cc'ing 	eroman@ from  Issue 755537  for more inputs and help in further debugging of the attached log in C#1.
Hi
Any update on this bug please?
Kind Regards

Comment 8 by eroman@chromium.org, Nov 17 2017

Status: WontFix (was: Unconfirmed)
Thanks for the log.

It looks like it hits the 2 second timeout, which is working as intended.

Workaround would be to provide the PAC URL directly rather than using auto-detect.

Comment 9 Deleted

Comment 10 Deleted

Comment #9 and #10 were deleted, but in response to some of the questions:

* There currently is no configuration option to increase the timeout. If we did change this, we would likely just want to change the global default. How many seconds does it take clients to download the PAC script?

* The consequence of increasing various timeouts around auto-detect is slowing down detection when there really is no PAC script to use. Although there is probably some leeway in doing so for DHCP-discovered scripts since there is a higher chance of it working than say DNS-discovered scripts.

* The most robust solution is to not use auto-detect, and just set an explicit PAC script for your machines. Auto-detect is slow. When using a explicit PAC script the timeout would be much higher (order of minutes), which in fact by many other metrics has the opposite problem (of taking too long to timeout when there are connectivity issues)...


Comment 12 Deleted

To validate you can try fetching the PAC URL discovered by DHCP on a configuration that uses no proxy server, and see how long that takes (from the earlier analysis I think we determined that it was taking longer than 2 seconds and hence being cancelled).

One could make an argument to increase the DHCP timeout to a slightly higher threshold, say 4 seconds. But the first step is seeing what timeout would actually work for your use-case.

Comment 14 Deleted

Thanks for the feedback.

Sign in to add a comment