jmesnil / stomp-websocket

Stomp client for Web browsers and node.js apps
http://jmesnil.net/stomp-websocket/doc/
Apache License 2.0
1.43k stars 586 forks source link

RabbitMQ Stomp Endpoint 404 Not Found http://127.0.0.1:15674/stomp #150

Open agtruworth opened 5 years ago

agtruworth commented 5 years ago

I am using below code to connect with RabbitMQ Stomp var ws = new SockJS('http://127.0.0.1:15674/stomp'); var client = Stomp.over(ws); But I get below error in the browser console GET http://localhost:15674/ws/info 404 Not Found

Please suggest

skarthik88 commented 3 years ago

Am getting 404 Not found exception while trying to connect to stomp server through url http://hostname:15674/stomp.

Rabbit MQ version - 3.8.1 Erlang Version - 22.1

But the same URL is working fine in RabbitMQ 3.5.3 and Erlang 18 version.Am getting a message like "Welcome to Sockjs" after hitting the Stomp server URL

Any suggestion please

Thanks in advance

nileio commented 3 years ago

RabbitMQ doesn't use SockJS server as backend anymore - they moved to cowboy http / websocket server. Don't need to use SockJS client, use the standard WebSocket