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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

The remote end hung up unexpectedly


Hi Team,

While try to clone our private  repository to local we are getting issue. after counting and compressing objects issue was coming

cloning  was getting failed coming below issue.

fatal: The remote end hung up unexpectedly fatal: early EOF fatal: index-pack failedbitbucket issuse.PNG

1 answer

1 accepted

7 votes
Answer accepted
Ana Retamal Atlassian Team Jun 01, 2018

Hi Vamsi! This error indicates that something has interrupted your traffic. It doesn't really say what caused the interruption - whether it was Bitbucket, or something on your local network, or something else. From experience, in many cases this has been caused by network bandwidth. You can try using a different network and if that still doesn't work, you could do

git config --global core.compression 1

where 1 means "fastest compression".

If the issue is still not solved after that, let us know if this also happens when you perform other operations (push, pull, etc.) and whether you're using SSH or HTTPS.

Kind regards,


Hi @Ana Retamal

Thanks for the quick solution, after applying provided command in git bash clone was performing successfully,

git config --global core.compression 1


Vamsi Mandadapu

+1 this worked for me, as well. 

Like # people like this

it worked for me, thanks

Hi, I am facing the same issue and the suggested solution does not work. I am  using SSH. I could not verify push or pull since I couldn't clone the repository at all. Any other workaround?

Like Ctzion likes this

My action is pull for cloning, I have tried the above command, but the error remains. I am using https. 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,827 views 10 16
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you