Remote end hung up unexpectedly, expected ok/error, helper said ‘2004�qփ��’�▒

I found this weird error while pushing my git to github!

[dz supernova-kernel]$ git push -f github master
Username:
Password:
Counting objects: 1704, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (956/956), done.
error: RPC failed; result=22, HTTP code = 411
fatal: The remote end hung up unexpectedly
Writing objects: 100% (1437/1437), 14.49 MiB, done.
Total 1437 (delta 364), reused 1099 (delta 243)
fatal: The remote end hung up unexpectedly
B��"]2 expected ok/error, helper said '2004�qփ��'�▒
$R��Ig��シ���[�0��▒PP5t4��P'[/code]

Reason: Too small http post buffer

Fix:

git config http.postBuffer 524288000[/code]

dz supernova-kernel]$ git config http.postBuffer 524288000
[dz supernova-kernel]$ git push -f github master
Username:
Password:
Counting objects: 1704, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (956/956), done.
Writing objects: 100% (1437/1437), 14.49 MiB, done.
Total 1437 (delta 364), reused 1099 (delta 243)
To http://github.com/droidzone/Supernova-Kernel.git
78dab9a..eb8e182 master -> master[/code]


You are reading this post on Joel G Mathew’s tech blog. Joel's personal blog is the Eyrie, hosted here.

Comments

  1. Helped a lot,

    Thanks !

  2. Rovin Bhandari says:

    This was quite useful. Thanks!

  3. I’m glad. 🙂