Cannot connect to Node sever via WebSocket with Opera

Forums » Dev.Opera » General Web Development Discussions

You need to be logged in to post in the forums. If you do not have an account, please sign up first.

18. May 2012, 13:12:36

ketting00

Posts: 3

Cannot connect to Node sever via WebSocket with Opera

Hi,

I've build a server on Node.js and tried to established connection by following this guideline [http://dev.opera.com/articles/view/introducing-web-sockets/].

However, my Opera browser always say WebSocket closed :-(. I've tried to enable websocket and it says: [User Prefs No changes to save in this section].

I have no problem establishing the connection using Google Chrome and Firefox browser.

How could I solve this problem and I need help desperately because my project is built around Opera Labs.

Thanks for your help in advance.
Ket

19. May 2012, 09:25:52

ketting00

Posts: 3

Well, according to this thread I know why.
http://my.opera.com/community/forums/topic.dml?id=1366522

This is hopeless.

25. May 2012, 00:07:08

spadija

Posts: 1635

Unless you have some specific reason to use pure WebSockets, I would suggest Socket IO. It will use a WebSocket if possible, fall back to Flash, long-polling or other methods if not, and it's dead simple to use.

Forums » Dev.Opera » General Web Development Discussions