liang860908 / snova

Automatically exported from code.google.com/p/snova
0 stars 0 forks source link

OpenShift部署服务问题 #383

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
根据NodeJsPaaSInstallation说明,Openshift的Step1完成,但在进行step2
的“rhc setup”时显示如下错误:
The server did not respond correctly. This may be an issue with the server
configuration or with your connection to the server (such as a Web proxy or
firewall).Please verify that you can access the OpenShift 
serverhttps://openshift.redhat.com/broker/rest/user
请问该如何解决?通过VPN连接依旧出错。

另,建议将“rhc安装”的链接指向https://openshift.redhat.com/commun
ity/developers/rhc-client-tools-install
以方便新手安装。

Original issue reported on code.google.com by mj198...@gmail.com on 3 Mar 2013 at 11:02

GoogleCodeExporter commented 9 years ago
被墙了,其实已经部署成功,只是验证website时失败。你需要�
��置rhc的代理部署

Original comment by yinqiwen@gmail.com on 4 Mar 2013 at 11:56

GoogleCodeExporter commented 9 years ago
嗯,对比教程感觉是应该部署好了,不过问题是我后来通过VP
N还是同样的问题,是VPN不支持HTTPS吗?rhc代理有教程可参考��
�?
另,他们的SSH是不是已经不能用来翻了?

Original comment by mj198...@gmail.com on 4 Mar 2013 at 1:48

GoogleCodeExporter commented 9 years ago
设置环境变量http_proxy以及https_proxy,需要支持https(非伪造证
书方式)
http://puras.cn/win-cmd-http-proxy

Original comment by yinqiwen@gmail.com on 4 Mar 2013 at 1:51

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
按照如下内容进行设置,依旧出现上述错误:
set http_proxy=http://proxy.com:port/
set https_proxy=https://proxy.com:port/
proxy.com:port已替换为具体内容,并且在浏览器中测试可正常访
问HTTPS(非伪造证书)。

Original comment by mj198...@gmail.com on 6 Mar 2013 at 1:16

GoogleCodeExporter commented 9 years ago
再次测试VPN,连接后可访问HTTPS的推特,但还是出现上述错误
。

Original comment by mj198...@gmail.com on 6 Mar 2013 at 2:26

GoogleCodeExporter commented 9 years ago
https_proxy不要用https://
你可以到openshift的forum上找下相似问题,我只在linux下设置过
https://openshift.redhat.com/community/forums/express/rhc-tools-through-a-proxy

Original comment by yinqiwen@gmail.com on 10 Mar 2013 at 3:38

GoogleCodeExporter commented 9 years ago
在未开启代理的时候,命令行提示:
Unable to connect to the server (No connection could be made because the target
machine actively refused it.
开启之后该提示消失,说明应该是代理服务器已经连接成功��
�可为什么还是会出现“he server did not respond 
correctly.”的问题呢?代理服务器也无法连接上OpenShift?可之�
��测试用VPN也会报错,问题在哪?

Original comment by mj198...@gmail.com on 10 Mar 2013 at 10:19

GoogleCodeExporter commented 9 years ago
代理服务器需要是HTTP代理(支持HTTPS),不能是socks5等其它��
�型
你可以用之前部署过的snova+C4作为部署过程的代理

Original comment by yinqiwen@gmail.com on 10 Mar 2013 at 12:27

GoogleCodeExporter commented 9 years ago
我测试了两种方式:
①MyEnTunnel+Privoxy,这个是Socks转HTTP/https的;
②VPN,全局应该没问题吧。
那我再试试snova吧

Original comment by mj198...@gmail.com on 10 Mar 2013 at 12:44

GoogleCodeExporter commented 9 years ago
通过GSnova连接,代理验证无误,错误依旧,为什么……

Original comment by mj198...@gmail.com on 10 Mar 2013 at 1:52

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
直接启动CMD,用“rhc 
setup”部署,连接上去并生成了公钥,通过Web界面,创建了Nam
eSpace和Application,然后切换回CMD,使用“cd”命令,提示“系�
��找不到指定的路径”;使用“rhc-create-app”命令,提示“'rhc
-create-app' 
不是内部或外部命令,也不是可运行的程序或批处理文件”��
�
请问为什么我Web界面创建的NameSpace和Application是否有效呢?我
又该如何上传文件呢?

Original comment by mj198...@gmail.com on 21 Mar 2013 at 5:00