Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why does git push fails with "Operation timed out"?

Tags:

git

git-push

MacMini $ git push origin master
Counting objects: 1916, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (1751/1751), done.
Read from remote host codebasehq.com: Operation timed out
fatal: The remote end hung up unexpectedly
error: pack-objects died of signal 13
error: pack-objects died with strange error
error: failed to push some refs to '[email protected]:xx/xx/xx.git'
like image 984
Simon Avatar asked Jun 29 '10 12:06

Simon


1 Answers

Contemporary UTM firewalls can mess with outgoing data if they falsely identify traces of malware, packed data, or insecure commands in the stream... and these false alarms happen pretty frequently. Such security devices on your network or the destination side could explain why some projects push up okay and others are dropping the connection.

If that's the case, you may avoid the trigger if you use a different protocol for this connection, e.g. ssh:// or https:// instead of git://.

like image 89
ewall Avatar answered Sep 30 '22 02:09

ewall