Friday, June 19, 2015

Github error through proxy: Failed connect to github.com:443

I was trying to clone a Github repository from behind a proxy.  I kept getting connection errors,

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

This is how I fixed it.

I found a few good links, the one that fixed it was:

http://stackoverflow.com/questions/783811/getting-git-to-work-with-a-proxy-server

I had to update my gitconfig so that it was aware of my proxy server.  After running the following commands, git worked.

git config --global http.proxy http://proxyServerName:8080
git config --global https.proxy https://proxyServerName:8080

Then my Windows client also worked.

1 comment:

  1. I had to update my gitconfig so that it was aware of my proxy server. After running the following commands, git worked.top vpn

    ReplyDelete