当前位置:   article > 正文

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

windows git clone 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

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/weixin_40725706/article/detail/707493
推荐阅读
相关标签
  

闽ICP备14008679号