OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 0的处理
本地使用git向github上传或是下载时,也许会报如下的错误
错误1:
OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 0
错误2:
Failed to connect to github.com port 443 after 21078 ms: Could not connect to server
我尝试了很多办法都不行,最后解决方法为
在当前打开的命令行中依次执行如下代码
git config --global http.proxy http://127.0.0.1:7890
git config --global https.proxy https://127.0.0.1:7890
就不会再报上面的错误了,就可以正常从github中上传或下载数据了
(本方法来源于百度智能ai回答)