9

I am using Android project and I'm sick of this error:

fatal: unable to access 'https://github.com/caddy2519/MyBabyGrowing.git/': Failed connect to github.com:443; No error

How do I fix this?

I don't use proxy server.

Kara
  • 5,650
  • 15
  • 48
  • 55
LattaliAhmed
  • 134
  • 1
  • 1
  • 11
  • Can you access `https://github.com` from a web browser? – Stefano Sanfilippo Dec 04 '14 at 00:10
  • Yes................................. – LattaliAhmed Dec 05 '14 at 15:35
  • 1
    Wow this is still unanswered question. – Shyam Bhimani Jun 24 '16 at 07:30
  • Maybe you do use a proxy server even if you are unaware of it. Try checking your connection (for example here: http://www.lagado.com/proxy-test) and see if your requests are not being handled by your ISP's proxy. – Mladen B. Nov 04 '16 at 13:56
  • Please check the 443 is accessible. From git bash $ curl https://github.com:443 . From CMD on Windows $ telnet github.com 443 – Vitalliuss Dec 01 '16 at 11:14
  • See the question: http://stackoverflow.com/questions/18356502/github-failed-to-connect-to-github-443-windows-failed-to-connect-to-github – Gautam Krishna R Dec 24 '16 at 09:21
  • Possible duplicate of [GitHub - failed to connect to github 443 windows/ Failed to connect to gitHub - No Error](http://stackoverflow.com/questions/18356502/github-failed-to-connect-to-github-443-windows-failed-to-connect-to-github) – kc9jud Jan 10 '17 at 07:13

2 Answers2

1

Check if your network is protected, if so, you can configure proxy for git provided in that answer, as follows:

git config --global http.proxy http://proxyuser:proxypwd@proxy.server.com:8080
  • change proxyuser to your proxy user
  • change proxypwd to your proxy password
  • change proxy.server.com to the URL of your proxy server
  • change 8080 to the proxy port configured on your proxy server

Otherwise, you should consider a fresh install of git.

Community
  • 1
  • 1
hurturk
  • 4,726
  • 21
  • 37
-1

Remove Slash after .git(/)

https://github.com/caddy2519/MyBabyGrowing.git/

Change it to

https://github.com/caddy2519/MyBabyGrowing.git