git push error: RPC failed; HTTP 500 curl 22 The requested URL returned error: 500

Viewed 989

When I want to push some files, I get the following error. Just some files look like this.

$ git push
Enumerating objects: 37, done.
Counting objects: 100% (37/37), done.
Delta compression using up to 8 threads
Compressing objects: 100% (24/24), done.
Writing objects: 100% (26/26), 7.62 KiB | 1.52 MiB/s, done.
Total 26 (delta 11), reused 0 (delta 0), pack-reused 0
error: RPC failed; HTTP 500 curl 22 The requested URL returned error: 500
fatal: the remote end hung up unexpectedly
fatal: the remote end hung up unexpectedly
Everything up-to-date

The following command did not help.

git config --global http.postBuffer 157286400

This did not help either.

git gc
git fsck
1 Answers

I do not know how to check. I do not access to server.

That is the actual issue, because the server is actively erroring on its side.

If said server was, for instance, github.com, you would have access to githubstatus.com in order to check what is going on.

But if it is an on-premise Git repository hosting service (a self-managed GitLab or a Gitea), then you need to contact the administrator, and report this incident.


The OP ali m adds in the comments:

We use Azure DevOps.

Indeed: status.dev.azure.com/_history shows:

"Availability Degradation in South India."

The issue is now fully mitigated. Our engineers will be investigating this further to learn from and reduce the risk of potential recurrences.
We apologize for the impact this had on our customers.

So try again, and see if the issue persists.

Related