git clone 下载报错
OpenSSL SSL_read: Connection was reset, errno 10054
先查看一下git 配置
git config --global -l
可能是代理出了问题,输入以下代码
git config --global --unset http.proxy
还是报错,但是报错代码不一样了,变成了443
OpenSSL SSL_connect: Connection was reset in connection to github.com:443
可能是因为代码是https的,需要ssl验证,要跳过ssl验证,设置http.sslVerify为false
git config --global http.sslVerify false
或者把https改为git,也可以
或者
git clone git@github.com:xxxx/xxxx.git
参考文献:https://blog.csdn.net/dashi_lu/article/details/89641778
https://blog.csdn.net/ximaiyao1984/article/details/110822578
https://blog.csdn.net/gbz3300255/article/details/97103621