Why my crossbar not reachable from nodejs server?

#1

Hello this crosbar config works fine with browser clients but fail with nodejs clients with onclosed event with unreachabl reasson.

I would like to know what is my mistake or maybe this is bug or maybe feature?

          {
"type": "web"          ,
"endpoint"            : {
"type": "tcp"            ,
"port": 443            ,
"tls"              : {
"certificate": "/etc/letsencrypt/live/kopnik.org/fullchain.pem"              ,
"key": "/etc/letsencrypt/live/kopnik.org/privkey.pem"
            }
},
"paths"            : {
"/"              : {
"type": "static"              ,
"directory": "../dist"
            },
"ws"              : {
"type": "websocket"              ,
"options"                :{
"enable_webstatus": true                ,
"max_frame_size": 1048576                ,
"max_message_size": 1048576                ,
"auto_fragment_size": 65536                ,
"fail_by_drop": true                ,
"open_handshake_timeout": 2500                ,
"close_handshake_timeout": 1000                ,
"auto_ping_interval": 10000                ,
"auto_ping_timeout": 5000                ,
"auto_ping_size": 4
              },
"serializers"                : [
"json"
              ],
"cookie"                : {
"store"                  : {
"type": "file"                  ,
"filename": "cookies.dat"
                }
},
"auth"                : {
"ticket"                  : {
"type": "dynamic"                  ,
"authenticator": "org.kopnik.authenticate"
                },
"anonymous"                  : {
"type": "static"                  ,
"role": "anonymous"
                },
"cookie"                : {
}
}
}
}
}
0 Likes

#2

Hi Alexey!

A connection from Node.js should be possible (so not a feature).

Is this related to your other question regarding TLS? https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!topic/autobahnws/O1I0oeYLjSw

Regards,

Alex

0 Likes

#3

I think it may be related with my prev quesiton. We should resolve it first and try again.

···

вторник, 28 марта 2017 г., 20:51:26 UTC+5 пользователь Alexander Gödde написал:

Hi Alexey!

A connection from Node.js should be possible (so not a feature).

Is this related to your other question regarding TLS? https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!topic/autobahnws/O1I0oeYLjSw

Regards,

Alex

0 Likes