Git Product home page Git Product logo

Comments (12)

ericz avatar ericz commented on August 21, 2024

Nice find! I'll look into this tonight.

Thanks

from now.

ericz avatar ericz commented on August 21, 2024

Well we can definitely reproduce the bug. Still debugging...

from now.

keyle avatar keyle commented on August 21, 2024

any updates? I get serious problems with Firefox..

20 Mar 15:27:21 - Initializing client with transport "xhr-multipart"
20 Mar 15:27:21 - Client 07681131735444069 connected

then nothing, on now.ready I'm calling things - no response!

from now.

ssebro avatar ssebro commented on August 21, 2024

I can add more clarity to this bug: it seems that socket.io isn't working well with different clients using different transports. If your first attendant logs into the room with Safari 5.0.4 on a mac, safari-safari chats work fine. If your second attendant logs in with firefox (3.6.13), safari-safari chats continnue to work, but firefox users can neither send nor receive messages. Similarly, if you log in with chrome (10.0.648.151), chrome users can send messages, but don't get to receive messages (from themselves or from anyone else). Each client mentioned uses a different transport - I'm not sure if that's a part of the problem.

from now.

keyle avatar keyle commented on August 21, 2024

any news on this?

from now.

ericz avatar ericz commented on August 21, 2024

hey Keyle and ssebro

I have been able to replicate some of these bugs. The key seems to be when xhr-polling and xhr-multipart are involved, weird things happened with regards to connect and disconnect events.

It seems like the issues are with the Socket.IO library we depend on. I know a major version release for Socket.IO is coming so hopefully these issues are fixed.

Also xhr-multipart/xhr-polling in Firefox are fallbacks to the prefered Flashsocket method (if the user has Flash installed).

Keyle, I'm guessing this has something to do with the cookie which stores chosen transport method. The weird part is the clientId in socket.io doesn't change.

I'm going to wait a bit more for v0.7 to come out to see if this issue is fixed. I can't replicated this consistently so I'm not sure the next steps to take.

from now.

keyle avatar keyle commented on August 21, 2024

Ok thanks Eric.

from now.

ssebro avatar ssebro commented on August 21, 2024

Yeah, thanks a lot - I appreciate you following up.

from now.

ericz avatar ericz commented on August 21, 2024

Hey guys,

3rdEden messaged me on Twitter and he was having trouble reproducing these bugs. Using the latest version of nowjs, socket.io, and respective browsers I haven't been able to reproduce them anymore either.

Additionally he mentioned v0.7 of socket.io probably won't include updates that are related to the problems we're seeing.

I'm going to test some more with different versions but I believe the issues may be fixed already in the latest versions of everything? I am not sure whether the original bug was in NowJS (may very well be) or socket.io or browsers, but I am unable to reproduce them anymore

from now.

ssebro avatar ssebro commented on August 21, 2024

I agree, I just fired it up on all three (ffox, safari, chrome) and did chat fine... Seems fixed to me...

from now.

ssebro avatar ssebro commented on August 21, 2024

Maybe we can have Keyle test on his machine and close this as unable to reproduce?

from now.

ericz avatar ericz commented on August 21, 2024

Closing

from now.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.