Github无法访问SSL连接错误 [英] Github unable to access SSL connect error

查看:1619
本文介绍了Github无法访问SSL连接错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在过去的几个月里我一直在使用GIT。 git push在12小时前工作,现在所有的尝试都会产生错误,详细信息会产生这个错误:

  GIT_CURL_VERBOSE = 1 git push 
*在.netrc文件中找不到主机github.com;使用默认值
*关于连接()到github.com端口443(#0)
*尝试192.30.253.112 ... *连接到github.com(192.30.253.112)端口443(#0 )
*用certpath初始化NSS:sql:/etc/pki/nssdb
* CAfile:/etc/pki/tls/certs/ca-bundle.crt
CApath:none
* NSS错误-12190
*过期清除
*关闭连接#0
致命:无法访问'https://github.com/waveney/wmff/':SSL连接错误

任何明智的想法?没有改变服务器从它的工作到现在,重新启动没有区别

解决方案

我在各种CentOS 6上遇到同样的问题虚拟机,它原来是一个陈旧的卷曲和nss库的问题(感谢这个线程指向我在正确的方向: cURL SSL connect error 35 with NSS error -5961 )。



我只是:

  yum update -y nss curl libcurl 


I have been using git lots for the last few months. git push worked 12 hours ago now all attempts generate errors, with verbose it produces this:

GIT_CURL_VERBOSE=1 git push
* Couldn't find host github.com in the .netrc file; using defaults
* About to connect() to github.com port 443 (#0)
* Trying 192.30.253.112... * Connected to github.com (192.30.253.112) port 443 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
*   CAfile: /etc/pki/tls/certs/ca-bundle.crt
   CApath: none
* NSS error -12190
* Expire cleared
* Closing connection #0
fatal: unable to access 'https://github.com/waveney/wmff/': SSL connect error

Any bright ideas? No changes to server from when it worked to now, restart made no difference

解决方案

I was having the same problem on various CentOS 6 VM's and it turned out to be an issue with stale curl and nss libraries (thanks to this thread for pointing me in the right direction: cURL SSL connect error 35 with NSS error -5961).

The fix that worked for me is just:

yum update -y nss curl libcurl

这篇关于Github无法访问SSL连接错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆