美文网首页程序员的自我修养
错误github|fatal:unable to access|

错误github|fatal:unable to access|

作者: 以后叫我老牛 | 来源:发表于2018-11-14 08:57 被阅读1072次

    intellij或者android Studio 使用git clone命令无法clone成功,出现github|fatal:unable to access|OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com 443 字段,我遇到过,下面是我的解决过程。

    额,首先,我也不是什么大牛,我就将intellij和android Studio的报错cp下来,是的,就这个很重要,如下截取的报错内容:unable to access 'https://github.com/yuanlunchuan/spring4Angular.git/': OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443,很明显地,我在如果这么直接百度,是很难找到答案的。

          原因就是百度的检索功能,git地址是我自己的,这个占这个搜索比重很大,所以必须将其剔除,变成这样unable to access 'https://github.com/': OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443.因此我按照这个所搜,多看几篇,发现共同点就是,都是一样的解决思路,那么这个方案就是可行的,搞定。

    在查询到,解决的关键因素就是http.sslVerify  的配置需要设置为false 这个好办,因为不同的前辈有不同的解决方式,我的就直接打开git bash, 敲命令"git config --global http.sslVerify false"   搞定。

    相关文章

      网友评论

        本文标题:错误github|fatal:unable to access|

        本文链接:https://www.haomeiwen.com/subject/ghnnfftx.html