1. 程式人生 > >github|fatal:unable to access|OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com 443

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