nowjs not working in opera, #160

Open
shimondoodkin opened this Issue Dec 3, 2011 · 8 comments

Projects

None yet

6 participants

@shimondoodkin

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

About Opera
Version information
Version
11.52

Build
1100

Platform
Win32

System
Windows 7

@ericz
Contributor
ericz commented Dec 23, 2011

Reproduced. Looking into it

@andrecaribe

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

@scanferla

Not working here too.

Opera 11.51 (Windows 7)

@ericz have you looked into it?

Thanks in advance :)

@ericz
Contributor
ericz commented Feb 7, 2012

Hi Gustavo,

I've been exploring the issue. It doesn't always fail, only on certain page
configurations. It fails such that the rest of the page stop loading
despite the communication between nowjs and server actually happening. I
haven't been able to discover a cause yet but will continue to look into it

Eric

On Sun, Feb 5, 2012 at 7:18 AM, Gustavo Scanferla <
reply@reply.github.com

wrote:

Not working here too.

Opera 11.51 (Windows 7)

@ericz have you looked into it?

Thanks in advance :)


Reply to this email directly or view it on GitHub:
#160 (comment)

510-691-3951
http://ericzhang.com

@scanferla

Eric,

Thank you so much :)

Gustavo

2012/2/6 Eric Zhang <
reply@reply.github.com

Hi Gustavo,

I've been exploring the issue. It doesn't always fail, only on certain page
configurations. It fails such that the rest of the page stop loading
despite the communication between nowjs and server actually happening. I
haven't been able to discover a cause yet but will continue to look into it

Eric

On Sun, Feb 5, 2012 at 7:18 AM, Gustavo Scanferla <
reply@reply.github.com

wrote:

Not working here too.

Opera 11.51 (Windows 7)

@ericz have you looked into it?

Thanks in advance :)


Reply to this email directly or view it on GitHub:
#160 (comment)

510-691-3951
http://ericzhang.com


Reply to this email directly or view it on GitHub:
#160 (comment)

@ritikm
ritikm commented Feb 9, 2012

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] socketio/socket.io#274
[2] http://stackoverflow.com/questions/7858173/node-js-and-socket-io-problems-in-opera-browser
[3] socketio/socket.io#274 (comment)
[4] socketio/socket.io#274 (comment)

@Guro
Guro commented Feb 23, 2012

Have tried this but no results

@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