admin管理员组文章数量:1618724
今天拉取仓库的代码时,报错如下:
fatal: unable to access 'https://github/Itfuture-zifeiYu/ZifeiChat.git/':
Failure when receiving data from the peer
又或者
OpenSSL SSL_read: Connection was reset, errno 10054
再或者:
Failed to connect to github port 443: Timed out
解决办法:
因为git在拉取或者提交项目时,中间会有git的http和https代理,但是我们本地环境本身就有SSL协议了,所以取消git的https代理即可,不行再取消http的代理。
第一种方式就是:
在项目文件夹的命令行窗口执行下面代码,然后再git commit 或git clone
取消git本身的https代理
//取消http代理
git config --global --unset http.proxy
//取消https代理
git config --global --unset https.proxy
第二种就是:科学上网
本文标签: AccessfailureunableGitFATAL
版权声明:本文标题:【Git】解决fatal: unable to access..Failure when receiving data from the peer或者OpenSSL SSL_read: Connect 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://m.elefans.com/xitong/1728783295a1173001.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论