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

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-stash.log:

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 Stash 

Last modified on Mar 30, 2016

Was this helpful?

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