Answer by Ilya for HAProxy + WebSocket Disconnection
We are using a Netty implementation https://github.com/ibdknox/socket.io-netty and here is the HAProxy file that worked for us. The trick to get it not to fall back to XHR-Polling but use Websockets is...
View ArticleAnswer by Shripad Krishna for HAProxy + WebSocket Disconnection
Upgrade to latest version of socket.io (0.6.8 ->npm install socket.io@0.6.8, which is patched to work with HAProxy)and download the latest version of HAProxy.Here is an example config file:global...
View ArticleAnswer by Robin Duckett for HAProxy + WebSocket Disconnection
Try using Socket.io instead of node-websockets-server, it's an abstraction layer with fallbacks to many different methods of instant communication between browser and server.Whilst it's true WebSockets...
View ArticleAnswer by kanaka for HAProxy + WebSocket Disconnection
It's likely that your client is using WebSockets version 76. In which case you can't use "mode http" because the WebSockets handshake violates HTTP. There seems to be ambivalence in the committee about...
View ArticleHAProxy + WebSocket Disconnection
I am using HAProxy to send requests, on a subdomain, to a node.js app. I am unable to get WebSockets to work. So far I have only been able to get the client to establish a WebSocket connection but then...
View Article