Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

nowjs not working in opera, #160

Open
shimondoodkin opened this Issue · 8 comments

6 participants

Shimon Doodkin Eric Zhang André Caribé Gustavo Scanferla Ritik Malhotra Guro
Shimon Doodkin

for example see
http://nowjs.com/examples

About Opera
Version information
Version
11.52

Build
1100

Platform
Win32

System
Windows 7

Eric Zhang

Reproduced. Looking into it

André Caribé

Same on Opera/9.80 (Macintosh; Intel Mac OS X 10.6.8; U; pt-BR) Presto/2.7.62 Version/11.01

Gustavo Scanferla

Not working here too.

Opera 11.51 (Windows 7)

@ericz have you looked into it?

Thanks in advance :)

Eric Zhang
Gustavo Scanferla
Ritik Malhotra

Hey Gustavo,

It turns out that this is a known problem with Socket.IO and Opera [1] [2]. WebSockets comes disabled by default in Opera, and Socket.IO is unable to properly fallback to any of the other options, which is why it ends up failing.

It seems like Socket.IO fixed this issue a while back though [3], so try updating your Socket.IO and see if that works. Alternatively, you can try to follow some workarounds people have found and listed in this issue: [4]. Lastly, if none of those options work, try using one of the other transports instead of WebSockets, which you can easily do when initializing Nowjs:

var nowjs = require("now");
var everyone = nowjs.initialize(yourHttpServer, {
  socketio: {
    transports: ['xhr-polling', 'jsonp-polling']
  }
});

Let me know if any of that works out for you!

Thanks,
Ritik

[1] Automattic/socket.io#274
[2] http://stackoverflow.com/questions/7858173/node-js-and-socket-io-problems-in-opera-browser
[3] Automattic/socket.io#274 (comment)
[4] Automattic/socket.io#274 (comment)

Guro

Have tried this but no results

Gustavo Scanferla

@ritikm I will see if the update solves this issue.

Thanks for such detailed comment!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.