Closed GoogleCodeExporter closed 9 years ago
What version of APJP_LOCAL and APJP_REMOTE_APPENGINE do you use?
What is the APJP_LOCAL_HTTP_SERVER_REQUEST_URL and
APJP_LOCAL_HTTPS_SERVER_REQUEST_URL?
Original comment by jeroen.v...@gmail.com
on 11 Aug 2011 at 4:26
[deleted comment]
[deleted comment]
APJP_LOCAL-0.8.3 APJP_REMOTE_APPENGINE-0.2.1
http://********.appspot.com/HTTP
https://********.appspot.com/HTTPS
I have tried establish two gae remote severs, but failed. I tried to modify the
windows`hosts and let it point to gae host server and it doesn`t work.
Original comment by zhenghui...@gmail.com
on 11 Aug 2011 at 5:26
I guess that your appid's IP is blocked or DnS pollution by GFW, just visit
http://just-ping.com and ping your appid, then edit
c:\windows\system32\drivers\etc\hosts with any unblocked google IP.
To prevent DNS cache pollution/posioning or something else, you may visit these
project
http://code.google.com/p/pwx-dns-proxy/
http://code.google.com/p/pydnsproxy/
Original comment by twf...@gmail.com
on 13 Aug 2011 at 1:33
I find 2 my appid`ip and ping with just-ping.com, get it`s ip, then add the ip
to the hosts, but failed .
When I accessed http://*****.appspot.com/HTTP, the web page said" Error: HTTP
method GET is not supported by this URL". Maybe it`s the problem.
Original comment by zhenghui...@gmail.com
on 13 Aug 2011 at 5:19
遇到同样的问题~~都是NOT OK
用goagent可以成功~~~
Original comment by wangrui1...@gmail.com
on 15 Aug 2011 at 11:09
thanks,apjp is stable in php version, and I wil wait it`s stable gae version.
Original comment by zhenghui...@gmail.com
on 15 Aug 2011 at 11:47
APJP uses HTTP method POST, so "Error: HTTP method GET is not supported by this
URL" is normal.
APJP_REMOTE_APPENGINE works here.
Can you test with attached APJP.properties?
Original comment by jeroen.v...@gmail.com
on 15 Aug 2011 at 12:50
Attachments:
I have used the above attachment to replace my original properties, but it
stil doesn`t work. I also replaced it with the original APJP_LOCAL file, it
still does`n work.
Here is the screen infomation below.
C:\****\***\*****\APJP_LOCAL>java -Djavax.net.ssl.keyStore=APJP.KS.jks -Djav
ax.net.ssl.keyStorePassword=password -Djavax.net.ssl.trustStore=APJP.TS.jks -Dja
vax.net.ssl.trustStorePassword=password -jar APJP.jar APJP.properties
APJP: START APJP_LOCAL_PROXY_SERVER
APJP_LOCAL_PROXY_SERVER: START
APJP_LOCAL_PROXY_SERVER: START OK
APJP: START APJP_LOCAL_PROXY_SERVER OK
APJP: START APJP_LOCAL_HTTP_PROXY_SERVER
APJP_LOCAL_HTTP_PROXY_SERVER: START
APJP_LOCAL_HTTP_PROXY_SERVER: START OK
APJP: START APJP_LOCAL_HTTP_PROXY_SERVER OK
APJP: START APJP_LOCAL_HTTP_SERVER
APJP_LOCAL_HTTP_SERVER: START
APJP_LOCAL_HTTP_SERVER: START OK
APJP: START APJP_LOCAL_HTTP_SERVER OK
APJP: TEST APJP_LOCAL_HTTP_SERVER
APJP_LOCAL_HTTP_SERVER: TEST
APJP_LOCAL_HTTP_SERVER: EXCEPTION
java.net.ConnectException: Connection timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(Unknown Source)
at com.sun.net.ssl.internal.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.HTTP.HTTPServerWorker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
APJP_LOCAL_HTTP_SERVER: TEST NOT OK
APJP_LOCAL_HTTP_SERVER: EXCEPTION
APJP.HTTP.HTTPServerException: TEST
at APJP.HTTP.HTTPServer.test(Unknown Source)
at APJP.Main.main(Unknown Source)
APJP_LOCAL_HTTP_SERVER: TEST NOT OK
APJP: EXCEPTION
APJP.HTTP.HTTPServerException: TEST_EXCEPTION
at APJP.HTTP.HTTPServer.test(Unknown Source)
at APJP.Main.main(Unknown Source)
Caused by: APJP.HTTP.HTTPServerException: TEST
... 2 more
APJP: TEST APJP_LOCAL_HTTP_SERVER NOT OK
APJP: START APJP_LOCAL_HTTPS_PROXY_SERVER
APJP_LOCAL_HTTPS_PROXY_SERVER: START
APJP_LOCAL_HTTPS_PROXY_SERVER: START OK
APJP: START APJP_LOCAL_HTTPS_PROXY_SERVER OK
APJP: START APJP_LOCAL_HTTPS_SERVER
APJP_LOCAL_HTTPS_SERVER: START
APJP_LOCAL_HTTPS_SERVER: START OK
APJP: START APJP_LOCAL_HTTPS_SERVER OK
APJP: TEST APJP_LOCAL_HTTPS_SERVER
APJP_LOCAL_HTTPS_SERVER: TEST
APJP_LOCAL_HTTPS_SERVER: EXCEPTION
java.net.ConnectException: Connection timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(Unknown Source)
at com.sun.net.ssl.internal.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.HTTPS.HTTPSServerWorker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
APJP_LOCAL_HTTPS_SERVER: EXCEPTION
javax.net.ssl.SSLException: Received close_notify during handshake
at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.recvAlert(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(Un
known Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(Unknown Source
)
at com.sun.net.ssl.internal.ssl.AppOutputStream.write(Unknown Source)
at java.io.OutputStream.write(Unknown Source)
at APJP.HTTPS.HTTPSServer.test(Unknown Source)
at APJP.Main.main(Unknown Source)
APJP_LOCAL_HTTPS_SERVER: TEST NOT OK
APJP: EXCEPTION
APJP.HTTPS.HTTPSServerException: TEST_EXCEPTION
at APJP.HTTPS.HTTPSServer.test(Unknown Source)
at APJP.Main.main(Unknown Source)
Caused by: javax.net.ssl.SSLException: Received close_notify during handshake
at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.recvAlert(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(Un
known Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(Unknown Source
)
at com.sun.net.ssl.internal.ssl.AppOutputStream.write(Unknown Source)
at java.io.OutputStream.write(Unknown Source)
... 2 more
APJP: TEST APJP_LOCAL_HTTPS_SERVER NOT OK
Original comment by zhenghui...@gmail.com
on 15 Aug 2011 at 4:11
嗯~~我试了~~也还是不行~~
Original comment by wangrui1...@gmail.com
on 16 Aug 2011 at 12:49
wangrui1...@gmail.com,
請問你的網絡環景是ADSL還是校園網?系統是WINDOWS,有沒有安
裝個人防火牆?如果HOSTS文件改為用北京谷歌IP能連接嗎?是�
��有IPV6或V4TOV6隧道?連接appspot.com是用HTTP或是HTTPS?北京谷歌
IP: 203.208.39.22 203.208.39.22 203.208.39.22 203.208.39.22 請以
http://tools.whois.net/whoisbyip/ 查证IP,並用HTTPS連接看看,
正常來說GFW不會影響國內的IP
Original comment by twf...@gmail.com
on 16 Aug 2011 at 12:35
我用jeroen.v...@gmail.com提供的附件替换了我的APJP.properties,OK倒
是出现了,但当我使用APJP代理访问www.google.com时,出现如下��
�息:
错误 324
(net::ERR_EMPTY_RESPONSE):服务器已断开连接,且未发送任何数据�
��
请问是怎么回事?(下面是screen infomation)
D:\**\**\**\APJP_LOCAL>java -classpath APJP.jar APJP.Main
*****************************************************************************
*** ***
*** Welcome to the IAIK JCE Library ***
*** ***
*** This version of IAIK-JCE is licensed for evaluation, education, ***
*** research, and use in open-source projects only. ***
*** Commercial use of this software is prohibited. ***
*** For details please see http://jce.iaik.tugraz.at/sales/. ***
*** This message does not appear in the registered commercial version. ***
*** ***
*****************************************************************************
: PROXY_SERVER/START
: HTTP_PROXY_SERVER/START
: HTTP_SERVER/START
: HTTP_SERVER/START
: HTTP_SERVER/START OK
: HTTP_SERVER/START OK
: HTTP_PROXY_SERVER/START
: HTTP_PROXY_SERVER/START OK
: HTTP_PROXY_SERVER/START OK
: HTTPS_PROXY_SERVER/START
: HTTPS_PROXY_SERVER/START
: HTTPS_PROXY_SERVER/START OK
: HTTPS_PROXY_SERVER/START OK
: PROXY_SERVER/START
: PROXY_SERVER/START OK
: PROXY_SERVER/START OK
: HTTP_REQUESTS/TEST
: HTTP_REQUESTS/TEST
: HTTP_REQUESTS/TEST OK
: HTTP_REQUESTS/TEST OK
: HTTPS_REQUESTS/TEST
: HTTPS_REQUESTS/TEST
: HTTPS_REQUESTS/TEST OK
: HTTPS_REQUESTS/TEST OK
: EXCEPTION
java.lang.NullPointerException
at APJP.HTTP.HTTPServerWorker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
: EXCEPTION
java.lang.NullPointerException
at APJP.HTTP.HTTPServerWorker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
: EXCEPTION
java.lang.NullPointerException
at APJP.HTTP.HTTPServerWorker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
: EXCEPTION
java.lang.NullPointerException
at APJP.HTTP.HTTPServerWorker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
: EXCEPTION
java.lang.NullPointerException
at APJP.HTTP.HTTPServerWorker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
: EXCEPTION
java.lang.NullPointerException
at APJP.HTTP.HTTPServerWorker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
: EXCEPTION
java.lang.NullPointerException
at APJP.HTTP.HTTPServerWorker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
: EXCEPTION
java.lang.NullPointerException
at APJP.HTTP.HTTPServerWorker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
: EXCEPTION
java.lang.NullPointerException
at APJP.HTTP.HTTPServerWorker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
: EXCEPTION
java.lang.NullPointerException
at APJP.HTTP.HTTPServerWorker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
: EXCEPTION
java.lang.NullPointerException
at APJP.HTTP.HTTPServerWorker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
: EXCEPTION
java.lang.NullPointerException
at APJP.HTTP.HTTPServerWorker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
: EXCEPTION
java.lang.NullPointerException
at APJP.HTTP.HTTPServerWorker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
: EXCEPTION
java.lang.NullPointerException
at APJP.HTTP.HTTPServerWorker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Original comment by wolf....@gmail.com
on 24 Feb 2012 at 9:10
Original comment by goknmuse
on 24 Nov 2012 at 12:00
Original issue reported on code.google.com by
zhenghui...@gmail.com
on 11 Aug 2011 at 12:24