0

When try to clone a project using the git clone command I got this following error message.

Failed to connect to github.com port 443: Time out 
Skitty
  • 1,709
  • 18
  • 21
  • I have the same problem. I think something is wrong with github servers – Paweł Reszka Aug 25 '15 at 10:57
  • Yes I found this a DDoS attack. https://status.github.com/ – Skitty Aug 25 '15 at 10:59
  • Same problem here fatal: unable to access 'https://xxxx.git/': Unknown SSL protocol error in connection to github.com:443 – leo Aug 25 '15 at 11:20
  • Does this answer your question? [Failed to connect to github.com port 443: Connection timed out](https://stackoverflow.com/questions/61893178/failed-to-connect-to-github-com-port-443-connection-timed-out) – Shiru99 Feb 20 '23 at 10:18

2 Answers2

0

DDoS attack check this link https://status.github.com/

The connectivity problems have been identified as a DDoS attack. We're working to mitigate now.

Skitty
  • 1,709
  • 18
  • 21
0

Make sure that you have used

$ git remote add origin git@github.com:**yourname**/learngit.git

to connect your local repository to github.

If you find the following error:

fatal: remote origin already exists.

Then write the following statement in your git bash.

$ git remote rm origin

then write again to re-connect your repository to GitHub.

$ git remote add origin git@github.com:**yourname**/learngit.git

If the above steps can not help you, there must be some ssh errors I think.

eli-k
  • 10,898
  • 11
  • 40
  • 44
Xiaoke Mao
  • 13
  • 4