Git error: RPC failed; result=22, HTTP code = 411

Workaround:
###git config http.postBuffer 524288000

root@colinbsd2:/usr/home/colin/githubbak/122614/flask # git push -u origin master
Username for ‘http://git.hwcdi.com:8081’:
Password for ‘http://colin@git.hwcdi.com:8081’:
Counting objects: 1043, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (690/690), done.
error: RPC failed; result=22, HTTP code = 411
fatal: The remote end hung up unexpectedly
Writing objects: 100% (1043/1043), 10.08 MiB | 0 bytes/s, done.
Total 1043 (delta 303), reused 1043 (delta 303)
fatal: The remote end hung up unexpectedly
Everything up-to-date
root@colinbsd2:/usr/home/colin/githubbak/122614/flask # git config http.postBuffer 524288000
root@colinbsd2:/usr/home/colin/githubbak/122614/flask # git push -u origin master
Username for ‘http://git.hwcdi.com:8081’:
Password for ‘http://colin@git.hwcdi.com:8081’:
Counting objects: 1043, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (690/690), done.
Writing objects: 100% (1043/1043), 10.08 MiB | 0 bytes/s, done.
Total 1043 (delta 303), reused 1043 (delta 303)
To http://git.hwcdi.com:8081/colin/flask.git
* [new branch] master -> master
Branch master set up to track remote branch master from origin

Leave a Reply

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