I've just enabled stomp plugin in my rabbitmq server.
I've been trying all day to run this examples https://github.com/rabbitmq/rabbitmq-web-stomp-examples (and others) and I always get:
"Opening Web Socket..." I receive the request to connect in my server (I can see it in rabbit logs)
And after a while the client disconnects saying:
"Whoops! Lost connection to http://localhost:61613/stomp"
note: I've tried to subscribe to a queue through telnet and everything works great but not with Sockjs.
1) Can anyone help me?
2) I notice that in every examples they always add /stomp to url. Why is that? Do i have to configure something special on the rabbit stomp adapter or is the way like the plugin is done?
I've installed the plugin using this "tutorial": http://www.rabbitmq.com/stomp.html
basically i run this command: rabbitmq-plugins enable rabbitmq_stomp
3) In this example i tried to replace http:// for ws:// but the answer was exactly the same but more quickly to answer "the lost connection". I noticed too in firebug console that the url that it is trying to connect is:
(or http://localhost:61613/stomp/info
or ws://localhost:61613/info or ws://localhost:61613/stomp/info depending the given url)http://localhost:61613/info
4) In other example it happened something strange. If i let the http the answer of "lost connection" appears. If i change it to ws it starts to give me cross domain problems.
I would appreciate any help.