Unable to access repository over HTTPS
See original GitHub issueDescription
Tried to clone a repository using a URL and it hung for a while, then came back with a fatal message indicating that it was unable to access the repository.
Version
GitHub Desktop version: 1.0.11
OS version: Windows 7
Steps to Reproduce
- Go to repository in GitHub in browser
- Click the Clone or Download button
- Select Use HTTPS link
- Copy URL
- Activate GitHub Desktop window
- Click the Clone a Repository button
- Click URL tab
- Paste URL
- Select local path to download
- Click Clone button
Expected behavior: Clone of the repository.
Actual behavior: Hangs for a bit, then get a Fatal error.
Reproduces how often: 100%
Logs
2018-01-02T13:09:37.305Z - info: [ui] [AppStore] loading 0 repositories from store
2018-01-02T13:09:37.322Z - info: [ui] [AppStore] found account: houghtonap (null)
2018-01-02T13:09:37.472Z - info: [ui] launching: 1.0.11 (Windows 6.1.7601)
2018-01-02T13:14:43.760Z - info: [ui] [AppStore.getAccountForRemoteURL] account found for remote: https://github.com/NaturalDocs/NaturalDocs.git - houghtonap (has token)
2018-01-02T13:18:29.137Z - info: [ui] Executing clone: git -c credential.helper= clone --recursive --progress – https://github.com/NaturalDocs/NaturalDocs.git C:\Downloads\GitHub\NaturalDocs (took 225.329s)
2018-01-02T13:18:29.140Z - error: [ui] git -c credential.helper= clone --recursive --progress -- https://github.com/NaturalDocs/NaturalDocs.git C:\Downloads\GitHub\NaturalDocs
exited with an unexpected code: 128.
Cloning into ‘C:\Downloads\GitHub\NaturalDocs’…
fatal: unable to access ‘https://github.com/NaturalDocs/NaturalDocs.git/’: Failed to connect to github.com port 443: Timed out
Additional Information
This problem most likely is that GitHub Desktop does not recognize that the workstation is required to have Internet traffic go through a proxy server. Other applications will cause the proxy server credentials dialog box to appear and I enter my credentials and everything works as normal. I never get the proxy server credentials dialog box from GitHub Desktop.
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (1 by maintainers)
Top GitHub Comments
fatal: unable to access ‘https://github.com/sirusdynamo/restaurantMenu.git/’: Failed to connect to 192.168.43.1 port 44355: Connection timed out was using a proxyserver HTTP injector set network proxy to 192.168.43.1 port 44355 now network proxy is set to None
stoppped and connected normally O.S:ubuntu 16.04 LTS
Tried git config --global --unset-all https.proxy git config --global --unset-all http.proxy git config --list
color.ui=auto push.default=upstream merge.conflictstyle=diff3 core.editor=code --wait credential.helper=cache --timeout=3600 user.email=xxxxxxxxxx@gmail.com user.name=xxxxxxxxxx core.repositoryformatversion=0 core.filemode=true core.bare=false core.logallrefupdates=true remote.origin.url=https://github.com/sirusdynamo/restaurantMenu.git remote.origin.fetch=+refs/heads/:refs/remotes/origin/
Hi Sirius, it worked fine by using this command and restarting the machine. Thank you so much.