Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

davy_yg's avatar
Level 27

git error RPC failed; curl 56 OpenSSL SSL_read: Connection was reset

Hello when trying to download git I failed.

ACER@DESKTOP-99MS1QJ MINGW64 /f/xampp/htdocs/sesa_master2
$ git init
Initialized empty Git repository in F:/xampp/htdocs/sesa_master2/.git/

ACER@DESKTOP-99MS1QJ MINGW64 /f/xampp/htdocs/sesa_master2 (master)
$ git config http.postBuffer 524288000

ACER@DESKTOP-99MS1QJ MINGW64 /f/xampp/htdocs/sesa_master2 (master)
$ git clone https://gitlab.com/suitmedia/sesa-e-commerce.git
Cloning into 'sesa-e-commerce'...
remote: Enumerating objects: 6327, done.
remote: Counting objects: 100% (6327/6327), done.
remote: Compressing objects: 100% (2543/2543), done.
Receiving objects:  54% (3453/6327), 1.71 MiB | 225.00 KiB/s
error: RPC failed; curl 56 OpenSSL SSL_read: Connection was reset
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

ref: https://stackoverflow.com/questions/46232906/git-clone-error-rpc-failed-curl-56-openssl-ssl-read-ssl-error-syscall-errno

I also tried this:

ACER@DESKTOP-99MS1QJ MINGW64 /f/xampp/htdocs/sesa_master2 (master)
$ git config --global http.postBuffer 524288000

ACER@DESKTOP-99MS1QJ MINGW64 /f/xampp/htdocs/sesa_master2 (master)
$ git clone https://gitlab.com/suitmedia/sesa-e-commerce.git
Cloning into 'sesa-e-commerce'...
remote: Enumerating objects: 6327, done.
remote: Counting objects: 100% (6327/6327), done.
remote: Compressing objects: 100% (2543/2543), done.
error: RPC failed; curl 56 OpenSSL SSL_read: Connection was reset
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

It also shows the same error message.

Any clue why?

0 likes
3 replies
bobbybouwmann's avatar

By best guess is that your internet is really slow (225 kb/s). Have you tried it on another network or wired network?

Otherwise, it might be some firewall. In that case, you can try a different network and see if that works.

davy_yg's avatar
Level 27

I tested my internet connection with speedtest.net

Download 23.98 Mbps

Upload 29.20 Mbps

I don't think that is the issue. Yet, I already tried to clone repeatedly and it does not works. A long time ago it works just fine.

Please or to participate in this conversation.