Failed to Connect to Github. Com Port 443: Operation Timed Out
git clone 
Cloning into 'avalon'...
fatal: unable to access ' Failed to connect to github.com port 443: Operation timed out

I can not use HTTPS to clone any repo, but I can clone them by SSH.

git clone :RubyLouvre/avalon.git
Cloning into 'avalon'...
remote: Counting objects: 33102, done.
remote: Compressing objects: 100% (44/44), done.

What is the problem with this? I even set proxy, but it is still not working. I try much of network environment, but it makes no sense.

5

2 Answers

If you are using proxy for network connection, then you will have to add proxy to git config file. Use the below command to add proxy.

git config --global http.proxy http[s]://username:password@proxyipaddress:portnumber

try to check host and remove proxy for github

example:

# rm it
199.232.96.133 raw.githubusercontent.com

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

James H. Sterling

James H. Sterling

Environmental Science & Climate Journalist

James Sterling reports on renewable energy developments, climate policy, ecological conservation, and green tech innovations around the globe.

Share this article
Twitter Facebook Pinterest