Reputation: 65
I have encountered a strange problem.
ssh
to git clone from remote repository, it always report fatal error:And there is a transient connection, but it always seems to be disconnected after 7%.
https
to git clone from remote repository, it work fine.I have google it and try some solutions to similar problems, but they do not work. I also try debug git process, but it seems that there is no useful information.
And it only occur when I use git clone
. Once I have cloned repository to local, it work fine when I use git pull
and git push
.
This error really make me exhausted. I would appreciate it if someone can help me resolve this problem. Thanks a lot.
By the way, My OS info is followed:
Sorry, my reputation value is too low, so I cannot post image in the page.
Upvotes: 4
Views: 12949
Reputation: 103
I had this issue and found out if I disabled the ethernet and only used wifi the issue went away. I've suspected something is wrong with my ethernet port as it won't stay negotiated at 1Gb and always falls back to 100 Mb.
Upvotes: 1