good20087758521 / apjp

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

apjp搭建在gae上的问题 #131

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
配置应该都是对的,因为下午试过twitter和gmail,现在我运行AP
JP_LOCAL.bat后总是很难连上,时段时序。
显示内容如下:

APJP: START_PROXY_SERVER
APJP_LOCAL_PROXY_SERVER: PROXY_SERVER/START
APJP_LOCAL_PROXY_SERVER: PROXY_SERVER/START_PROXY_SERVER
APJP_LOCAL_PROXY_SERVER: PROXY_SERVER/START_PROXY_SERVER_WORKERS
APJP_LOCAL_PROXY_SERVER: PROXY_SERVER/START_HTTP_PROXY_SERVER
APJP_LOCAL_HTTP_PROXY_SERVER: HTTP_PROXY_SERVER/START
APJP_LOCAL_HTTP_PROXY_SERVER: HTTP_PROXY_SERVER/START_HTTP_PROXY_SERVER
APJP_LOCAL_HTTP_PROXY_SERVER: HTTP_PROXY_SERVER/START_HTTP_PROXY_SERVER_WORKERS
APJP_LOCAL_HTTP_PROXY_SERVER: HTTP_PROXY_SERVER/START_HTTP_SERVER
APJP_LOCAL_HTTP_SERVER: HTTP_SERVER/START
APJP_LOCAL_HTTP_SERVER: HTTP_SERVER/START_HTTP_SERVER
APJP_LOCAL_HTTP_SERVER: HTTP_SERVER/START_HTTP_SERVER_WORKERS
APJP_LOCAL_PROXY_SERVER: PROXY_SERVER/START_HTTPS_PROXY_SERVER
APJP_LOCAL_HTTPS_PROXY_SERVER: HTTPS_PROXY_SERVER/START
APJP_LOCAL_HTTPS_PROXY_SERVER: HTTPS_PROXY_SERVER/START_HTTPS_PROXY_SERVER
APJP_LOCAL_HTTPS_PROXY_SERVER: HTTPS_PROXY_SERVER/START_HTTPS_PROXY_SERVER_WORKE
RS
APJP_LOCAL_HTTPS_PROXY_SERVER: HTTPS_PROXY_SERVER/START_HTTPS_SERVERS
APJP: START_PROXY_SERVER: OK
APJP: TEST_HTTP_REQUESTS
APJP: HTTP_REQUESTS/TEST: EXCEPTION
APJP.HTTP11.HTTPRequestException: HTTP_REQUEST/OPEN
        at APJP.HTTP11.HTTPRequest.open(HTTPRequest.java:123)
        at APJP.HTTP11.HTTPRequests.test(HTTPRequests.java:79)
        at APJP.Main.main(Main.java:257)
Caused by: java.net.SocketException: Connection reset
        at java.net.SocketInputStream.read(Unknown Source)
        at java.net.SocketInputStream.read(Unknown Source)
        at sun.security.ssl.InputRecord.readFully(Unknown Source)
        at sun.security.ssl.InputRecord.read(Unknown Source)
        at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
        at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source
)
        at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
        at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
        at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
        at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect
(Unknown Source)
        at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(Unknown Sou
rce)
        at APJP.HTTP11.HTTPRequest.open(HTTPRequest.java:119)
        ... 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/OPEN
        at APJP.HTTP11.HTTPRequest.open(HTTPRequest.java:123)
        at APJP.HTTP11.HTTPRequests.test(HTTPRequests.java:79)
        ... 1 more
Caused by: java.net.SocketException: Connection reset
        at java.net.SocketInputStream.read(Unknown Source)
        at java.net.SocketInputStream.read(Unknown Source)
        at sun.security.ssl.InputRecord.readFully(Unknown Source)
        at sun.security.ssl.InputRecord.read(Unknown Source)
        at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
        at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source
)
        at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
        at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
        at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
        at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect
(Unknown Source)
        at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(Unknown Sou
rce)
        at APJP.HTTP11.HTTPRequest.open(HTTPRequest.java:119)
        ... 2 more
APJP: TEST_HTTP_REQUESTS: NOT OK
APJP: TEST_HTTPS_REQUESTS
APJP: HTTPS_REQUESTS/TEST: EXCEPTION
APJP.HTTP11.HTTPSRequestException: HTTPS_REQUEST/OPEN
        at APJP.HTTP11.HTTPSRequest.open(HTTPSRequest.java:123)
        at APJP.HTTP11.HTTPSRequests.test(HTTPSRequests.java:68)
        at APJP.Main.main(Main.java:274)
Caused by: java.net.ConnectException: Connection timed out: connect
        at java.net.TwoStacksPlainSocketImpl.socketConnect(Native Method)
        at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
        at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
        at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
        at java.net.PlainSocketImpl.connect(Unknown Source)
        at java.net.SocksSocketImpl.connect(Unknown Source)
        at java.net.Socket.connect(Unknown Source)
        at sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
        at sun.security.ssl.BaseSSLSocketImpl.connect(Unknown Source)
        at sun.net.NetworkClient.doConnect(Unknown Source)
        at sun.net.www.http.HttpClient.openServer(Unknown Source)
        at sun.net.www.http.HttpClient.openServer(Unknown Source)
        at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
        at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
        at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewH
ttpClient(Unknown Source)
        at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Sour
ce)
        at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect
(Unknown Source)
        at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(Unknown Sou
rce)
        at APJP.HTTP11.HTTPSRequest.open(HTTPSRequest.java:119)
        ... 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/OPEN
        at APJP.HTTP11.HTTPSRequest.open(HTTPSRequest.java:123)
        at APJP.HTTP11.HTTPSRequests.test(HTTPSRequests.java:68)
        ... 1 more
Caused by: java.net.ConnectException: Connection timed out: connect
        at java.net.TwoStacksPlainSocketImpl.socketConnect(Native Method)
        at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
        at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
        at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
        at java.net.PlainSocketImpl.connect(Unknown Source)
        at java.net.SocksSocketImpl.connect(Unknown Source)
        at java.net.Socket.connect(Unknown Source)
        at sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
        at sun.security.ssl.BaseSSLSocketImpl.connect(Unknown Source)
        at sun.net.NetworkClient.doConnect(Unknown Source)
        at sun.net.www.http.HttpClient.openServer(Unknown Source)
        at sun.net.www.http.HttpClient.openServer(Unknown Source)
        at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
        at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
        at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewH
ttpClient(Unknown Source)
        at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Sour
ce)
        at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect
(Unknown Source)
        at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(Unknown Sou
rce)
        at APJP.HTTP11.HTTPSRequest.open(HTTPSRequest.java:119)
        ... 2 more
APJP: TEST_HTTPS_REQUESTS: NOT OK

另外还有个问题:
运行APJP_LOCAL_UI.bat会出来二个命令窗口,gae 
wiki有介绍只是提到最小化那个有start和stop的窗口,别的还应�
��怎么做,谢谢!

Original issue reported on code.google.com by zdcs9...@gmail.com on 11 Dec 2012 at 2:26

GoogleCodeExporter commented 9 years ago

Original comment by goknmuse on 13 Dec 2012 at 4:04