1. Bitbucket
  2. Public Issue Tracker
  3. master
  4. Issues

Issues

Issue #7567 invalid

git push remote end hung up

AppEatite
created an issue

The results of the above command you posted is the following MacBook-Pro:Mainrepo.git username$ git push -u origin --all --verbose Pushing to ssh://git@bitbucket.org/NAMEOFGIT.git Counting objects: 600, done. Delta compression using up to 8 threads. Compressing objects: 100% (567/567), done. Received disconnect from 207.223.240.181: 2: Packet corrupt fatal: The remote end hung up unexpectedly error: pack-objects died of signal 13 error: failed to push some refs to 'ssh://git@bitbucket.org/NAMEOFGIT.git'

I tried starting from a fresh repo and pushing changes and was unsuccessful there too. Following are the results user-64-9-235-121:.git username$ git push -u origin master Counting objects: 865, done. Delta compression using up to 8 threads. Compressing objects: 100% (856/856), done. Received disconnect from 207.223.240.182: 2: Packet corrupt fatal: The remote end hung up unexpectedly error: pack-objects died of signal 13 error: failed to push some refs to 'ssh://git@bitbucket.org/NameOfREpo.git'

This was on Mac OS X 10.8 using iTerm2 , if that makes any difference.

Comments (37)

  1. Travis Bennett

    I'm getting this issue now too. This is happening to a new repo that I just created. My repo is only 11MB. Don't know what's going on.

    count: 1064 size: 11.25 MiB in-pack: 0 packs: 0 size-pack: 0 bytes prune-packable: 0 garbage: 0 size-garbage: 0 bytes

  2. Aqeel Aslam

    I got the same issue today. While searching for a solution, i came across this where a principle engineer from Atlassian asked for details to be reported to Bitbucket support, so I did.

    Waiting for their response now.

  3. Aqeel Aslam

    I received a response from support asking me if I was behind a firewall or proxy which I wasn't. But just as a hint from their query, I thought to change my ISP ( Internet Service Provider) and give it a try, and it worked. Strange but just posting here if it helps anyone else.

  4. David Peck

    Same here. I'm using SSH in case that matters.

    Received disconnect from 104.192.143.1: 2: Packet corrupt

    fatal: sha1 file '<stdout>' write error: Invalid argument

    fatal: The remote end hung up unexpectedly

  5. Patrick Chin

    Got a similar error: Counting objects: 9, done.
    Delta compression using up to 8 threads.
    Compressing objects: 100% (9/9), done.
    Writing objects: 100% (9/9), 2.81 MiB | 4.35 MiB/s, done.
    Total 9 (delta 4), reused 0 (delta 0)
    Received disconnect from 104.192.143.2: 2: Packet corrupt
    fatal: The remote end hung up unexpectedly
    fatal: The remote end hung up unexpectedly

  6. Shih Hsi Alex Kuang

    I am using SSH too. Just happened to me today.... no idea why I can't push now Counting objects: 55, done. Delta compression using up to 4 threads. Compressing objects: 100% (48/48), done. Received disconnect from 104.192.143.1: 2: Packet corrupt fatal: The remote end hung up unexpectedly error: pack-objects died of signal 13 error: failed to push some refs to 'git@bitbucket.org:dotvici/tranuggle.git'

  7. Duncan Mortimer

    I'm also having this problem. As with Aqeel Aslam, when trying to push via ssh I get:

    Counting objects: 88, done.
    Delta compression using up to 4 threads.
    Compressing objects: 100% (88/88), done.
    Writing objects: 100% (88/88), 2.02 MiB | 0 bytes/s, done.
    Total 88 (delta 63), reused 0 (delta 0)
    Received disconnect from 104.192.143.3: 2: Packet corrupt
    Disconnected from 104.192.143.3
    fatal: The remote end hung up unexpectedly
    fatal: The remote end hung up unexpectedly
    

    Trying to push via https gives:

    Counting objects: 88, done.
    Delta compression using up to 4 threads.
    Compressing objects: 100% (88/88), done.
    Writing objects: 100% (88/88), 2.02 MiB | 0 bytes/s, done.
    Total 88 (delta 63), reused 0 (delta 0)
    error: RPC failed; result=56, HTTP code = 0
    fatal: The remote end hung up unexpectedly
    fatal: The remote end hung up unexpectedly
    Everything up-to-date
    

    Have tried increasing http.postBuffer.

  8. Brian Ramsey

    I am having the same difficulty, being new to Git I am thinking I am doing something wrong but I do not know what I possibly could be doing wrong, my webapp works fine, no corrupt files and keep getting this:

    Counting objects: 1855, done.
    Delta compression using up to 16 threads.
    Compressing objects: 100% (1500/1500), done.
    Received disconnect from 104.192.143.2: 2: Packet corrupt
    Disconnected from 104.192.143.2
    Wrfatal: The remote end hung up unexpectedly
    fatal: sha1 file '<stdout>' write error: Broken pipeKiB/s
    error: failed to push some refs to '(repo)'
    

    same kind of issue with LESS information, when trying to push HTTPS

  9. Ahmed Saidi

    Same issue here, i had to use SSH Tunneling to push the first time to this new project, on other projects pushing works without any proxy. Also github and heroku works without issue too.

    % proxychains git push -u origin master  
    ProxyChains-3.1 (http://proxychains.sf.net)
    |DNS-request| bitbucket.org 
    |S-chain|-<>-127.0.0.1:1080-<><>-4.2.2.2:53-<><>-OK
    |DNS-response| bitbucket.org is 104.192.143.3
    |S-chain|-<>-127.0.0.1:1080-<><>-104.192.143.3:22-<><>-OK
    Counting objects: 3388, done.
    Delta compression using up to 2 threads.
    Compressing objects: 100% (1089/1089), done.
    Writing objects: 100% (3388/3388), 2.79 MiB | 85.00 KiB/s, done.
    Total 3388 (delta 2312), reused 3343 (delta 2281)
    To git@bitbucket.org:username/web-app.git
     * [new branch]      master -> master
    Branch master set up to track remote branch master from origin.
    
  10. Tom Clarke

    Also experiencing this issue. Using SSH. 153 Objects, 8.06 MiB.

    Received disconnect from 104.192.143.3: 2: Packet corrupt 
    fatal: The remote end hung up unexpectedly
    error: pack-objects died of signal 13
    error: failed to push some refs to '<repo>.git'
    

    Strange thing is, I've managed to push the master branch (only one commit) but when I try to push develop I get this error.

  11. Dan Pacey

    Likewise same issue here

    Received disconnect from 104.192.143.2: 2: Packet corrupt
    Disconnected from 104.192.143.2
    fatal: The remote end hung up unexpectedly
    error: pack-objects died of signal 13
    error: failed to push some refs to '<repo>.git'
    
  12. David Peck

    I emailed and got this response:

    Hi David,
    There are no known issues at the moment, so we are assisting users on a case by case basis. If you could provide some details on your use case, I would be more than happy to take a look and assist.
    Cheers,
    Gary
    

    I'll let you know when/ if I get a resolution

  13. Владимир Коровин
    git push -u origin master
    Counting objects: 7051, done.
    Connection to bitbucket.org closed by remote host.
    fatal: The remote end hung up unexpectedly
    Compressing objects: 100% (6906/6906), done.
    error: pack-objects died of signal 13
    error: pack-objects died with strange error
    error: failed to push some refs to '<repo>.git'
    
  14. Zafer Celaloglu

    same issue here

    Counting objects: 601, done.
    Delta compression using up to 4 threads.
    Compressing objects: 100% (559/559), done.
    Received disconnect from 104.192.143.2: 2: Packet corrupt    
    Disconnected from 104.192.143.2
    fatal: The remote end hung up unexpectedly
    error: pack-objects died of signal 13
    error: failed to push some refs to xxx
    
  15. Michael Bateman

    Counting objects: 1826, done. Delta compression using up to 4 threads. Compressing objects: 100% (1687/1687), done. Writing objects: 100% (1807/1807), 40.68 MiB | 4.71 MiB/s, done. Total 1807 (delta 339), reused 0 (delta 0) error: RPC failed; result=56, HTTP code = 0 fatal: The remote end hung up unexpectedly fatal: The remote end hung up unexpectedly Everything up-to-date

    Keeps hanging up whatever I do.

  16. Damon Nomad

    git push -u origin --all Counting objects: 22097, done. Delta compression using up to 4 threads. Compressing objects: 100% (20319/20319), done. Received disconnect from 104.192.143.3: 2: Packet corrupt
    fatal: The remote end hung up unexpectedly fatal: sha1 file '<stdout>' write error: Broken pipe error: failed to push some refs to 'git@bitbucket.org:NomadKG/aislod.git' Same problem happened to me...

  17. ünal zubari

    I am using sourcetree on MAC Os X El Capitan I have the same issue, I have tried both https and ssh, both are failed, with different error codes. https faild with error SSLRead() -9820 error ssh failed with, Received disconnect from 104.192.143.3: 2: Packet corrupt
    Disconnected from 104.192.143.3 fatal: The remote end hung up unexpectedly error: pack-objects died of signal 13

  18. WangTao110

    I am using windows ,I don't know why? Received disconnect from 104.192.143.2: 2: Packet corrupt Disconnected from 104.192.143.2 fatal: sha1 file '<stdout>' write error: Broken pipe fatal: The remote end hung up unexpectedly

  19. Jorge Morales

    I'm having this issue in the mac version.

    Exact same as ünal zubari

    I tried Daz's suggestion but no joy. What helped was deleting my local .git folder, and deleting the remote repository and making it all anew. Not the optimal solution for all use cases, I know, but it fixed it, or worked after that. No more packat corrupt error or broken pipes...

  20. Log in to comment