Git报错: 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  

posted @ 2017-09-02 20:07  Pegasus_49  阅读(10200)  评论(0编辑  收藏  举报