[rabbitmq-discuss] help! websocket problems

Julian Lyndon-Smith julian+rabbitmq at dotr.com
Sat Nov 2 12:03:55 GMT 2013


I have run into a show-stopper where my websocket client (chrome /
firefox) connects to the rabbitmq server, but stops awaiting switching
protocols

so, my rabbitmq server is on 19.168.99.60, my pc is 192.168.99.222

I seem to connect ok (see below), but the subscribe seems to hang. in
chrome dev tools, you can see it stops at websocket "pending"

afraid to say that this is critical for me, I need to be giving a demo
on this project shortly, so would appreciate any help that anyone
could give

thanks

Julian


Web Socket Opened... vendor.js:12432
>>> CONNECT login:mylogin
passcode:mypassword host:vhost1 accept-version:1.1,1.0
heart-beat:10000,10000 vendor.js:12432
<<< CONNECTED session:session-YpgJEC1oHcI6a5VGClN_Sw
heart-beat:10000,10000 server:RabbitMQ/3.2.0 version:1.1
vendor.js:12432
connected to server RabbitMQ/3.2.0 vendor.js:12432
send PING every 10000ms vendor.js:12432
check PONG every 10000ms vendor.js:12432
>>> SUBSCRIBE id:sub-0 destination:/topic/peerStatus

[chrome dev tools]

info
192.168.99.60/stomp
GET
200
OK
application/json
sockjs-0.3.min.js:27
Script
391 B
78 B
538 ms
537 ms
537 ms

websocket
192.168.99.60/stomp/776/d5wz9c_w
GET
101
Switching Protocols
Pending
Other
127 B
0 B
Pending


More information about the rabbitmq-discuss mailing list