Warning: copy(/home/sheer/public_html/wordpress/wp-content/wflogs//GeoLite2-Country.mmdb): failed to open stream: No such file or directory in /home/sheer/public_html/wordpress/wp-content/plugins/wordfence/lib/wordfenceClass.php on line 2073
Never been one to let the carrier drop » Blog Archive RabbitMQ websocket URL wrong in documentation - Never been one to let the carrier drop

RabbitMQ websocket URL wrong in documentation

Just sticking this here in the hopes that it will get listed in google and maybe save some folks a little time.

If you are trying to use rabbitMQ’s websocket STOMP connector, as discussed on https://www.rabbitmq.com/stomp.html, be aware that the URL given in the documentation on this page is wrong (or perhaps only applies to newer versions of rabbitmq).

The correct way to successfully create a websocket to RabbitMQ 3.5.7 (which ships with Ubuntu 16.04) is as follows:


var ws = new WebSocket(‘ws://yourhostname:15674/stomp/websocket’);
var client = Stomp.over(ws);

Later note: The documentation is correct for newer versions of RabbitMQ.

Leave a Reply