Sky020
Sky020

Reputation: 47

Cloning GitHub Repo over WSL Fails

OS: Windows 10 Pro VM: Ubuntu 18.04 LTS

I am trying to clone a repo I forked (freeCodeCamp - if it matters), on my WSL, but it keeps failing with this error:

error: RPC failed; curl 56 GnuTLS recv error (-9): A TLS packet with unexpected length was received. fatal: The remote end hung up unexpectedly fatal: early EOF fatal: index-pack failed

Does anyone have more ideas?

Upvotes: 2

Views: 6971

Answers (2)

Sky020
Sky020

Reputation: 47

After following most of this post: https://devopscube.com/gnutls-handshake-failed-aws-codecommit/

I was able to resolve the problem. The only differences were the versions used, and I did not complete the final step. Hope this helps someone else.

Upvotes: 1

VonC
VonC

Reputation: 1324278

First, make sure you are using the latest 2.26.2 Git version available (even in Ubuntu 18.04 VM, upgrading Git through ppa)

Second, if the issue persists, check if one of the settings of this question helps.
Doing a shallow clone, to reduce the history, might help if the freeCodeCamps repo is a giant one.

Upvotes: 1

Related Questions