Comments (12)
Nice find! I'll look into this tonight.
Thanks
from now.
Well we can definitely reproduce the bug. Still debugging...
from now.
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.
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.
any news on this?
from now.
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.
Ok thanks Eric.
from now.
Yeah, thanks a lot - I appreciate you following up.
from now.
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.
I agree, I just fired it up on all three (ffox, safari, chrome) and did chat fine... Seems fixed to me...
from now.
Maybe we can have Keyle test on his machine and close this as unable to reproduce?
from now.
Closing
from now.
Related Issues (20)
- installation fail :( HOT 3
- Can not read the property of 'ressource' undefined HOT 1
- No dev in six months. What is the future of NowJS? HOT 13
- Now module Installation failed ..... throwing error in windows
- npm install now ..... throwing error HOT 1
- Not working with Dojo due to Socket.io-client
- Implementing chat module by using Nowjs HOT 6
- now.js and node autocluster core module
- Issue in limit of sending message in chat
- /nowjs/now.js ??
- website HOT 7
- Connecting to nodejs on http from https site HOT 1
- cannot finde module '../build/Release/nodeproxy.node'
- iOS app crashed in release mode while using Nowjs library
- Now doesn't work with latest sockets.io HOT 2
- Does not work with angular-cli: content.charCodeAt is not a function
- possible spam HOT 1
- Error: Cannot find module 'now' HOT 3
- Error: Cannot find module 'now'
- http://www.nowjs.com is not correct HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from now.