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

What does error "Result=52 The remote end hung up unexpectedly" after Git Pull mean?

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!
June 29, 2022

Hello everybody,
I'm attempting to pull code from a bitbucket repo.
When running a simple git pull command, I'm prompted for my BitBucket credentials
After entering my credentials I run into this error:

"Error: RPC failed; result=52, HTTP code = 0
fatal: The remote end hung up unexpectedly"

I'm certain the remote origin URL correctly points to my bitbucket repo.
I'm also certain my bitbucket credentials are correct.

From what I've seen in other forums, one accepted answer suggested this error stems from internal bitbucket server errors. Could that be?
Has anyone here run into this error before? 
Any advice or suggestion is greatly appreciated! Thanks in advance!

1 answer

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 29, 2022

Welcome to the Atlassian Community!

I'm afraid your other forums are probably wrong.  This error is usually caused by hosting large files in git, ones that are too big for the buffer.  You can also get it if the remote git repository is slow (often down to network slowness) and can't deliver the file in time.

Try increasing the size of the git buffer -

git config http.postBuffer 520000000

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events