3

I am using git over hamachi vpn and am able to clone the remote repository.

However, git pull/fetch fails after hanging for a long time. The error message displayed is:

Write failed: Broken pipe                                                                                      
fatal: The remote end hung up unexpectedly 

Can anyone guess whats happening?

sud03r
  • 181

2 Answers2

0

Git push fails with

fatal: The remote end hung up unexpectedly

If, when attempting git push, you get a message that says:

fatal: The remote end hung up unexpectedly

There are a couple of reasons for that, but the most common is that authorization failed. You might be using a git:// URL to push, which has no authorization whatsoever and hence has write access disabled by default. Or you might be using an ssh URL, but either your public key was not installed correctly, or your account does not have write access to that repository/branch.

Giacomo1968
  • 58,727
wizlog
  • 13,573
-1

I had the same problem and resolved it with this command:

echo 1400 > /sys/class/net/eth0/mtu
fixer1234
  • 28,064