最全git命令报错、git clone报错、github访问缓慢/github加载不出来/github无法访问

git报错、git clone报错、github访问缓慢/github加载不出来/github无法访问

1、fatal: unable to access ‘https://github.com/kennymckormick/pyskl.git/’: OpenSSL SSL_read: Connection was reset, errno 10054

在命令行上运行 git config --global http.sslVerify true(不行就多执行两遍) 将安全验证打开

2、unable to access ‘https://****’: SSL certificate problem: Invalid

如果连接git是报错unable to access ‘https://****’: SSL certificate problem: Invalid 因为有些服务器是https是自签名的. 所以在命令行上运行 git config --global http.sslVerify false 将安全验证关掉

3、error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly before end of the underlying st…

git clone 时候报错

error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly before end of the underlying st…

解决方法:

git config --global http.version HTTP/1.1
git config --global http.postBuffer 524288000
(两步都要执行,参考:https://blog.csdn.net/qcx321/article/details/126013303)

4、fatal: unable to access ‘https://github.com/Mikexu007/AS-CAL.git/’: Failed to connect to github.com port 443 after 21097 ms: Timed out

多试几次(也有第5点的原因,所以还是不行就试第五点)

5、github访问缓慢、github加载缓慢/加载不出来

方法https://blog.csdn.net/Mr_Fuuuuuu/article/details/114632893
查询网站https://ipaddress.com/website/www.github.com

http://github.com 140.82.114.3
http://gist.github.com 140.82.113.4
http://help.github.com 140.82.113.18
http://nodeload.github.com 140.82.113.10
http://github.global.ssl.fastly.net 151.101.1.194
http://raw.github.com 185.199.108.133
http://status.github.com 140.82.112.17
http://training.github.com 185.199.108.153
http://www.github.com 140.82.112.3

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值