Create
cancel
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

fatal: the remote end hung up unexpectedly fatal: early EOF fatal: index-pack failed

Error produced in Sourcetree...

git -c filter.lfs.smudge= -c filter.lfs.required=false -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks clone --branch master https://Gary.Herber@bitbucketdev.gdit.com/scm/gdit/gditdba_repo.git C:\bit9prog\dev\gditdba_repo
Cloning into 'C:\bit9prog\dev\gditdba_repo'...
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
fatal: the remote end hung up unexpectedly

fatal: early EOF
fatal: index-pack failed
Completed with errors, see above.

 

So far nothing has worked, other repos on this server can be cloned...

 

1 answer

Here is the answer that was developed. First the repo was large; on the order of 4gb and that was too much for git in the default configuration. So first reduced the size of the repo by getting all the redundant CIs removed and removing the the 3rd party software packages that the team was 'storing' in Bitbucket. Then have the team switch from https to ssh. Ssh seems to be able to handle the larger chunks of data better than https. We also set 'git config --global core.compression=0', this helped some wasn't enough by itself. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
6.7.2
TAGS
Community showcase
Published in Bitbucket

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

184 views 2 4
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