fatal: unable to access ‘https://github.com/xxx/xxx.git/‘

fatal: unable to access ‘https://github.com/xxx/xxx.git/’: LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443

git clone xxx 的时候出现 fatal: unable to access 'https://github.com/xxx/xxx.git/,或者 pod install 的时候报 LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443 的错误的解决方案。

如果没开Shadowsocks,查看下是否设置了git代理,如果设置了将设置全删掉再install试试看。

看看你的git配置

git config --global -l

或者直接打开配置文件查看

cd ~
open .gitconfig

如果配置里有 proxy = 相关的配置,全部删除,之后再 install 试试看。

如果开了Shadowsocks的话,让流量走代理,需要在.gitconfig配置文件中添加代理。

cd ~~ git config --global -l

➜  ~ git config --global http.proxy http://127.0.0.1:1087
git config --global https.proxy http://127.0.0.1:1087~ open .gitconfig                                     

请添加图片描述
这里的postBuffer是设置的最大流量限制。proxy 是Shadowsocks里HTTP的代理监听地址和端口号。

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

Morris_

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值