git - 为什么我在克隆 git 存储库时收到 open 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
我究竟做错了什么?
解决方案
看这里:https ://flyingtomoon.com/2011/04/12/git-push-is-failed-due-to-rpc-failure-result56/
问题很可能是因为您的 git 缓冲区太低。
您需要通过将 git config var “http.postBuffer” 设置为 524288000 来增加 Git 的 HTTP 缓冲区。
git config http.postBuffer 524288000
推荐阅读
- ruby-on-rails - 通过 API 创建和保存 Google 地图(带有地标)
- junit - NullPointerException 测试模拟
- angular - 将 Angular-Material 5 与 Angular 6 一起使用
- elasticsearch - 查询字符串和类型嵌套(elasticsearch)
- reactjs - 如何将屏幕名称传递给另一个组件
- excel - 我写的 Excel 函数显示#value
- sql - 如何在多列上进行透视
- sql - 如何在 SQL Server 中的两个表(表顺序和表产品)的相同字段上添加关系?
- mysql - 如何使用 IN() 子句通过多个父 ID 获取所有子代
- php - htaccess 用于 seo 友好的 url 和 php 会话稳定性