老问题,新答案
问题:
有Proxy的时候,会出现这个错误,网络上说:
git config --global --unset http.proxy
git config --global http.sslVerify false
我网络不行,我为啥要unset proxy?
ssl是HTTPS协议的内容,为啥不让校验?
目前我发现:
是因为本地仓库没有设置origin remote。
.gitconfig
,是否有无效的Http.proxy
, https.proxy
。git remote -v
是否添加了https的origin项目地址。git remote add origin https://github.com/slankka/xxxx.git
git@github.com
这种协议,麻烦,还要走ssh协议,费劲。https://username:password@github.com/
,何必暴露自己密码呢,或者配置AccessToken不麻烦?正确操作就是什么也别改,去检查凭据管理器
git config --unset credential.helper
或者 git config --system --unset credential.helper
【Github Push】解决 OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443
原文:https://www.cnblogs.com/slankka/p/15237067.html