Failed to connect to github.com port 443: Connection timed out

Asked

Viewed 5,066 times

1

I’m trying to make a git push, or git pull, and back and forth triggers this error:

fatal: unable to access 'https://github.com/tiagoferezin/meuRepositorio.git/': Failed to connect to github.com port 443: Connection timed out

What may be happening?

I’ve searched several forums and none came up with a solution.

Is there any tutorial or step-by-step to follow to fix such error?

  • How are you trying to connect? Via shell? which command are you typing to return this error?

  • Via Linux Terminal, with both commands returns this error, I give the command git pull it returns this error and when I give git push tb returns @Uilquemessias

  • have you tested your internet connection? https://stackoverflow.com/questions/18356502/github-failed-to-connect-to-github-443-windows-failed-to-connect-to-github

  • @Nikobellic already tested my connection, this normal, other pc from here from normal company wheel, until before yesterday was normal that tb, but from yesterday started that problem

  • see if there is any proxy set in your env

  • if you have and only give unset in the proxy variable

  • @Nikobellic doesn’t have any

  • so the sysadmin in the cause sends a print of the error so I’m the kind that I only believe seeing I got fucked now

  • @Nikobellic, the worst Windows won’t believe, when I pull and push by the eclipse git plugin makes normal

  • @Nikobellic fixed, eh that in my git config had duplicate settings, two user.name and two user.email

Show 5 more comments

1 answer

5


There was a guy who had the same problem and then managed to solve it. He reported on ONLY version in English. I will post the answer here in a free translation:

Well, we’ve done the following steps:

  1. We Google the error

  2. We come to the Links of ONLY(this and this) who suggested the same thing, that I have update the settings of proxy of Git.

  3. Damn, I can’t see the information from proxy control panel. IT "faces" must have hidden. I can’t even change the settings not to use proxy.

  4. I found it magnificent tutorial which shows in which proxy you are connected.

  5. I updated the key http.proxy in the settings of Git with the following command:

git config --global http.proxy http[s]://username:password@proxyaddress:port

  1. Error - could not resolve proxy some@proxyaddress:port. I realized my password had the symbol @.

  2. Code @ in your password (if any) to %40, because the Git separates the configuration from the proxy for @.

git config --global http.proxy http[s]://username:password(encoded)@proxyaddress:port

Worked!

Note - I just wanted to answer this question by "souls" with me, who were looking for answers here on ONLY:D

I hope I helped the/

P.S.: This is the link to the original question/answer

  • I wanted to know where I can find this proxyaddress and the Github port. Have any idea?

  • You’re trying to use git from a limited or blocked connection?

  • No lock, no limit

  • James, you’ve solved your problem?

  • To find the proxy address by Chrome: chrome://net-internals/#proxy

  • Kkk already had to set up proxy in Windows git and I didn’t even think about it... Thank you!! It helped a lot! S2

Show 1 more comment

Browser other questions tagged

You are not signed in. Login or sign up in order to post.