我正在尝试设置rhc来安装OpenShift应用程序,当我尝试这样做时:
rhc setup --debug
设置代理后(设置HTTP_PROXY = http://..。)它失败并显示消息:
You are not authorized to perform this operation.
完整的调试答案(删除个人信息)是:
C:\Windows\system32>rhc setup --debug
DEBUG: Using config file C:/Users/xxxxx/.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
DEBUG: Response: 403 {"Server"=>"squid", "Mime-Version"=>"1.0", "Date"=>"Thu, 20 Aug 2015 09:11:21 GMT", "Content-Type"=>"text/html", "Content-Length"=>"955"
"X-Squid-Error"=>"ERR_ACCESS_DENIED 0", "X-Cache"=>"MISS from myproxy.proxy.es", "X-Cache-Lookup"=>"NONE from myproxy.proxy.es:80", "Connection"=>"close"}
-------------
DEBUG: Response did not include a message from server: unexpected nil
You are not authorized to perform this operation.
知道发生了什么事吗?
答案 0 :(得分:1)
您是通过代理运行的吗?看起来个人代理阻止了对openshift的访问。 (也许是公司代理或防火墙?)