git OpenSSL SSL_connect问题

遇到这个问题,查找别人也遇到,省时间不写了直接复制

 

在使用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 @ 2018-10-25 10:02  骑单车去旅行  阅读(6325)  评论(0编辑  收藏  举报