good20087758521 / apjp

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

问题原因:CloudFoundary 上部署的App, 一段时间无流量, 被"STOPPED" #115

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
提示如下:
: START_PROXY_SERVER
: PROXY_SERVER/START
: PROXY_SERVER/START_PROXY_SERVER
: PROXY_SERVER/START_PROXY_SERVER_WORKERS
: PROXY_SERVER/START_HTTP_PROXY_SERVER
: HTTP_PROXY_SERVER/START
: HTTP_PROXY_SERVER/START_HTTP_PROXY_SERVER
: HTTP_PROXY_SERVER/START_HTTP_PROXY_SERVER_WORKERS
: HTTP_PROXY_SERVER/START_HTTP_SERVER
: HTTP_SERVER/START
: HTTP_SERVER/START_HTTP_SERVER
: HTTP_SERVER/START_HTTP_SERVER_WORKERS
: PROXY_SERVER/START_HTTPS_PROXY_SERVER
: HTTPS_PROXY_SERVER/START
: HTTPS_PROXY_SERVER/START_HTTPS_PROXY_SERVER
: HTTPS_PROXY_SERVER/START_HTTPS_PROXY_SERVER_WORKERS
: HTTPS_PROXY_SERVER/START_HTTPS_SERVERS
: START_PROXY_SERVER: OK
: TEST_HTTP_REQUESTS
: HTTP_REQUEST/GET_HTTP_RESPONSE_MESSAGE: REQUEST: HEAD / HTTP/1.0
: HTTP_REQUEST/GET_HTTP_RESPONSE_MESSAGE: REQUEST: Host: www.google.com
: HTTP_REQUESTS/TEST: EXCEPTION
APJP.HTTP11.HTTPRequestException: HTTP_REQUEST/GET_HTTP_RESPONSE_MESSAGE
        at APJP.HTTP11.HTTPRequest.getHTTPResponseMessage(Unknown Source)
        at APJP.HTTP11.HTTPRequests.test(Unknown Source)
        at APJP.Main.main(Unknown Source)
Caused by: java.io.FileNotFoundException: https://wangke.cloudfoundry.com/HTTP
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown So
urce)
        at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unkn
own Source)
        ... 3 more
: TEST_HTTP_REQUESTS: EXCEPTION
APJP.HTTP11.HTTPRequestException: HTTP_REQUESTS/TEST
        at APJP.HTTP11.HTTPRequests.test(Unknown Source)
        at APJP.Main.main(Unknown Source)
Caused by: APJP.HTTP11.HTTPRequestException: HTTP_REQUEST/GET_HTTP_RESPONSE_MESS
AGE
        at APJP.HTTP11.HTTPRequest.getHTTPResponseMessage(Unknown Source)
        ... 2 more
Caused by: java.io.FileNotFoundException: https://wangke.cloudfoundry.com/HTTP
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown So
urce)
        at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unkn
own Source)
        ... 3 more
: TEST_HTTP_REQUESTS: NOT OK
: TEST_HTTPS_REQUESTS
: HTTPS_REQUEST/GET_RESPONSE_MESSAGE: REQUEST: HEAD / HTTP/1.0
: HTTPS_REQUEST/GET_RESPONSE_MESSAGE: REQUEST: Host: www.google.com
: HTTPS_REQUESTS/TEST: EXCEPTION
APJP.HTTP11.HTTPSRequestException: HTTPS_REQUEST/GET_HTTP_RESPONSE_MESSAGE
        at APJP.HTTP11.HTTPSRequest.getHTTPResponseMessage(Unknown Source)
        at APJP.HTTP11.HTTPSRequests.test(Unknown Source)
        at APJP.Main.main(Unknown Source)
Caused by: java.io.FileNotFoundException: https://wangke.cloudfoundry.com/HTTPS
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown So
urce)
        at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unkn
own Source)
        ... 3 more
: TEST_HTTPS_REQUESTS: EXCEPTION
APJP.HTTP11.HTTPSRequestException: HTTPS_REQUESTS/TEST
        at APJP.HTTP11.HTTPSRequests.test(Unknown Source)
        at APJP.Main.main(Unknown Source)
Caused by: APJP.HTTP11.HTTPSRequestException: HTTPS_REQUEST/GET_HTTP_RESPONSE_ME
SSAGE
        at APJP.HTTP11.HTTPSRequest.getHTTPResponseMessage(Unknown Source)
        ... 2 more
Caused by: java.io.FileNotFoundException: https://wangke.cloudfoundry.com/HTTPS
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown So
urce)
        at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unkn
own Source)
        ... 3 more
: TEST_HTTPS_REQUESTS: NOT OK

Original issue reported on code.google.com by wangke...@gmail.com on 13 Nov 2012 at 7:47

GoogleCodeExporter commented 9 years ago
问题: "Caused by: java.io.FileNotFoundException: 
https://wangke.cloudfoundry.com/HTTPS"

原因: 
无法直接访问你的App地址,有可能只是App长期无流量,CloudFou
ndry将其"STOPPED"

解决方法: (以下指令不带双引号)
  1. "vmc login" 登录
  2. "vmc apps" 查看Apps状态。估计你应该可以看到你的"Application: wangke" "Health: STOPPED"
  3. "vmc start <AppName>" 运行被STOPPED的App。其中"<AppName>",你的就为"wangke"。这时可以看到
    "Staging Application '<AppName>': OK

    Starting Application '<AppName>': OK"
  4. 此时在浏览器中访问" https://wangke.cloudfoundry.com ",你将会看到类似此图( http://clip2net.com/clip/m96404/1326474730-clip-6kb.png )的

应该可以解决你的问题的。若不行的话,请自行在此( 
http://support.cloudfoundry.com ) 
寻找帮助。我这周没有时间,帮人解决问题了的。抱歉。

Original comment by goknmuse on 13 Nov 2012 at 9:04

GoogleCodeExporter commented 9 years ago
真的非常感谢,回答又很及时,感动啊,因为有你们,我们��
�以更好的了解外面的世界。我也会帮助认识和不认识的人学�
��翻墙

Original comment by wangke...@gmail.com on 13 Nov 2012 at 1:46

GoogleCodeExporter commented 9 years ago
太好了!原来我的App还在,以激活。非常感谢!

Original comment by Turing.H...@gmail.com on 15 Nov 2012 at 3:58