Error: RPC failed; curl 56 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054

Hi Folks
I am trying to clone a git repo and getting this error,

git : Cloning into ‘.’…
At \Redmond\exchange\build\central\enlist\gitem.ps1:219 char:22

  • … $result = git clone -c core.autocrlf=$convertCrlf --recursive https …
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    • CategoryInfo : NotSpecified: (Cloning into ‘.’…:String) , RemoteException
    • FullyQualifiedErrorId : NativeCommandError

fatal: early EOF
fatal: the remote end hung up unexpectedly
fatal: index-pack failed
error: RPC failed; curl 56 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054

Tried all the solution available on

Suspected network error and increased git buffer size too still nothing changed


How did you clone your repository? Via command line (git clone), or IDE (such as Visual Studio, GitHub Desktop, etc.)?

You can try to check with the following steps:

  1. Try different methods to clone the repository.

  2. Try on different machines to clone the repository.

  3. Try with different users to clone the repository. You can ask other members in the repository to check if they have the same problem.

In addition, the GitHub Actions board of GitHub Community is used for the discussions and questions about GitHub Actions. If you need help with anything related to workflow configuration, such as syntax, GitHub-hosted runners, or building actions, you can look for an existing topic or start a new one in this board.

About your question, I recommend that you can report it in the How to use Git and GitHub board.


I tried cloning with git clone -c core.autocrlf=false --recursive
It worked for me.
Thanks a lot