github|fatal:unable to access|OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com 443

在公司使用git来克隆仓库报了错误,如下:

fatal: unable to access ‘https://github.com/xingbuxing/TA-Lib-in-chinese.git/‘: OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443

这里写图片描述

解决方案:
env命令设置GIT_SSL_NO_VERIFY环境变量为”ture”,并同时调用正常的git clone命令

env GIT_SSL_NO_VERIFY=true git clone https://<host_name/git/project.git  

网上的解释可参考: http://schnell18.iteye.com/blog/2031397

猜你喜欢

转载自blog.csdn.net/xxzhangx/article/details/77412629