WinHttpGetProxyForUrl failed: 12167 [1112/191141:ERROR:proxy

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

WinHttpGetProxyForUrl failed: 12167 [1112/191141:ERROR:proxy

Postby vkailasa » Wed Nov 17, 2010 5:54 pm

Hello All,

My CEF based application works fine on some windows machines, while on other machines it misbehaves in different ways -- sometimes displays a blank white window, other times it is frozen after displaying partial web page content, and yet few other times it is not frozen but extremely slow to display the web pages.

On the boxes with problem, the debug.log file has the error message "WinHttpGetProxyForUrl failed: 12167
[1112/191141:ERROR:proxy_resolver_winhttp.cc(96)]" hundreds of times.

Does anyone have a suggestion what proxy settings I'm missing that could be causing this problem?

Any help is appreciated!

vkailasa
vkailasa
Newbie
 
Posts: 3
Joined: Wed Nov 17, 2010 5:43 pm

Re: WinHttpGetProxyForUrl failed: 12167 [1112/191141:ERROR:proxy

Postby magreenblatt » Wed Nov 17, 2010 6:51 pm

What revision of CEF are you using? Some proxy problems were resolved in revision 116.

http://code.google.com/p/chromiumembedd ... tail?id=81
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: WinHttpGetProxyForUrl failed: 12167 [1112/191141:ERROR:proxy

Postby vkailasa » Wed Nov 17, 2010 8:38 pm

magreenblatt wrote:What revision of CEF are you using? Some proxy problems were resolved in revision 116.

http://code.google.com/p/chromiumembedd ... tail?id=81



Thanks for the pointer. After posting the question I played around the proxy settings and found that turning off "Automatically detect settings" solved the issue, exactly as suggested in issue 81 discussion.

I'm at revision 129. May be I'm running into an issue different from those solved in revision 116?
vkailasa
Newbie
 
Posts: 3
Joined: Wed Nov 17, 2010 5:43 pm

Re: WinHttpGetProxyForUrl failed: 12167 [1112/191141:ERROR:proxy

Postby magreenblatt » Thu Nov 18, 2010 4:56 pm

I'm at revision 129. May be I'm running into an issue different from those solved in revision 116?

(0) What operating system are you using?

(1) from a command prompt, run:
netsh winhttp show proxy

(2) Run the experiments in this bug comment:
http://code.google.com/p/chromium/issue ... =12189#c54

(3) Please include a screenshot of the proxy settings dialog.

(4) What do you have listed under the registry key:
HCU/Software/Microsoft/Windows/CurrentVersion/Internet Settings

In particular there is a value "AutoConfigProxy" which should list a DLL.

(5) It is possible that you have machine-wide proxy settings.
Proxy settings on windows is pretty absurd -- the dialog that internet
explorer shows and lets you configure may not actually be relevant,
since you could have machine wide / group policy overrides.

Check out this key:

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\Internet
Settings\ProxySettingsPerUser

If that exists, and is 0, then it means you have per-machine settings.

(6) For the actual settings values, check out what keys are under:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings

Or, on 64bit systems:
HKLM\Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Internet Settings

(7) Build CEF in debug mode, set a breakpoint in BrowserRequestContext::Init, and see what's going on.

Regards,
Marshall
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: WinHttpGetProxyForUrl failed: 12167 [1112/191141:ERROR:proxy

Postby vkailasa » Mon Nov 22, 2010 5:50 pm

I was not subscribed to the topic, and did not see your response till today.

Thank you for additional troubleshooting info, but it turned out to be a project settings issue on my part :x My project was still pointing to older version while it should be pointing to the latest one. All is good with this issue now.
vkailasa
Newbie
 
Posts: 3
Joined: Wed Nov 17, 2010 5:43 pm


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 51 guests

cron