git push错误:RPC失败; result = 56,HTTP代码= 0

xia*_*wan 29 git

详细信息:

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
Run Code Online (Sandbox Code Playgroud)
  1. 已经设定git config http.postBuffer 524288000,仍然是错误;
  2. 只有HTTPS验证,没有SSH

Ros*_*han 57

问题很可能是因为你的git缓冲区太低了.

您需要通过设置来增加Git的HTTP缓冲区.

git config --global http.postBuffer 2M
Run Code Online (Sandbox Code Playgroud)

  • 你解决了吗?我有同样的错误 (9认同)
  • 设置了git config http.postBuffer 524288000,仍然是错误; (6认同)
  • 在我的情况下,只解决了禁用卡巴斯基AV NDIS 6过滤器.自2007年以来,许多人使用该过滤器报告了许多网络问题. (2认同)
  • 我解决了:git config --global http.postBuffer 12M (2认同)