30

Detailed info:

Username for 'https://xiangwan.visualstudio.com': xiangwan
Password for 'https://xiangwan@xiangwan.visualstudio.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
  1. has set git config http.postBuffer 524288000, still the error;
  2. Only HTTPS authenticate, no SSH
Passerby
  • 9,715
  • 2
  • 33
  • 50
xiangwan
  • 301
  • 1
  • 3
  • 5
  • 1
    try to do GIT_CURL_VERBOSE=1 git push and check the error. More info: https://confluence.atlassian.com/pages/viewpage.action?pageId=301663267 – Daviddd Feb 27 '14 at 13:06
  • In my case only solved disabling Kaspersky AV NDIS 6 Filter. Many network problems were reported by a lot of peoples with that filter since 2007. – Rtisatto Jul 24 '14 at 23:49
  • DIFFERENT solution to same problem! Workaround for [Atlassian Stash](http://stackoverflow.com/a/40504705/1606872) – Matt and Neil Nov 09 '16 at 10:26

1 Answers1

58

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
Roshan
  • 1,459
  • 1
  • 14
  • 20