Unable to connect after proxy change
See original GitHub issueDescription
The app does not recognise changed proxy server settings. Changing the network connection and disabling associated proxy server settings results in app network error. Pushing and fetching fail.
Version
GitHub Desktop version: [0.8.0]
Microsoft Windows 7 Enterprise, SP 1: [6.1.7601]
Steps to Reproduce
- [Change network connection e.g. Ethernet > WiFi.]
- [Disable proxy server in Control Panel > Internet Options > Connections > LAN Settings.]
- [Check internet access in browser e.g. github.com]
- [In GitHub Desktop, select repository and Fetch Origin.]
- [Restarting app nor rebooting OS doesn’t resolve.]
Expected behavior: [Syncing of repository.]
Actual behavior: [Fail with error, "fatal: unable to access _http://github.com/user/private_repository.git/_: Couldn’t resolve proxy proxy address. Even when all proxy server settings is erased, restarted app, rebooted OS.]
Reproduces how often: [100%. Independent of network connection type and proxy settings.]
Logs
Additional Information
2017-09-02T01:03:06.600Z - info: [ui] Executing push: git -c credential.helper= push origin master:master --progress (took 2.386s)
2017-09-02T01:03:06.601Z - error: [ui] git -c credential.helper= push origin master:master --progress
exited with an unexpected code: 128.
fatal: unable to access ‘https://github.com/jakepog/private_repository.git/’: Couldn’t resolve proxy ‘www-cache’
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (3 by maintainers)
Top GitHub Comments
Perhaps it is a more global git config, as I have resolved the immediate problem through command line per answer here:
https://stackoverflow.com/questions/783811/getting-git-to-work-with-a-proxy-server/19213999#19213999
. In bash,git config --list
showed the http and https proxy server settings retained. Resettinggit config --global --unset http.proxy
resolves Github Desktop pushing and pulling problems too. The question now is why git doesn’t update from the system settings, and is this a reproducible problem? I guess I’ll see on Monday.fatal: unable to access ‘https://github.com/username/keyrings.git/’: Failed to connect to mail id.com port 1080: Connection timed out