Openshift `rhc安装程序`错误:`无法建立到服务器的安全连接`

Openshift `rhc安装程序`错误:`无法建立到服务器的安全连接`,openshift,openshift-client-tools,Openshift,Openshift Client Tools,我无法通过以下错误: $ rhc setup OpenShift Client Tools (RHC) Setup Wizard This wizard will help you upload your SSH keys, set your application namespace, and check that other programs like Git are properly installed. A secure connection could not be establi

我无法通过以下错误:

$ rhc setup
OpenShift Client Tools (RHC) Setup Wizard

This wizard will help you upload your SSH keys, set your application namespace,
and check that other programs like Git are properly installed.

A secure connection could not be established to the server (SSL_connect
returned=1 errno=0 state=SSLv3 read server key exchange B: bad ecpoint). You may
disable secure connections to your server with the -k (or --insecure) option
'https://openshift.redhat.com/broker/rest/api'.

If your server is using a self-signed certificate, you may disable certificate
checks with the -k (or --insecure) option. Using this option means that your
data is potentially visible to third parties.
我已经运行了
rhc setup-k
(同一端)以及
sudo gem update rhc
(我有最新版本的一切,AFAIK)。我还删除了
~/.openshift
目录,但没有用。我的ssh密钥在其他方面看起来很好而且完好无损,但可能是因为某种原因损坏了

如何修复此错误?

请尝试:

unset http_proxy
然后再次运行rhc安装程序。 或定义无_代理:

export no_proxy="127.0.0.1, example.com"

我们目前正在维护和升级openshift online(),请重试或尝试等待,直到维护完成。也可能您所在的网络正在使用代理,或使用自己的证书代理https请求


此修复()最终解决了用户问题。

您还可以将ssl\u version=tlsv1添加到.openshift/express.conf,以便按照本节所述设置非SSLv3协议

这对我很管用

编辑:
我发现您也可以通过问题中的
sudo gem update rhc
解决此问题您的rhc gem可能已过时。我通过在命令行中键入以下内容修复了此问题:

gem install rhc

然后,我能够(再次)完成安装过程。

我在4天前一直在尝试,因此我认为可能不是维护。我会调查代理——知道我如何确认他们是否真的在干扰吗?你能把这个url加载到你的浏览器中,看看会发生什么吗?另外,您是从您的计算机上运行此功能,还是从某个服务器上运行此功能?我的本地计算机,它以前可以在同一网络上运行
rhc
没有问题(目前尚未更改)。在Chrome中加载该URL会给我一个空白的白色页面,标题上写着响应代码
406
您使用的是什么操作系统?您正在使用rvm/rbenv吗?还可以尝试在浏览器中加载此url:我们的一位工程师建议这样做可能会有所帮助: