Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Git push error: RPC failed: curl 52

Tags:

git

ubuntu

git push fails with following error

fatal: RPC failed: curl 52: Empty reply from server

The upload succeeds in case only one file was modified, added or deleted.

The following settings to don't work reliably

 git config --global --add core.compression -1

The git version is 2.8.2 running on ubuntu 14.04, and I have tried with both openssl and gnutls compilations.

ssh remotes also fail.

The problem is encountered with repositories of

bitbucket
github
gitlab

Fail safe answers appreciated

like image 526
sulimo Avatar asked May 07 '16 06:05

sulimo


1 Answers

In terminal use sudo to clone, or type:

git config --global http.postBuffer 157286400

its worked for me

like image 157
Eduardo Oliveros Avatar answered Oct 11 '22 16:10

Eduardo Oliveros