当前位置: 代码迷 >> 综合 >> 【GIT】clone时出现RPC failed; curl 56 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errfno 10054
  详细解决方案

【GIT】clone时出现RPC failed; curl 56 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errfno 10054

热度:16   发布时间:2023-11-21 15:17:17.0

错误日志:

remote: Enumerating objects: 937, done.
error: RPC failed; curl 56 OpenSSL SSL_read: Connection was reset, errno 10054
error: 6452 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output

解决方案

原因:出现这种问题可能是文件太大了
curl的postBuffer的默认值较小,需要在终端调整为到合适的大小,这里调整到500M
git bash输入

git initgit config http.postBuffer 524288000git config http.sslVerify "false"

解决

  相关解决方案