I keep receiving this error each time I try to clone a new repository, the second time I clone it, it works fine. What could be the cause of it and how to resolve it?
Cloning into 'Important-Documents'...
remote: Enumerating objects: 83, done.
remote: Counting objects: 100% (83/83), done.
remote: Compressing objects: 100% (81/81), done.
error: RPC failed; curl 92 HTTP/2 stream 7 was not closed cleanly before end of the underlying stream
error: 4241 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
I encounter this error too: So I clone the repo in parts using the command below:
git clone --depth 1 <repo url>git fetch --unshallowIf the still persist I'd advice you to turn-off your anti-virus and try the step again.
If you are still facing this problem using a VPN would help..
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With