简体   繁体   English

Git 错误:RPC 失败; 结果=52,HTTP 代码 = 0

[英]Git error: RPC failed; result=52, HTTP code = 0

I have the follow log when I push to github :当我推送到github时,我有以下日志:

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

I tried:我试过:

  • git config --global http.postBuffer 2M
  • git config --global http.postBuffer 524288000
  • My connection is over ethernet .我的连接通过ethernet
  • I have the problem since 3 day ago.我从 3 天前就遇到了这个问题。
  • My git --version is "git version 2.4.0"我的 git --version 是"git version 2.4.0"
  • I don't have firewall我没有防火墙
  • Also, I can't use SSH另外,我不能使用SSH

您应该将 Git 缓冲区大小增加到存储库的最大单个文件大小。

This is probably an HTTPS issue.这可能是 HTTPS 问题。 Using SSH should resolve your problem.使用 SSH 应该可以解决您的问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM