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 access repository over HTTPS

See original GitHub issue

Description

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

  1. Go to repository in GitHub in browser
  2. Click the Clone or Download button
  3. Select Use HTTPS link
  4. Copy URL
  5. Activate GitHub Desktop window
  6. Click the Clone a Repository button
  7. Click URL tab
  8. Paste URL
  9. Select local path to download
  10. 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:closed
  • Created 6 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
sirusdynamocommented, Nov 3, 2018

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/

0reactions
joaosantoscommented, Feb 3, 2019

Hi Sirius, it worked fine by using this command and restarting the machine. Thank you so much.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to resolve "git pull,fatal: unable to access 'https://github ...
I solved such a problem by replacing https part of my remote origin with http. It is also a workaround.
Read more >
fatal unable to access https github com user maven ... - Edureka
I am trying to clone a repository from GitHub. But I am getting this error. $ git clone https://github.com/user/maven-productweb.git Cloning ...
Read more >
Quick fix to Git's fatal 'unable to access SSL certificate' error
Here's a quick fix to the Git 'unable to access GitHub or GitLab' SSL certificate settings error when you attempt to clone from...
Read more >
Cannot clone public repository over HTTP anonymously.
The only way I have been able to get anonymous HTTP cloning to work is by enabling diffusion.allow-http-auth first, however the docs at...
Read more >
Unable to clone Git repository due to self signed certificate
ConfigException: Unable to clone remote repository: https://fisheyeuser@git.server:8443/scm/test/gitrepo.git - [fatal: unable to access ...
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