trying to clone a repository via the command line, but getting a timeout message.... #181054
Replies: 1 comment
-
|
This usually happens because of the protocol you’re using rather than DNS or basic connectivity. You’re cloning with: The git:// protocol (port 9418) is often blocked by firewalls/proxies, and GitHub have effectively moved everyone towards HTTPS/SSH instead. That’s why you can still ping github.com (ICMP is allowed), but the clone over git:// times out. Try cloning over HTTPS instead: If that works, you can tell Git to always use HTTPS instead of git:// for GitHub: If you have SSH keys set up, you can also use: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Discussion Type
Question
Discussion Content
Good day - I am trying clone a repo using the command line, but keep on getting this response:
git clone git://github.com/Xilinx/qemu-devicetrees.git
Cloning into 'qemu-devicetrees'...
fatal: unable to connect to github.com:
github.com[0: 20.87.245.0]: errno=Connection timed out
// I can ping and resolve the github.com domain:
ping github.com
PING github.com (140.82.121.4) 56(84) bytes of data.
64 bytes from lb-140-82-121-4-fra.github.com (140.82.121.4): icmp_seq=1 ttl=48 time=418 ms
64 bytes from lb-140-82-121-4-fra.github.com (140.82.121.4): icmp_seq=2 ttl=48 time=317 ms
64 bytes from lb-140-82-121-4-fra.github.com (140.82.121.4): icmp_seq=3 ttl=48 time=182 ms
any ideas? thank you!
Beta Was this translation helpful? Give feedback.
All reactions