git clone command failed with error: error: RPC failed; curl 18 transfer closed with outstanding read data remaining #144991
Replies: 2 comments
-
Hey there! 👋 Thanks for posting in the GitHub Community, @santhoshsntx ! We're happy you're here. You are more likely to get a useful response if you are posting your question in the applicable category. The Accessibility category is a place for our community to discuss and provide feedback on the digital accessibility of GitHub products. Digital accessibility means that GitHub tools, and technologies, are designed and developed so that people with disabilities can use them. We’ve moved your post to our Programming Help 🧑💻 category, which is more appropriate for this type of discussion. Please review our guidelines about the Programming Help category for more information. |
Beta Was this translation helpful? Give feedback.
-
When cloning a repository with a very slow response or a very large buffer size over HTTP or HTTPS, the operation may fail due to response time delays. Try cloning the repository using SSH instead. If you are using GitHub, follow these steps: 1. Register Your SSH Key with GitHub# Example for Ubuntu
cat ~/.ssh/id_rsa.pub This command will output your SSH public key. To register the generated SSH key with GitHub, go to your GitHub account's 2. Clone Using SSHRun the following command to clone the repository using SSH: git clone [email protected]:username/repository.git |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
General
GitHub Feature Area
GHAS
Body
Git clone command started failing suddenly with error: error: RPC failed; curl 18 transfer closed with outstanding read data remaining. I did set the buffersize as below:
git config --global http.postBuffer 524288000
But still it's failing.. Please assist.
Beta Was this translation helpful? Give feedback.
All reactions