Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

git hanging on push (broken pipe)

Deleted user June 20, 2013

I've been experiencing issues with git in combination with the bitbucket.org service lately.

I recently installed a new version of Ubuntu (after wiping completely). At first I have copied the ssh keys, but since I thought that this might cause issues, I generated a new pair and copied the new public key to bitbucket.org. The old keys are removed now.

This is what I get on `git push`

Counting objects: 44, done.
    Delta compression using up to 2 threads.
    Compressing objects: 100% (33/33), done.
    Writing objects: 100% (33/33), 3.33 KiB, done.
    Total 33 (delta 25), reused 0 (delta 0)

At this point it takes (not actually) forever to finally display:

Write failed: Broken pipe
    fatal: The remote end hung up unexpectedly
    fatal: recursion detected in die handler

This is my configuration shown by `git remote show origin`

* remote origin
      Fetch URL: git@bitbucket.org:Username/name_of_repo.git
      Push  URL: git@bitbucket.org:Username/name_of_repo.git
      HEAD branch: master
      Remote branch:
        master tracked
      Local branch configured for 'git pull':
        master merges with remote master
      Local ref configured for 'git push':
        master pushes to master (fast-forwardable)

A `git pull` gives "Already up-to-date." as expected.

Output of `git fsck` is

Checking object directories: 100% (256/256), done.
    Checking objects: 100% (468/468), done.

A very small push previously succeeded, the changeset I'm trying to push now is a bit larger, but only covers around 10 files, which never were a problem before reinstalling the OS.

What can cause these issues? It's not the bitbucket.org service right now as a colleague of mine can do actions on his machine (on the same wireless network).

This only happens when trying to push over `ssh`, but not with `https`

( I asked this question on stackoverflow.com too )

2 answers

0 votes
aMarcus
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 6, 2013

Can you send us your URL to support.atlassian.com. I'd like to take a look at your repo to ensure there aren't any issues server side.

0 votes
aMarcus
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 6, 2013

Can you send us your URL to support.atlassian.com. I'd like to take a look at your repo to ensure there aren't any issues server side.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events