Reputation: 31
I am getting the below error while cloning my repository:
Gurudas@Gurudas MINGW64 /e/Python/Python Programs (master)
$ git clone https://github.com/Anu1996rag/Python_Basics.git
Cloning into 'Python_Basics'...
fatal: unable to access 'https://github.com/Anu1996rag/Python_Basics.git/': getaddrinfo() thread failed to start
What can I do to fix this error?
Upvotes: 3
Views: 7204
Reputation: 71
Checked the firewall, turned it off, and tried to sign out from GitHub on my local machine, but all these steps didn't help me.
Just restarted my PC and now everything works perfectly :)
Upvotes: 0
Reputation: 346
I had the same problem, and in my case solved this by updating git version from 2.41.0
to 2.42.0
on Windows. Try updating maybe it's work for you too.
Upvotes: 0
Reputation: 1328712
MINGW64
means a git bash
session on Windows.
Check your git config http.proxy
output as well as your echo $HTTP_PROXY
output, to check if you have any proxy defined.
Check also if an SSH URL would work (provided you have configured first an SSH key , using ssh-keygen -t rsa -P "" -m PEM
, and added the public one id_rsa.pub
to your GitHub account)
git clone [email protected]:Anu1996rag/Python_Basics
Upvotes: 2