Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why am I getting this error: "remote end hung up unexpectedly"?

Tags:

git

$ git push -u origin master   
Counting objects: 321523, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (85111/85111), done.
error: RPC failed; curl 55 SSL_write() returned SYSCALL, errno = 10053
fatal: The remote end hung up unexpectedly
Writing objects: 100% (321523/321523), 4.29 GiB | 17.11 MiB/s, done.
Total 321523 (delta 159406), reused 320112 (delta 158718)
fatal: The remote end hung up unexpectedly
Everything up-to-date
like image 513
gsajwan Avatar asked Apr 04 '16 18:04

gsajwan


2 Answers

Well, this is caused by some bad network status or some large files included in your commit. In my case, I have tried after some mins, it worked.

So I suggest you should do push several times in some intervals, or increase buffer size and then try to push again?

git config --global http.postBuffer 15728640
like image 135
Codemole Avatar answered Oct 16 '22 16:10

Codemole


After about 3 hours of trying, the problem was solved after using a VPN

like image 20
Mohamed Medhat Avatar answered Oct 16 '22 16:10

Mohamed Medhat