Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Git push failing HTTP 500 curl 22 The requested URL returned error: 500 Internal Server Error

I have just setup git with bit bucket for my windows machine.

Git pull works properly, where as git push fails with below error.

$ git push
Counting objects: 10, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (10/10), done.
Writing objects: 100% (10/10), 174.03 KiB | 0 bytes/s, done.
Total 10 (delta 6), reused 0 (delta 0)
error: RPC failed; HTTP 500 curl 22 The requested URL returned error: 500 Internal Server Error
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Everything up-to-date

Any help is of great use.

Thanks

like image 913
Inayathulla Avatar asked Jun 27 '17 12:06

Inayathulla


2 Answers

Increase the Git buffer size to the largest individual file size of your repo:

git config --global http.postBuffer 157286400
like image 190
Praveen Govind Avatar answered Sep 16 '22 13:09

Praveen Govind


This happened to me because I had a no space left on device error...my server hard drive was full and could not write any files !

like image 21
TOPKAT Avatar answered Sep 20 '22 13:09

TOPKAT