tel8618217223380 / jap

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

jap on dotcloud ,it don't work #26

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. server :JAP_WS_REMOTE_PYTHON_DOTCLOUD-2.0.0-SNAPSHOT-3
2. local : JAP_WS_LOCAL_PYTHON_WINDOWS-2.0.0-SNAPSHOT-2
3.execute JAP_WS_LOCAL.bat

What is the expected output? What do you see instead?
D:\Documents\Downloads\JAP_WS_LOCAL_PYTHON_WINDOWS-2.0.0-SNAPSHOT-2\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.connectionLost
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.connectionLost

It stucks here.
What version of the product are you using? On what operating system?
JAP_WS_LOCAL_PYTHON_WINDOWS-2.0.0-SNAPSHOT-2
&
JAP_WS_REMOTE_PYTHON_DOTCLOUD-2.0.0-SNAPSHOT-3
Please provide any additional information below.
{
    "LOGGER":
    {
        "LEVEL": 10
    },
    "LOCAL_PROXY_SERVER":
    {
        "ADDRESS": "127.0.0.1",
        "PORT": 1080
    },
    "REMOTE_PROXY_SERVERS":
    [
        {
            "TYPE": "HTTPS",
            "ADDRESS": "xiao-xilou.dotcloud.com",
            "PORT": 443,
            "AUTHENTICATION":
            {
                "USERNAME": "1",
                "PASSWORD": "1"
            },
            "CERTIFICATE":
            {
                "AUTHENTICATION":
                {
                    "FILE": ""
                }
            }
        }
    ],
    "PROXY_SERVER":
    {
        "ADDRESS": "",
        "PORT": 0,
        "AUTHENTICATION":
        {
            "USERNAME": "",
            "PASSWORD": ""
        }
    }
}

 JAP_WS_REMOTE.json 

{
    "LOGGER":
    {
        "LEVEL": 10
    },
    "REMOTE_PROXY_SERVER":
    {
        "TYPE": "HTTPS",
        "AUTHENTICATION":
        [
            {
                "USERNAME": "1",
                "PASSWORD": "1"
            }
        ]
    }
}
The user name and password is just an example

thanks !

Original issue reported on code.google.com by xilo...@gmail.com on 1 Feb 2013 at 6:09

GoogleCodeExporter commented 8 years ago
Can you attach your DOTCLOUD logs (dotcloud logs <application-id>.www)?
What is your browser?
What is your browser proxy configuration?

Original comment by jeroen.v...@gmail.com on 1 Feb 2013 at 7:05

GoogleCodeExporter commented 8 years ago
 browser:chrome 24.0.1312.57 m
       127.0.0.1 1080 sock5
sorry, I do not know where is the dotcloud logs。
something like this ?

 exec dotcloud logs  command

Warning: Your cli version (0.9.1) is outdated.
[www.0] ==> /var/log/supervisor/app.log <==
[www.0] DEBUG:JAP.JAP_WS_REMOTE:WSInputProtocol.__init__
[www.0] DEBUG:JAP.JAP_WS_REMOTE:WSInputProtocol.onClose
[www.0] DEBUG:JAP.JAP_WS_REMOTE:WSInputProtocol.__init__
[www.0] DEBUG:JAP.JAP_WS_REMOTE:WSInputProtocol.onClose
[www.0] DEBUG:JAP.JAP_WS_REMOTE:WSInputProtocol.__init__
[www.0] DEBUG:JAP.JAP_WS_REMOTE:WSInputProtocol.onClose
[www.0] DEBUG:JAP.JAP_WS_REMOTE:WSInputProtocol.__init__
[www.0] DEBUG:JAP.JAP_WS_REMOTE:WSInputProtocol.onClose
[www.0] DEBUG:JAP.JAP_WS_REMOTE:WSInputProtocol.__init__
[www.0] DEBUG:JAP.JAP_WS_REMOTE:WSInputProtocol.onClose
[www.0] DEBUG:JAP.JAP_WS_REMOTE:WSInputProtocol.__init__
[www.0] DEBUG:JAP.JAP_WS_REMOTE:WSInputProtocol.onClose
[www.0] DEBUG:JAP.JAP_WS_REMOTE:WSInputProtocol.__init__
[www.0] DEBUG:JAP.JAP_WS_REMOTE:WSInputProtocol.onClose
[www.0] DEBUG:JAP.JAP_WS_REMOTE:WSInputProtocol.__init__
[www.0] DEBUG:JAP.JAP_WS_REMOTE:WSInputProtocol.onClose
[www.0] DEBUG:JAP.JAP_WS_REMOTE:WSInputProtocol.__init__
[www.0] DEBUG:JAP.JAP_WS_REMOTE:WSInputProtocol.onClose
[www.0] DEBUG:JAP.JAP_WS_REMOTE:WSInputProtocol.__init__
[www.0] DEBUG:JAP.JAP_WS_REMOTE:WSInputProtocol.onClose
[www.0] ==> /var/log/supervisor/supervisord.log <==
[www.0] 2013-01-30 07:40:47,340 WARN Included extra file 
"/home/dotcloud/current/supervisord.conf" during parsing
[www.0] 2013-01-30 07:40:47,454 INFO RPC interface 'supervisor' initialized
[www.0] 2013-01-30 07:40:47,454 WARN cElementTree not installed, using slower 
XML parser for XML-RPC
[www.0] 2013-01-30 07:40:47,454 CRIT Server 'unix_http_server' running without 
any HTTP authentication checking
[www.0] 2013-01-30 07:40:47,459 INFO daemonizing the supervisord process
[www.0] 2013-01-30 07:40:47,461 INFO supervisord started with pid 143
[www.0] 2013-01-30 07:40:48,469 INFO spawned: 'app' with pid 146
[www.0] 2013-01-30 07:40:49,857 INFO success: app entered RUNNING state, 
process has stayed up for > than 1 seconds (startsecs)

Original comment by xilo...@gmail.com on 1 Feb 2013 at 7:46

GoogleCodeExporter commented 8 years ago
See http://code.google.com/p/jap/issues/detail?id=5#c3

Can you also test with another browser?

Original comment by jeeto.je...@gmail.com on 1 Feb 2013 at 8:17

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I test in ie and firefox ,but The problem is still。
MY os is xp,try it on other pc later 。
thanks a lot!

Original comment by xilo...@gmail.com on 1 Feb 2013 at 8:46