Git Push Fails with RPC failed; curl 55 SSL_write() returned SYSCALL, errno = 10053

若如初见. 提交于 2020-06-10 10:25:17

问题


Full list of info

Counting objects: 1945, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (1935/1935), done.
rror: RPC failed; curl 55 SSL_write() returned SYSCALL, errno = 10053
atal: The remote end hung up unexpectedly
Writing objects: 100% (1945/1945), 3.15 GiB | 1.21 MiB/s, done.
Total 1945 (delta 231), reused 0 (delta 0)
fatal: The remote end hung up unexpectedly
Everything up-to-date

As far as I can tell, there is no file larger than 150MB, using the latest Git version. I've been able to push with no issue up until I added lots of new assets to my project (around 3GB worth) and now I get this.

What I have tried is increasing the postBuffer for both http and https to 2097152000

I should also note that I did originally have a large zip file that was not ignored (400MB) but I deleted it and made a new commit, however, this may not have been the proper way to have gotten rid of this, as I guess it will still try to push it out since the commit before the latest had it?


回答1:


According to github's help page max size per file is 100MB, and up to 1GB total for your repo.

Are you using LFS?




回答2:


I got this error, after cloning fresh from the upstream master, then I was pushing to my fork but had not kept my fork's master up to date with the upstream master. The different between the fork's master and what the new clone's upstream master had were too different.

The fix was to blow away my fork (copy all existing branches to my local computer so I don't loose any current work), refork, clone from my fork (not upstream), make changes on local computer, and push back to fork.



来源:https://stackoverflow.com/questions/46790394/git-push-fails-with-rpc-failed-curl-55-ssl-write-returned-syscall-errno-10

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!