If you are using phpcloud.com and are experiencing errors with git that look like this
git push
Password:
Counting objects: 722, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (711/711), done.
error: RPC failed; result=22, HTTP code = 411
fatal: The remote end hung up unexpectedly
Writing objects: 100% (719/719), 1.34 MiB | 1.32 MiB/s, done.
Total 719 (delta 340), reused 0 (delta 0)
fatal: The remote end hung up unexpectedly
Iatal: expected ok/error, helper said ‘2004??LEOx?nq?; <
|DP?n,?U?EԎs?m?WX?G?Tl??jA?/?’
and you are trying to push large files (not sure what is defined as “large”) you may need to change some git settings.
on Windows use
[http]
postBuffer = 524288000
On Linux use
git config http.postBuffer 524288000
This is thanks to Boaz. He posted the solution on our GetSatisfaction page.
Comments
Development Blog With Code Updates : Developercast.com » Kevin Schroeder’s Blog: fatal: The remote end hung up unexpectedly » Development Blog With Code Updates : Developercast.com
[…] Schroeder has a quick tip for anyone using phpcloud.com and having trouble with git and “remote end hung up” […]
Kevin Schröder Blog: fatal: Die Remote-Ende aufgehängt unerwartet | PHP Boutique
[…] Schroeder hat eine schnellen Tipp für jemand mit phpcloud.com und habe Probleme mit git und “remote Ende aufgehängt” […]
Kevin Schroeder’s Blog: fatal: The remote end hung up unexpectedly
[…] Schroeder has a quick tip for anyone using phpcloud.com and having trouble with git and “remote end hung up” […]
cbacelar
thank you thank you thank you