解决github unable to access “”OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection

0 阅读1分钟

解决github unable to access “”OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443

问题:Github克隆项目,出现443错误

image-20260317021831078

I:\接单文件\2-6>git clone https://github.com/gokuscraper/Eyes-Follow-Mouse-Login-Website.git
Cloning into 'Eyes-Follow-Mouse-Login-Website'...
fatal: unable to access 'https://github.com/gokuscraper/Eyes-Follow-Mouse-Login-Website.git/': OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443

解决办法:

CMD输入

git config --global http.sslVerify false

image-20260317022023308

为什么会这样?

当你开启代理时,网络请求会经过一个加密隧道。Git 在尝试连接 GitHub 时,会进行一次 SSL 握手

有的垃圾代理流量审计很激进,他会解包甚至修改你的 HTTPS 流量。

导致 Git 认为对方的“证书”不可信。

这行命令的作用就是告诉 Git:“别管什么安全证书了,直接把代码给我拉下来!”