git push error: RPC failed; result=56, HTTP code = 0
Username for 'https://xiangwan.visualstudio.com': xiangwan Password for 'https://email@example.com': Counting objects: 85, done. Delta compression using up to 4 threads. Compressing objects: 100% (58/58), done. Writing objects: 100% (63/63), 20.67 KiB | 0 bytes/s, done. Total 63 (delta 26), reused 1 (delta 0) error: RPC failed; result=56, HTTP code = 0 fatal: The remote end hung up unexpectedly fatal: The remote end hung up unexpectedly Everything up-to-date
- has set
git config http.postBuffer 524288000, still the error;
- Only HTTPS authenticate, no SSH
One Solution collect form web for “git push error: RPC failed; result=56, HTTP code = 0”
The problem is most likely because your git buffer is too low.
You will need to increase Git’s HTTP buffer by setting.
git config --global http.postBuffer 2M