Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Git error: RPC failed; result=55, HTTP code = 200

Tags:

git

What's the matter with git?

$ git push
Counting objects: 1431, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (1326/1326), done.
Writing objects: 100% (1429/1429), 131.94 MiB | 15.41 MiB/s, done.
Total 1429 (delta 630), reused 0 (delta 0)
error: RPC failed; result=55, HTTP code = 200
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Everything up-to-date
like image 374
Yishu Fang Avatar asked Dec 15 '22 03:12

Yishu Fang


2 Answers

We experienced this issue recently but none of the above solved it. In the end we pushed patches a few at a time (binary chop) until we found that one was causing the problem.

The version of Git on the server was older than our local Git and did not support one of the headers in the commit.

An easy way to see if this affects you is to run git fsck in your repository directory. This will report any potential issues.

like image 169
mrtimuk Avatar answered Dec 23 '22 08:12

mrtimuk


Change protocol git from https to ssh will resolve this problem. This is guide using for bitbucket https://confluence.atlassian.com/display/BITBUCKET/Set+up+SSH+for+Git

like image 28
cuasodayleo Avatar answered Dec 23 '22 07:12

cuasodayleo