为什么在克隆git仓库时,我得到了打开ssl的错误?

问题描述 投票:1回答:1

克隆远程仓库时,为什么会出现打开ssl的错误?

git -c http.sslVerify=false clone <<url>>

我收到以下错误信息。

remote: counting objects 3122, done 
remote: compressing objects: 100%(1125/1125)
error: RPC failed; curl 56 openssl ssl_read: error:14095126:ssl routines ssl13_read_n:unexpected eof while reading errorno 0
fatal: early eof
fatal: the remote hung up unexpectedly
fatal: index pack failed

我已经试过了

git config --global http.postBuffer 1048576000

我做错了什么?

git github bitbucket
1个回答
0
投票

看这里。https:/flyingtomoon.com20110412git-push-is-failed-due-rpc-failure-result56。

这个问题很可能是因为你的 git 缓冲区太小了,你需要通过设置 git config var "http.postBuffer" 来增加 Git 的 HTTP 缓冲区。

你需要通过设置git config var "http.postBuffer "为524288000来增加Git的HTTP缓冲区。

git config http.postBuffer 524288000
© www.soinside.com 2019 - 2024. All rights reserved.