Skip to content
GitLab
Next
    • Why GitLab
    • Pricing
    • Contact Sales
    • Explore
  • Why GitLab
  • Pricing
  • Contact Sales
  • Explore
  • Sign in
  • Get free trial
  • GitLab.org GitLab.org
  • GitLab FOSSGitLab FOSS
  • Issues
  • #12629

error: RPC failed; result=22, HTTP code = 500 fatal

I am getting the below error on doing "git push" operations

git push -f --tags test refs/heads/*:refs/heads/*
Counting objects: 103841, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (19270/19270), done.
Writing objects: 100% (103841/103841), 73.39 MiB | 84.69 MiB/s, done.41)
Total 103841 (delta 83034), reused 103839 (delta 83033)
error: fatal: RPC failed; result=22, HTTP code = 500
The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Everything up-to-date

I have found the error in the nginx error log file

2016/01/22 18:11:32 [error] 4101#0: *31 readv() failed (104: Connection reset by peer) while reading upstream, client: x.x.x.x, server: server.example.com, request: "POST /frameworks/core.git/git-receive-pack HTTP/1.1", upstream: "http://unix:/var/opt/gitlab/gitlab-workhorse/socket:/frameworks/core.git/git-receive-pack", host: "server.example.com"
Assignee
Assign to
Time tracking