Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Need help to resolve early fatal failed in git bitbucket

Chaitra
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 15, 2019

Team, Can you please help us to resolve while pulling the code from git atlassian bit bucket using git bash and source tree we are getting early index failed fatal error and using tortoise git it gives pack truncated.

I increased the buffer size and tried still same erorr it goes till 52% then it throws the below error.

Please find the below attached screenshot of the error

fatal:early EOF

fatal: the remote end hung up unexpectedly

faltal:index-pack failed

 

 

 

1 answer

0 votes
Stephen Sifers
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 18, 2019

Hello Chaitra and welcome to the Community!

Thank you for providing information about how you’re using the product along with the error you see when the issue occurs.

To clarify, you’re having this issue on the Bitbucket cloud product, and the error is prompted locally on your end. With this said, there is a StackOverflow thread which covers this same error and event. You may find the reference thread here at StackOverFlow | fatal: early EOF fatal: index-pack failed which explains to do the following:

First, turn off compression:

git config --global core.compression 0

Next, let's do a partial clone to truncate the amount of info coming down:

git clone --depth 1 <repo_URI>

When that works, go into the new directory and retrieve the rest of the clone:

git fetch --unshallow

or, alternately,

git fetch --depth=2147483647

Now, do a regular pull:

git pull --all

I think there is a glitch with msysgit in the 1.8.x versions that exacerbates these symptoms, so another option is to try with an earlier version of git (<= 1.8.3, I think).

Additionally, if your using Bitbucket server you may want to review Git Clone Fails - fatal: The remote end hung up unexpectedly. fatal: early EOF fatal: index-pack failed which covers the error message you have for the server products.

Please let us know if either of these assisted with resolving the issue or if your error is still present.

Regards,
Stephen Sifers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events