good20087758521 / apjp

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

PHP架设出现NOT OK问题 #177

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
查看phpinfo(),空间均满足下面这三个条件:
1. 支持PHP版本:5.0.0 或以上
2. 支持MCRYPT版本:2.5.6 或以上
3. 支持OpenSSL版本:0.9.6 或以上

后面我怀疑是空间广告造成的,于是设置了
PROPERTY_KEY=Content-Type
PROPERTY_VALUE=image/png
但是结果还出现NOT OK,不知道是什么问题……

APJP: START_PROXY_SERVER: OK
APJP: TEST_HTTP_REQUESTS
APJP: HTTP_REQUEST/GET_HTTP_RESPONSE_MESSAGE: REQUEST: HEAD / HTTP/1.0
APJP: HTTP_REQUESTS/TEST: EXCEPTION
APJP.HTTP11.HTTPRequestException: HTTP_REQUEST/GET_HTTP_RESPONSE_MESSAGE
        at APJP.HTTP11.HTTPRequest.getHTTPResponseMessage(HTTPRequest.java:623)
        at APJP.HTTP11.HTTPRequests.test(HTTPRequests.java:83)
        at APJP.Main.main(Main.java:257)
Caused by: java.net.SocketException: Unexpected end of file from server
        at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)
        at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
        at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown So
urce)
        at APJP.HTTP11.HTTPRequest.getHTTPResponseMessage(HTTPRequest.java:426)
        ... 2 more
APJP: TEST_HTTP_REQUESTS: EXCEPTION
APJP.HTTP11.HTTPRequestException: HTTP_REQUESTS/TEST
        at APJP.HTTP11.HTTPRequests.test(HTTPRequests.java:107)
        at APJP.Main.main(Main.java:257)
Caused by: APJP.HTTP11.HTTPRequestException: HTTP_REQUEST/GET_HTTP_RESPONSE_MESS
AGE
        at APJP.HTTP11.HTTPRequest.getHTTPResponseMessage(HTTPRequest.java:623)
        at APJP.HTTP11.HTTPRequests.test(HTTPRequests.java:83)
        ... 1 more
Caused by: java.net.SocketException: Unexpected end of file from server
        at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)
        at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
        at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown So
urce)
        at APJP.HTTP11.HTTPRequest.getHTTPResponseMessage(HTTPRequest.java:426)
        ... 2 more
APJP: TEST_HTTP_REQUESTS: NOT OK
APJP: TEST_HTTPS_REQUESTS
APJP: HTTPS_REQUEST/GET_RESPONSE_MESSAGE: REQUEST: HEAD / HTTP/1.0
APJP: HTTPS_REQUESTS/TEST: EXCEPTION
APJP.HTTP11.HTTPSRequestException: HTTPS_REQUEST/GET_HTTP_RESPONSE_MESSAGE
        at APJP.HTTP11.HTTPSRequest.getHTTPResponseMessage(HTTPSRequest.java:623
)
        at APJP.HTTP11.HTTPSRequests.test(HTTPSRequests.java:72)
        at APJP.Main.main(Main.java:274)
Caused by: java.net.SocketException: Unexpected end of file from server
        at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)
        at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
        at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)
        at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown So
urce)
        at APJP.HTTP11.HTTPSRequest.getHTTPResponseMessage(HTTPSRequest.java:426
)
        ... 2 more
APJP: TEST_HTTPS_REQUESTS: EXCEPTION
APJP.HTTP11.HTTPSRequestException: HTTPS_REQUESTS/TEST
        at APJP.HTTP11.HTTPSRequests.test(HTTPSRequests.java:96)
        at APJP.Main.main(Main.java:274)
Caused by: APJP.HTTP11.HTTPSRequestException: HTTPS_REQUEST/GET_HTTP_RESPONSE_ME
SSAGE
        at APJP.HTTP11.HTTPSRequest.getHTTPResponseMessage(HTTPSRequest.java:623
)
        at APJP.HTTP11.HTTPSRequests.test(HTTPSRequests.java:72)
        ... 1 more
Caused by: java.net.SocketException: Unexpected end of file from server
        at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)
        at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
        at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)
        at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown So
urce)
        at APJP.HTTP11.HTTPSRequest.getHTTPResponseMessage(HTTPSRequest.java:426
)
        ... 2 more
APJP: TEST_HTTPS_REQUESTS: NOT OK

Original issue reported on code.google.com by a896543...@gmail.com on 25 May 2013 at 2:09

GoogleCodeExporter commented 9 years ago
我以前遇到过,后来上传APJP_REMOTE-0.8.4.zip版本可以成功,APJP_
REMOTE_PHP-1.0.0反而不行。

Original comment by abch...@gmail.com on 28 May 2013 at 3:18

GoogleCodeExporter commented 9 years ago
Is your URL correct?
See 
http://code.google.com/p/apjp/wiki/InstallGuideOnPHP#%E7%BC%96%E8%BE%91APJP.prop
erties

Original comment by jeroen.v...@gmail.com on 28 May 2013 at 4:54

GoogleCodeExporter commented 9 years ago
试试不用 /?HTTP  /?HTTPS
用index.php可以吗

Original comment by bob.yang...@gmail.com on 2 Aug 2013 at 3:25