[rabbitmq-discuss] Error during WebSocket handshake: Sent non-empty 'Sec-WebSocket-Protocol' header but no response was received

joshua__lim joshua__lim at hotmail.com
Fri Mar 21 12:52:51 GMT 2014


Hi,

I was trying to use Jeff Mesnil's webworker example
(https://github.com/jmesnil/stomp-websocket/tree/master/example/webworker)
for the STOMP Over WebSocket to connect to RabbitMQ's SOCKJS server but
encountered an error:

WebSocket connection to 'ws://localhost:15674/stomp/websocket' failed: Error
during WebSocket handshake: Sent non-empty 'Sec-WebSocket-Protocol' header
but no response was received :8080/stomp.js:374

Line 374 is "ws = new klass(url, protocols);".

I've copied stomp.js to http://pastebin.com/td6nuhSX

Any advice will be much appreciated.

Rgds,
Joshua



--
View this message in context: http://rabbitmq.1065348.n5.nabble.com/Error-during-WebSocket-handshake-Sent-non-empty-Sec-WebSocket-Protocol-header-but-no-response-was-red-tp34248.html
Sent from the RabbitMQ mailing list archive at Nabble.com.


More information about the rabbitmq-discuss mailing list