felixlu / jap

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

JAP WS on DOTCLOUD fail to work #17

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. push the code into DOTCLOUD 
2. run JAP_WS_LOCAL_PYTHON_WINDOWS-2.0.0-SNAPSHOT-2
3. use Proxy Checker to check 127.0.0.1:1080(socks5)

What is the expected output? What do you see instead?

D:\Ksda\JAP_WS_LOCAL_PYTHON_WINDOWS-2.0.0-SNAPSHOT-2>JAP_WS_LOCAL.exe
DEBUG:JAP.JAP_LOCAL:InputProtocolFactory.__init__
DEBUG:JAP.JAP_WS_LOCAL:WSInputProtocol.__init__
DEBUG:JAP.JAP_LOCAL:InputProtocol.__init__
DEBUG:JAP.JAP_LOCAL:InputProtocol.connectionMade
DEBUG:JAP.JAP_LOCAL:InputProtocol.dataReceived
DEBUG:JAP.JAP_LOCAL:InputProtocol.processDataState0
DEBUG:JAP.JAP_LOCAL:InputProtocol.dataReceived
DEBUG:JAP.JAP_LOCAL:InputProtocol.processDataState1
DEBUG:JAP.JAP_LOCAL:InputProtocol.remoteAddressType: 3
DEBUG:JAP.JAP_LOCAL:InputProtocol.remoteAddress: www.google.com
DEBUG:JAP.JAP_LOCAL:InputProtocol.remotePort: 80
DEBUG:JAP.JAP_WS_LOCAL:WSInputProtocol.do_CONNECT
DEBUG:JAP.JAP_WS_LOCAL:WSOutputProtocolFactory.__init__
DEBUG:JAP.JAP_WS_LOCAL:WSOutputProtocol.__init__
DEBUG:JAP.JAP_WS_LOCAL:WSOutputProtocol.onClose
DEBUG:JAP.JAP_LOCAL:InputProtocol.outputProtocol_connectionLost
DEBUG:JAP.JAP_LOCAL:InputProtocol.connectionLost
DEBUG:JAP.JAP_WS_LOCAL:WSOutputProtocol.inputProtocol_connectionLost

[29:27] Testing Started.
    Proxy Server
    Address:    127.0.0.1:1080
    Protocol:   SOCKS 5
    Authentication: NO

[29:27] Starting: Test 1: Connection to the Proxy Server
[29:27] IP Address: 127.0.0.1
[29:27] Connection established
[29:27] Test passed.
[29:27] Starting: Test 2: Connection through the Proxy Server
[29:27] Authentication was successful.
[29:28] Error : the proxy server cannot establish connection to 
www.google.com:80
    Error = 0x05 (Connection refused).
    Please confirm that the target host address is correct.
    The error may also indicate that the proxy server is not operating properly.
[29:28] Test failed.
[29:28] Testing Finished.

What version of the product are you using? On what operating system?
JAP_WS_REMOTE_PYTHON_DOTCLOUD-2.0.0-SNAPSHOT-2
&
JAP_WS_LOCAL_PYTHON_WINDOWS-2.0.0-SNAPSHOT-2

Please provide any additional information below.

Original issue reported on code.google.com by ksdaf...@gmail.com on 17 Jan 2013 at 7:31

Attachments:

GoogleCodeExporter commented 8 years ago
You should configure JAP with HTTPS.
Also 1.0.0 is not compatible with 2.0.0 so you cannot reuse JAP_WS_LOCAL.json 
and JAP_WS_REMOTE.json.
See http://code.google.com/p/jap/issues/detail?id=14#c6 for screenshots of a 
JAP_WS_REMOTE_PYTHON_DOTCLOUD installation.

Original comment by jeroen.v...@gmail.com on 17 Jan 2013 at 8:19

GoogleCodeExporter commented 8 years ago
It works well.
Thanks a lot! 

Original comment by ksdaf...@gmail.com on 17 Jan 2013 at 1:19

GoogleCodeExporter commented 8 years ago
No problem :)

Original comment by jeroen.v...@gmail.com on 17 Jan 2013 at 2:42