question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to connect after proxy change

See original GitHub issue

Description

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

  1. [Change network connection e.g. Ethernet > WiFi.]
  2. [Disable proxy server in Control Panel > Internet Options > Connections > LAN Settings.]
  3. [Check internet access in browser e.g. github.com]
  4. [In GitHub Desktop, select repository and Fetch Origin.]
  5. [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:closed
  • Created 6 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
jakepogcommented, Sep 15, 2017

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. Resetting git 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.

0reactions
shahbazsmartgitcommented, Apr 21, 2020

fatal: unable to access ‘https://github.com/username/keyrings.git/’: Failed to connect to mail id.com port 1080: Connection timed out

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fix For Unable to Connect to Proxy Server Error In Windows 10
Unable to connect to Proxy Server error in Windows 10 can also be caused by change in internet settings. 1. Right-click on the...
Read more >
FIX: Unable to Connect to proxy server in Windows 10/11
How can I fix Unable to connect to proxy server? · 1. Reset Internet options · 2. Disable proxy · 3. Use a...
Read more >
How to Fix Unable to Connect to the Proxy Server | VSS Guide
To begin, open Google Chrome browser. Select settings by clicking on the three dots in the upper right corner of the window. ·...
Read more >
“Can't Connect To The Proxy Server" in Windows 10/11 [8 ...
Solution 2 – Disable Proxy for LAN · Click on OK to save the settings. Then click Apply and OK to save the...
Read more >
Fix Unable to connect to the proxy server in Windows 10
Fix unable to connect to the proxy server in Windows 10 · Method 1: Disable Proxy Settings · Method 2: Reset Internet Settings...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found