rhc setup - 无法连接到服务器
rhc setup - Unable to connect to the server
我正在 Windows 上安装客户端工具。
我成功完成命令 -> gem 安装 rhc
下一步是 --> rhc 设置
我正在使用默认服务器,但出现以下错误:
C:\>rhc setup --debug
DEBUG: Using config file Y:/.openshift/express.conf
DEBUG: Running greeting_stage
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.
DEBUG: Running server_stage
If you have your own OpenShift server, you can specify it now. Just hit enter to
use the server for OpenShift Online: openshift.redhat.com.
Enter the server hostname: |openshift.redhat.com|
You can add more servers later using 'rhc server'.
DEBUG: Running login_stage
DEBUG: Connecting to https://openshift.redhat.com/broker/rest/api
DEBUG: Client supports API versions 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7
DEBUG: Created new httpclient
DEBUG: Request GET https://openshift.redhat.com/broker/rest/api
Unable to connect to the server (getaddrinfo: No such host is known.
(https://openshift.redhat.com:443)). Check that you have correctly specified
your OpenShift server 'https://openshift.redhat.com/broker/rest/api'.
Ruby版本:1.9.3p551
请注意:我在代理后面。
经过这么多的RnD,我解决了代理问题。
在 运行 'rhc setup' 之前设置代理。
set HTTP_PROXY=http://username:password@proxyserverIp:port
关闭所有服务器,例如 Apache、XAMPP 和 WAMP。
->rehit the command in cmd 'rhc setup'.
->It ask for personal server or hostname simply press ENTER for default.
->then it ask for 'openshift login'
我正在 Windows 上安装客户端工具。
我成功完成命令 -> gem 安装 rhc
下一步是 --> rhc 设置
我正在使用默认服务器,但出现以下错误:
C:\>rhc setup --debug
DEBUG: Using config file Y:/.openshift/express.conf
DEBUG: Running greeting_stage
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.
DEBUG: Running server_stage
If you have your own OpenShift server, you can specify it now. Just hit enter to
use the server for OpenShift Online: openshift.redhat.com.
Enter the server hostname: |openshift.redhat.com|
You can add more servers later using 'rhc server'.
DEBUG: Running login_stage
DEBUG: Connecting to https://openshift.redhat.com/broker/rest/api
DEBUG: Client supports API versions 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7
DEBUG: Created new httpclient
DEBUG: Request GET https://openshift.redhat.com/broker/rest/api
Unable to connect to the server (getaddrinfo: No such host is known.
(https://openshift.redhat.com:443)). Check that you have correctly specified
your OpenShift server 'https://openshift.redhat.com/broker/rest/api'.
Ruby版本:1.9.3p551
请注意:我在代理后面。
经过这么多的RnD,我解决了代理问题。
在 运行 'rhc setup' 之前设置代理。
set HTTP_PROXY=http://username:password@proxyserverIp:port
关闭所有服务器,例如 Apache、XAMPP 和 WAMP。
->rehit the command in cmd 'rhc setup'.
->It ask for personal server or hostname simply press ENTER for default.
->then it ask for 'openshift login'