Search code examples
node.jsoperasocket.io

Node.js and socket.io - problems in Opera browser


I use a browser - Opera version 11.52. I use version of the node.js - v0.4.12 and socket.io version 0.8.5.

I tried this example - https://github.com/LearnBoost/socket.io/tree/master/examples/chat

This page starts up and displays only the message - Connecting to socket.io server = In opera.

Other browsers work properly - Firefox, IE, Chrome.

I tried to debug node.js - No errors.


Solution

  • Try following this guide: https://github.com/LearnBoost/Socket.IO/wiki/Configuring-Socket.IO and configuring the transports setting to something that prioritizes xhr-polling over websockets and see if that resolves the issue. My experience with using socket.io on production web apps has been that the websocket transport is not as reliable as xhr-polling.