by Kevin Schroeder | 7:53 am

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.

Tags:

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” […]

Nov 04.2011 | 01:20 pm

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” […]

Nov 04.2011 | 01:59 pm

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” […]

Nov 04.2011 | 11:20 pm

cbacelar

thank you thank you thank you

Jan 31.2012 | 12:14 pm

Leave a Reply

Your email address will not be published. Required fields are marked *