Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

git error: RPC failed; curl 56 GnuTLS recv error (-54): Error in the pull function

I tried git submodule update --init --recursive

and got following error

error: RPC failed; curl 56 GnuTLS recv error (-54): Error in the pull function. fatal: The remote end hung up unexpectedly fatal: early EOF fatal: index-pack failed

My OS is window 10 and I'm using docker for windows. Docker images is ubuntu:16.04

like image 831
JY Choe Avatar asked Oct 29 '22 21:10

JY Choe


2 Answers

Looks like you are missing openssl package, as another option could be network issue.

like image 200
sshepel Avatar answered Nov 15 '22 06:11

sshepel


It's not exactly the same error code, but one response to this similar issue recommends setting large buffer sizes in the git global config settings;

  git config --global http.postBuffer 524288000  
  git config --global https.postBuffer 524288000

This worked for me to overcome a similar error as yours, trying to clone the cppcheck repo off GitHub;

enter code here`remote: Counting objects: 100% (325/325), done.
remote: Compressing objects: 100% (159/159), done.
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
like image 37
Tim Jones Avatar answered Nov 15 '22 05:11

Tim Jones