Git Error while cloning large repo Error: RPC failed; curl 56 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 54

I got this error while cloning large repo

Hello there, So without wasting time let me get you to the problem here the error comes when user tries to clone large repo to the system and it may take almost 15 min or longer, and all of the sudden we see the above error.

The above error states that git was unable to clone the large repo, but to unexpected disconnection of network to your system, but thats not the case, as you see the network is working and still you are unable to clone the large repo.

Solutions:

There are possible three solutions to make it work…

  1. Increase the post buffer size using the above command.
git config http.postBuffer 52428800

after running the above command gives error like

fatal: not in a git directory

Then first

git init

and try again to increase git postbuffer after increasing just clone the repo.
If you are unable to clone the repo, try another solution

2. Switch to different network and try.

There are chances that your network might fluctuate in between which might not give proper bandwidth to connect to git and it makes error in cloning.

If the above solution also doesn’t work the final and working solution is..

3. Download VPN and try

Download any vpn from any provider and try again it might not work for first time, try again, in second it will work.

The article is based on true solutions, and workaround was found in third solution. Please check all steps so that there wont be any confusion.

That’s it, hope my solutions work for your problem.

--

--

--

Software Engineer At Hero Vired working as mobile and web application developer, passionate about my work, a skilled developer with years of experience in field

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Python Import and package with sample

Are you using Coding Interviews for Senior Software Developers?

Extended Unit Conversion and TRONITY Overview

Life is a journey of twists and turns, peaks and valleys, mountains to climb and oceans to explore.

PolyPudgyPenguins Revenue Distribution, September 22

GitHub — Technical Interview, take home exercise

Anatomy of a Question

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Abhishek Dana

Abhishek Dana

Software Engineer At Hero Vired working as mobile and web application developer, passionate about my work, a skilled developer with years of experience in field

More from Medium

GitHub with DevRev, Creativity at its Best

Solution Recipe 6: Using Google Tag Manager’s Server-Side Tagging feature to pass data to Klaviyo

Unit tests code style

Unit tests code style

NetSuite Map/Reduce Scripts in Retail Practices