2015-05-07 91 views
4

我已在跟隨記錄時我推到githubGit錯誤:RPC失敗;結果= 52,HTTP代碼= 0

Counting objects: 70, done. 
Delta compression using up to 2 threads. 
Compressing objects: 100% (69/69), done. 
Writing objects: 100% (70/70), 16.72 KiB | 0 bytes/s, done. 
Total 70 (delta 37), reused 1 (delta 0) 
error: RPC failed; result=52, HTTP code = 0 
fatal: The remote end hung up unexpectedly 
fatal: The remote end hung up unexpectedly 
Everything up-to-date 

我嘗試:

  • git config --global http.postBuffer 2M
  • git config --global http.postBuffer 524288000
  • 我的連接已經結束ethernet
  • 我3天前就有問題了。
  • 我的git --version是"git version 2.4.0"
  • 我沒有防火牆
  • 另外,我無法使用SSH
+0

你能複製包括你發出的命令在內的整個錯誤嗎?返回錯誤代碼52意味着'CURLE_GOT_NOTHING(52) 服務器沒有返回任何內容,並且在這種情況下,什麼都不會被認爲是錯誤。 ' – FractalSpace

+0

只是對於任何感興趣的人,我知道這是前一段時間發佈的,但我能夠通過將建議的postBuffer加倍到1048576000來解決問題 – zgc7009

回答

0

您應該增加Git的緩衝區大小的最大單個文件大小您的存儲庫。

0

這可能是一個HTTPS問題。使用SSH應該可以解決您的問題。

相關問題