error: RPC failed; curl 55 OpenSSL SSL_write: SSL_ERROR_ZERO_RETURN, errno 10053

Hi, I’m having an issue while trying to push a git repo.

This is the scenario, there a project I want to have on my github, and since fork gives the whole project(which I don’t really want), I’m trying to simply clone a specific branch to a new git repo.

The thing is that I’d like to have the commit history, so what I did was cloning that branch, changing the remote then trying to push to a different remote, and I encounter the following error:

Enumerating objects: 375990, done.
Counting objects: 100% (375990/375990), done.
Delta compression using up to 4 threads.
Compressing objects: 100% (95138/95138), done.
error: RPC failed; curl 55 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10053
fatal: The remote end hung up unexpectedly
Writing objects: 100% (3759907/375990), 362.23 Mib | 225.76 MiB/s, done.
Total 375990 (delta 274022), reused 375918 (delta 273954)
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Everything up-to-date

I tried all the solution I’ve found on stackoverflow, but nothing actually worked.

I’m pretty sure the issue is that the git object is large(300~ mb), but git lfs doesn’t seem to help here as well, and I’m not really sure if that’s the issue as if it was due to the size I would receive:

“this exceeds GitHub’s file size limit of 100.00 MB”

BTW this is the repo I’m trying to clone: https://github.com/TrinityCore/TrinityCore

Any ideas would be appreciated. Thanks!

1 Like

The first step in trouble-shooting this is to determine if you can import the entire repository without problems. If so, then any individual branch within the repository should not cause a problem. So rather than trying to “just clone a branch”, can you do the following:

  1. Clone the source repository locally
  2. Create a new repository on GitHub
  3. Add the new repository as a remote for the local repository
  4. Push the contents of the local repository to the new GitHub repository

Let me know if that works and what error occurs if it doesn’t and we can go from there.

Hi, I got the same issue. I did the things you said but still not work. 

I had a remote repo on Github and everything set up on my local also. 

Git LFS: (0 of 0 files, 2 skipped) 0 B / 0 B, 329.51 MB skipped Counting objects: 36971, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (20720/20720), done.
efatal: The remote end hung up unexpectedlyiB | 5.37 MiB/s
rror: RPC failed; curl 55 SSL_write() returned SYSCALL, errno = 10053
Writing objects: 100% (36971/36971), 4.12 GiB | 10.28 MiB/s, done.
Total 36971 (delta 14718), reused 36966 (delta 14717)
fatal: The remote end hung up unexpectedly
Everything up-to-date
1 Like

Same issue here too - cannot push no matter what I try.

This is with a fresh repo, as suggested above, pushing only the latest state of development (I scrapped all my unpushed commit history for this)

LFS is being used, and it seems to upload successfully beforehand - it is only after all the regular objects are written that this error occurs.

The error is replaced by a “Broken Pipe” one when I attempt to use SSH instead of HTTPS - It says something about “unpack failed”, again only after all the uploading seems to be complete (each attempt takes some 30 mins)

There are no file size warnings of any kind, nor there is any mention of repository space limitations being reached.

Please help - I have not been able to use GitHub during the last two weeks - My entire project is greatly hampered by this

1 Like

Same problem here, unable to fix it

Also am receiving error: RPC failed; curl 55 OpenSSL SSL_write: SSL_ERROR_ZERO_RETURN, errno 32 and cloning does not resolve.

Is there any update to this issue?

Check out this command

> git config http.postBuffer 524288000