I recently enable Websockets on our HTTP server which proxies to a Meteor application that I'm running. I see it do the handshake (i.e. "Switching Protocols") but then all the logs in browser seem to indicate that SockJS is still communicating using HTTP XHR.
Can someone explain why that might be happening? We're using Apache 2.2 with a backport of the mod proxy_wstunnel. I've tested a standalone Websockets app (not Meteor) and that works fine.
Here's a snapshot of what I see in the browser's console, but then I see XHR POST's every 30 seconds thereafter.
[15:45:06.976] GET http://ma-meteor.envx.com/sockjs/251/svmzngwb/websocket [HTTP/1.1 101 Switching Protocols 9ms]
[15:45:07.681] POST http://ma-meteor.envx.com/sockjs/251/imibln7d/xhr [HTTP/1.1 200 OK 8ms]
[15:45:07.682] POST http://ma-meteor.envx.com/sockjs/251/imibln7d/xhr_send [HTTP/1.1 204 No Content 8ms]
[15:45:07.682] POST http://ma-meteor.envx.com/sockjs/251/imibln7d/xhr [HTTP/1.1 200 OK 8ms]
[15:45:07.683] POST http://ma-meteor.envx.com/sockjs/251/imibln7d/xhr [HTTP/1.1 200 OK 6ms]
[15:45:07.641] Connected to Meteor Server.