git clone的时候发生报错
查找csdn其他人的解决办法,并没有找到对应curl 56 OpenSSL SSL_read: error:1408F119:SSL的解决办法
以下是报错代码
error: RPC failed; curl 56 OpenSSL SSL_read: error:1408F119:SSL routines:ssl3_get_record:decryption failed or bad record mac, errno 0
error: 3969 bytes of body are still expected //仍然需要3969字节的主体
fetch-pack: unexpected disconnect while reading sideband packet //读取packet包时意外断开连接
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
因为:curl 56 OpenSSL SSL_read: error:1408F119:SSL全站也没搜索到对应的问题和解决办法,所以根据其他错误去尝试排除问题
首先根据如下报错搜索解决方案:fetch-pack: invalid index-pack output
尝试1:浅拉取最后一次提交的
git clone -b 分支名 --depth=1 仓库路径
尝试2:通过忽视SSL证书验证去排错
git config http.sslVerify “false”
尝试3:增加git下载文件最大容量
git config http.postBuffer 524288000
这里指的是设置为500M
尝试4:有可能网络因素。
尝试更换设备的网络设备或线路 更换路由器 无线换有线模式