简体   繁体   English

git错误:RPC失败; curl 56 GnuTLS recv 错误(-54):拉函数中的错误

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

I tried git submodule update --init --recursive我试过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.我的操作系统是窗口 10,我正在使用 docker for windows。 Docker images is ubuntu:16.04 Docker镜像是ubuntu:16.04

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 全局配置设置中设置大缓冲区大小;

  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;这有助于我克服与您类似的错误,尝试从 GitHub 克隆 cppcheck 存储库;

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

看起来你缺少openssl包,因为另一种选择可能是网络问题。

For me uninstalling and reinstalling git again worked for me对我来说,再次卸载并重新安装 git 对我有用

Remove git with sudo apt-get purge git but NOT with sudo apt-get --purge git for some reason it wont work if you do --purge .使用sudo apt-get purge git删除 git 但不能使用sudo apt-get --purge git ,由于某种原因,如果你这样做--purge Now install it again by typing sudo apt-get install git .现在通过键入sudo apt-get install git再次安装它。 And then when you try your clone, it should work properly.然后,当您尝试克隆时,它应该可以正常工作。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何修复 git 错误:RPC 失败; curl 56 GnuTLS - How to fix git error: RPC failed; curl 56 GnuTLS git 克隆错误:RPC 失败; curl 52 GnuTLS 接收错误 (-110) - git clone error: RPC failed; curl 52 GnuTLS recv error (-110) Git: gnutls_handshake() failed: 拉函数出错 - Git: gnutls_handshake() failed: Error in the pull function Git - 错误:RPC 失败; curl 56 请求的 URL 返回错误:401:远程端意外挂断 - Git - error: RPC failed; curl 56 The requested URL returned error: 401: The remote end hung up unexpectedly 将代码推送到 aws codeCommit 时出现此错误 --> repo: RPC failed; curl 56 LibreSSL SSL_read:SSL_ERROR_SYSCALL,错误号 54 - while push code into aws codeCommit getting this error --> repo : RPC failed; curl 56 LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54 Git 推送失败。 错误:RPC 失败; curl 56 LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 60 - Git push getting failed. error: RPC failed; curl 56 LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 60 Git clone错误:RPC失败; result = 56,HTTP代码= 200 - Git clone Error: RPC failed; result=56, HTTP code = 200 git 克隆错误:RPC 失败; curl 56 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054 - git clone error: RPC failed; curl 56 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054 Git 推送错误:RPC 失败:curl 52 - Git push error: RPC failed: curl 52 Bitbucket gnutls_handshake() 失败:pull 函数出错 - Bitbucket gnutls_handshake() failed: Error in the pull function
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM