i run this in terminal

git clone https://gitlab.com/azzammuhammadnaufal/nyoba.git

and out this

Cloning into 'nyoba'...

but, i get this message

fatal: unable to access 'https://gitlab.com/azzammuhammadnaufal/nyoba.git/': Recv failure: Connection reset by peer

anyone know why i get this message and how to repair it,


2 Answers 2


I had the same problem as you, and finally, I solved it.

First try this:

git config --global --unset http.proxy
git config --global --unset https.proxy


git config --global user.name "yourusername"
git config --global user.email "youremail"

if you still get an error, try this next:

i just changed my internet connection using different source instead of my home WiFi; I am using my cellphone hotspot.

The second option solved it for me

  • Welcome! I did an edit to help with the English. If you need to revert or make changes, please feel free to do so.
    – Allan
    Commented May 19, 2023 at 23:49
  • @Allan thanks ^^
    – Fikri
    Commented May 31, 2023 at 13:40

It worked for me to change the Network connection to my phone


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .