Git Push fails with 'receive-pack did not complete' error in the logs

Troubleshooting Git

On this page

Still need help?

The Atlassian Community is here for you.

Ask the community


Whenever user tries to perform a 'git push' operation from his/her client, the git push process fails and following appears in the atlassian-stash.log:

WARN [ssh-scm-request-handler] rdvelz 881x2289385x2 q6lyyi SSH - git-receive-pack '/badp/core.git' c.a.s.i.s.g.p.ssh.GitSshScmRequest receive-pack did not complete


Most likely this issue is caused by a plugin called  Reject Merge Commits Hook if the repository contains many branches, commits..


You will need to disable Reject Merge Commits Hook plugin in Stash 

Last modified on Mar 30, 2016

Was this helpful?

Provide feedback about this article
Powered by Confluence and Scroll Viewport.