美文网首页
pod install 的时候报error: RPC faile

pod install 的时候报error: RPC faile

作者: panda_熊猫 | 来源:发表于2020-05-16 20:26 被阅读0次

error: RPC failed; curl 56 LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 60
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

原因 :访问被墙

终端 ping 了一下 GitHub 的地址 发现Request timeout for icmp_seq
在网上查找到了方案如下:

解决方案:

修改 host 配置,在终端中输入下列指令,打开编辑文件。

sudo vi /etc/hosts

添加如下配置

151.101.185.194 github.global.ssl.fastly.net
192.30.253.112 github.com
151.101.184.133 assets-cdn.github.com
151.101.184.133 avatars0.githubusercontent.com
151.101.112.133 avatars1.githubusercontent.com

try again

相关文章

网友评论

      本文标题:pod install 的时候报error: RPC faile

      本文链接:https://www.haomeiwen.com/subject/lmnrohtx.html