加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

xcode – RPC失败; curl 56 SSLRead()返回错误-9806 MiB / s

发布时间:2020-12-14 17:52:18 所属栏目:百科 来源:网络整理
导读:我正在尝试安装我的可可豆荚. 做完所有事情并安装后我得到了错误: [!] Unable to add a source with url git@github.com:CocoaPods/Specs.git named master-1 并修复我尝试的错误: cd ~/.cocoapods/repos git clone https://github.com/CocoaPods/Specs.gi
我正在尝试安装我的可可豆荚.
做完所有事情并安装后我得到了错误:

[!] Unable to add a source with url git@github.com:CocoaPods/Specs.git named master-1

并修复我尝试的错误:

cd ~/.cocoapods/repos
 git clone https://github.com/CocoaPods/Specs.git master

然后我得到这个错误,我不知道如何处理:

remote: Counting objects: 854549,done.
remote: Compressing objects: 100% (3453/3453),done.
error: RPC failed; curl 56 SSLRead() return error -9806 MiB/s   
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

解决方法

git克隆确实是 issue 4293推荐的.

但是如果克隆因“RPC failed; result = 56”错误消息而失败,请检查您的git缓冲区:

git config --global http.postBuffer 2M

然后再试一次你的git clone.

如果没有,请调查:

GIT_CURL_VERBOSE=1 git clone https://github.com/CocoaPods/Specs.git

最后,如果https不想合作,请尝试使用ssh url:

cd  ~/.cocoapods/repos 
git clone git@github.com:CocoaPods/Specs.git

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读