Skip to content

Chrome browser's ERR_PROXY_CONNECTION_FAILED issue with the restored system proxy setting after stopping the PowerTunnel server in Windows 7 #152

Open
@anjari

Description

@anjari

If I run PowerTunnel server and then stop it, it should restore the system proxy setting, but in Windows 7, after the PowerTunnel stopped, chrome browser can't connect to internet anymore and I get ERR_PROXY_CONNECTION_FAILED page. I checked the system proxy setting in Internet Options -> Connection tab -> LAN settings, it turns out the proxy server setting was already unchecked, and then I refreshed the page again and chrome browser somehow could connect to internet anymore.

I repeated the test many times and from my finding, PowerTunnel actually restored the system proxy server setting correctly, however chrome browser (or any chrome-engine based browsers) didn't get notified of the system proxy setting change, so the chrome browser still saw the old proxy server setting (127.0.0.1:8085). I have to open Internet Options -> Connection tab -> LAN settings dialog to make the chrome gets notified of the system proxy setting change, or the faster way is simply open Edge browser (when the Edge starts, it somehow sends notification of the proxy setting change).

References:
https://stackoverflow.com/questions/38953422/why-is-chrome-not-picking-up-my-proxy-setting-immediately
https://www.autohotkey.com/board/topic/19498-internet-explorer-windows-proxy-function/

I'm not sure if this is chrome's issue or PowerTunnel's issue, but the links above might give some hints for the code solution, hopefully you can find and implement the solution in the PowerTunnel itself.


Another issue is sometimes PowerTunnel fails to restore the system proxy setting after the server is stopped. So in the Internet Options -> Connection tab -> LAN settings, it will still show the 127.0.0.1:8085 proxy setting being checked/enabled. This happens randomly so I don't know how to reproduce this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions