IDEAGitHub提交代码 git push失败,提示“OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443”

问题描述

  今天IDEA向GitHub提交代码的时候,IDEA提示我SSL_ERROR_SYSCALL in connection to github.com:443,代码也没有push上去,具体提示

12:08	Push failed: Unable to access 'https://github.com/mxw968/bloggradle.git/': OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443

12:09	Push failed: Unable to access 'https://github.com/mxw968/bloggradle.git/': OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443

网上查了一下原因,发现是因为Git的Http代理的问题,Git支持三种协议:git://、ssh://和http://,代码push的时候走ssh隧道的,但是因为设置了http代理,所以就走了http的代理,于是就提交不了了,协议不支持了,关闭了一下IDEA里面设置的http 代理,问题解决。

【File | Settings | Appearance & Behavior | System Settings | HTTP Proxy】

IDEAGitHub提交代码 git push失败,提示“OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443”_第1张图片

你可能感兴趣的:(github)