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

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]

Joel G Mathew

Joel G Mathew, known in tech circles by the pseudonym Droidzone, is an Android and Linux enthusiast.

His favorite pastime is grappling with GNU compilers, discovering newer Linux secrets, writing scripts, hacking roms, and programs (nothing illegal), reading, blogging. and testing out the latest gadgets.

When away from the tech world, Joel is a practising ENT Surgeon.

3 Replies to “Remote end hung up unexpectedly, expected ok/error, helper said ‘2004�qփ��’�▒”

Comments are closed.