fatal: unable to access : OpenSSL SSL"/>
git push fatal: unable to access : OpenSSL SSL
错误原因
前两天push的时候突然遇到这个问题,细究原因可能是在谷歌上通过VPN登录了一次github(以前都是走的国内线路登录的)
出现此问题后无论用不用VPN,git账号怎样登录,在master分支上都无法push了。
错误表现
这个错误会报两种错
xuefeng@DESKTOP MINGW64 /d/XXX (master)
$ git push
fatal: unable to access '.git/': OpenSSL SSL_read: Connection was resetxuefeng@DESKTOP MINGW64 /d/XXX (master)
$ git push
fatal: unable to access '.git/': Failed to connect to github port 443: Timed out
解决方法
更新DNS缓存
Mac用户:
sudo killall -HUP mDNSResponder
sudo dscacheutil -flushcache
Windows用户:cmd命令窗口执行:
ipconfig /flushdns
参考:
使用git克隆github上的项目失败:unable to access github: OpenSSL SSL_read: Connection was reset, errno 10054.
更多推荐
git push fatal: unable to access : OpenSSL SSL
发布评论