websocket router cant create request

pazuzu
Člen | 29
+
0
-

zdravim,
zkousim rozchodit chat pres websockety, jdu podle

spustil jsem server, console napise „Successfully Connected!“

ale, kdyz tam zkusim

<script>
    session.subscribe("acme/channel", function(uri, payload){
        console.log("Received message", payload.msg);
    });

    session.publish('your/channel', 'This is a message!');
</script>

tak mi server hodi
[ERROR] An error (404) has occurred: Invalid message – router cant create request.

a console
Disconnected for Connection lost – scheduled 1th reconnect to occur in 5 second(s). with code 6

Diky