yahaosoft / apjp

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

GAE平台出现HTTP 503 error的解决方法 #94

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
APJP.HTTP11.HTTPSRequestException: HTTPS_REQUEST/GET_HTTP_RESPONSE_MESSAGE
        at APJP.HTTP11.HTTPSRequest.getHTTPResponseMessage(HTTPSRequest.java:623
)
        at APJP.HTTPS.HTTPSServerWorker.process(HTTPSServerWorker.java:361)
        at APJP.HTTPS.HTTPSServerWorker.run(HTTPSServerWorker.java:129)
        at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: Server returned HTTP response code: 503 for URL:
 https://google.cn/HTTPS
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown So
urce)
        at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unkn
own Source)
        at APJP.HTTP11.HTTPSRequest.getHTTPResponseMessage(HTTPSRequest.java:426
)
        ... 3 more

Original issue reported on code.google.com by chinalua...@gmail.com on 5 Oct 2012 at 6:33

GoogleCodeExporter commented 9 years ago
问题原因: "Caused by: java.io.IOException: Server returned HTTP response 
code: 503 for URL: https://google.cn/HTTPS" 应该是google.cn 
受到干扰的,换其他的Google的Domain或IP,就没问题的。

解决方法: 
http://code.google.com/p/apjp/wiki/InstallGuideOnGAE#%E7%BC%96%E8%BE%91APJP_LOCA
L/APJP.properties

图片下面的三段内容,仔细看看。

例如: 

APJP_REMOTE_HTTP_SERVER_1_REQUEST_URL=https://google.com.pk/HTTP

APJP_REMOTE_HTTPS_SERVER_1_REQUEST_URL=https://google.com.pk/HTTPS

Original comment by goknmuse on 5 Oct 2012 at 11:28

GoogleCodeExporter commented 9 years ago

Original comment by goknmuse on 30 Oct 2012 at 12:43