Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 opened this issue Dec 14, 2023 · 0 comments
Labels
bug Something isn't working enhancement New feature or request

Comments

@anjari
Copy link

anjari commented Dec 14, 2023

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.

@krlvm krlvm added bug Something isn't working enhancement New feature or request labels Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants