github远程报错

1 第一种错误

1 错误编号 10054

 unable to access 'https://github.com/SucreCC/stream.git/': OpenSSL SSL_read: Connection was reset, errno 10054

2 产生原因

一般是因为服务器的SSL证数没有经过第三方机构的签署

3 解决方案

git bash 中输入如下即可:

git config --global http.sslVerify "false"

1 第二种错误

1 错误编号 timed oud

unable to access 'https://github.com/SucreCC/stream.git/': Failed to connect to github.com port 443: Timed out

2 产生原因

一般是因为服务器的SSL证数没有经过第三方机构的签署,需要取消代理。

3 解决方案

git bash 中输入如下即可:

git config --global --unset http.proxy
git config --global --unset https.proxy
git remote add origin  [github上面以http开头的url]

在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/Ssucre/article/details/120033255