Git Push fails with 'receive-pack did not complete' error in the logs
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Symptoms
Whenever user tries to perform a 'git push' operation from his/her client, the git push process fails and following appears in the atlassian-bitbucket.log
:
1
WARN [ssh-scm-request-handler] rdvelz 881x2289385x2 q6lyyi 10.101.160.50 SSH - git-receive-pack '/badp/core.git' c.a.s.i.s.g.p.ssh.GitSshScmRequest receive-pack did not complete
Cause
Most likely this issue is caused by a plugin called Reject Merge Commits Hook if the repository contains many branches, commits..
Workaround
You will need to disable Reject Merge Commits Hook plugin in Bitbucket Server
Was this helpful?