Git报错解决:fatal: unable to access 'https://github.com/.......': OpenSSL SSL_read: Connection

昨天还可以git push代码到远程仓库,今天git push时报了这个错:fatal: unable to access 'https://github.com/.......': OpenSSL SSL_read: Connection was reset, errno 10054

Git报错解决:fatal: unable to access 'https://github.com/.......': OpenSSL SSL_read: Connection

产生原因:一般是这是因为服务器的SSL证书没有经过第三方机构的签署,所以才报错

参考网上解决办法:解除ssl验证后,再次git即可

git config --global http.sslVerify "false"

Git报错解决:fatal: unable to access 'https://github.com/.......': OpenSSL SSL_read: Connection

 

上一篇:学会利用errno


下一篇:perror()函数的运用(详解)