Git推送错误:RPC失败;结果=56,HTTP代码=200致命错误:远程端意外挂断

55

推送 Git 时,我收到了以下错误信息:

Username for 'https://github.com': Newbie
Password for 'https://Newbie@github.com':
Counting objects: 11507, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (8210/8210), done.
Writing objects: 100% (11506/11506), 21.75 MiB | 0 bytes/s, done.
Total 11506 (delta 2213), reused 11504 (delta 2211)
efrror: RPC failed; result=56, HTTP code = 200
atal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Everything up-to-date

我尝试执行以下命令:git config http.postBuffer 524288000,但仍然出现错误... 还尝试了:git config --global http.postBuffer 2M,参考git push error: RPC failed; result=56, HTTP code = 0 请问有人可以帮帮我吗?


我遇到了完全相同的错误。通过使用GIT_CURL_VERBOSE=1,我得到了以下额外的细节:SSL读取:错误:00000000:lib(0):func(0):reason(0),errno 10054。 - Yag
@新手,你解决了上面的问题吗?我也遇到了同样的错误。 - Giresh
12个回答

0

我尝试将curl更新到最新版本,效果非常棒,对我很有效。


0

你可以试试这个,也许这段代码能够正常工作

git config http.sslVersion tlsv1.2

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接