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

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

  • git: how to re-order (severely) a commit sequence
  • git-svn - cloned a single branch, now dcommit to another branch?
  • TFS / Visual Studio 2015 : how to compare file changes between 2 commits
  • git cat-file -p master^{tree} errors out in zsh
  • How force NPM to get the last commit of package from repo with master?
  • Falling back to rsync, etc if git isn't found
  • Git Logs and Control per user
  • How to view the full commit diff in tig when viewing the diff for a single file?
  • Why Git fail to connect to local repository with Jenkins (bad config file)?
  • npm notice created a lockfile as package-lock.json. You should commit this file
  • For how long can you restore/recover a deleted branch on GitHub?
  • M Gemfile. What does this mean?
  • 5 Solutions collect form web for “Git error: RPC failed; result=55, HTTP code = 200”

    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.

    Change protocol git from https to ssh will resolve this problem.
    This is guide using for bitbucket

    In my case this was due to a GNUtls error, which showed up after running

     GIT_CURL_VERBOSE=1 git clone https:<URL>

    The workaround that worked for me was to build git using the openssl library instead of gnutls. For Ubuntu systems this link offers a way of achieving this.

    It is worth noting that I’m behind a company proxy, and this may be triggering the problem.

    Some info on the error here:

    (from the linked article) Try this command to get more info about your error:

    GIT_CURL_VERBOSE=1 git push

    This is an odd error. I’m actually getting the same when I push a large repo to GitHub. However, error 55 is a CURL error, it’s basically a problem transmitting data over the network. The kicker is that if the data wasn’t sent correctly, how does CURL get a 200 response?

    My only conclusion is I’m using a proxy and that the proxy is returning a 200 response to git, but the proxy itself had issues sending the data. I’m afraid this is an educated guess, but if you can use SSH then you’ll obviously bypass the dodgy proxy so I’d say this is the best workaround.

    Git Baby is a git and github fan, let's start git clone.