Thursday, April 13, 2017

GitHub - failed to connect to github 443 windows/ Failed to connect to gitHub - No Error

Problem is with proxy that mostly organizations use

Solution:

Open chrome, go to below URL to see the proxy details:

chrome://net-internals/#proxy


Check Proxy tab on left. Run the PAC script in browser URL

It should download one pac file . Open in notepad

Check for something like this:

if ( host == "abc.com" )
      { return "PROXY IP Address:Port"; }


Thats your proxy.


Open .gitconfig file and append as seen below

[http]
    proxy = http://Domain\\UserID:Password@ProxyIPAddress:ProxyPort

If your password has @ replace with %40, if # then %23

It should work now