tel8618217223380 / jap

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

Can JAP run on modulus.io? #36

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
modulus.io is a new paas which has websocket support

I download the latest jap JAP_WS_REMOTE_NODE_DOTCLOUD-2.0.0-SNAPSHOT.zip and 
deploy it on modulus.io.

without lucky, I got the following log:
Application Logs

> websocket@1.0.8 install /mnt/data/2/node_modules/websocket
> node install.js

[websocket v1.0.8] Attempting to compile native extensions.
[websocket v1.0.8] Native extension compilation successful!
websocket@1.0.8 node_modules/websocket
path.existsSync is now called `fs.existsSync`.

Original issue reported on code.google.com by fifa...@gmail.com on 3 Mar 2013 at 10:23

GoogleCodeExporter commented 8 years ago
Yes you can install JAP on https://modulus.io/.
See attachment.

Original comment by jeroen.v...@gmail.com on 3 Mar 2013 at 11:27

Attachments:

GoogleCodeExporter commented 8 years ago
thanks,  jeroen

I tried the new file, but end up with this log:

> websocket@1.0.8 install 
/mnt/data/1/JAP_WS_REMOTE_NODE_MODULUS-2.0.0-SNAPSHOT/node_modules/websocket
> node install.js

[websocket v1.0.8] Attempting to compile native extensions.
[websocket v1.0.8] Native extension compilation successful!
websocket@1.0.8 node_modules/websocket
Forever detected script exited with code: null
path.existsSync is now called `fs.existsSync`.

Original comment by fifa...@gmail.com on 3 Mar 2013 at 12:03

GoogleCodeExporter commented 8 years ago
I have installed JAP_WS_REMOTE_NODE_MODULUS-2.0.0-SNAPSHOT.zip with the web 
interface and I have no problems.
How do you install JAP_WS_REMOTE_NODE_MODULUS-2.0.0-SNAPSHOT.zip?

Original comment by jeroen.v...@gmail.com on 3 Mar 2013 at 12:20

GoogleCodeExporter commented 8 years ago
TO Jeroen
I have tested it and it works fine with JAP_WS_LOCAL_NODE-2.0.0-SNAPSHOT, 
however, can NOT work with JAP_WS_LOCAL_PYTHON-2.0.0-SNAPSHOT-2.

TO fifan...
JAP_WS_REMOTE_NODE_MODULUS-2.0.0-SNAPSHOT.zip
You can NOT visit your app address with your browser without "USERNAME" and 
"PASSWORD".
So you probably have deployed JAP_WS_REMOTE_NODE_MODULUS successfully, however, 
just do not know it.
The only way to test it if it works, is to use it with 
JAP_WS_LOCAL_NODE-2.0.0-SNAPSHOT.

>"TYPE": "HTTPS",
>"ADDRESS": "AppName-1234.onmodulus.net",
>"PORT": 443,
>"AUTHENTICATION":
>{
>    "USERNAME": "username",
>    "PASSWORD": "password"
>},

Original comment by goknmuse on 3 Mar 2013 at 1:26

GoogleCodeExporter commented 8 years ago
It works! Thanks!
To Jeroen, I deployed it and cannot open the APP, so I check the log on modulus 
site, 
I just didn't try the client, so that's my mistake.
To Goknmuse, thanks for your reply, it really works
That's cool ,Thanks.

Original comment by fifa...@gmail.com on 3 Mar 2013 at 1:59

GoogleCodeExporter commented 8 years ago
TO Jeroen
I maybe be being busy for months. 
So I can not help you then. Sorry. :(

Original comment by goknmuse on 3 Mar 2013 at 2:06

GoogleCodeExporter commented 8 years ago
Thanks gk!

I tested MODULUS with JAP_WS_LOCAL_PYTHON:
- HTTP: OK
- HTTPS: not OK

I think there is a problem with the MODULUS certificate (with OPENSSL):
openssl s_client -connect XXX-YYY.onmodulus.net:443
CONNECTED(00000003)
2136:error:140790E5:SSL routines:SSL23_WRITE:ssl handshake failure:s23_lib.c:188
:

Original comment by jeroen.v...@gmail.com on 4 Mar 2013 at 10:35

GoogleCodeExporter commented 8 years ago
Modulus uses SNI for SSL support. To test with openssl, use the -servername 
option.

-servername XXX-YYY.onmodulus.net

Original comment by bran...@modulus.io on 22 Apr 2013 at 5:23