-
Notifications
You must be signed in to change notification settings - Fork 439
warn - client not handshaken client should reconnect #69
Comments
when does this warning come exactly? |
The warning comes when i call in [socketIO disconnect] On 13 jan. 2013, at 09:08, Philipp Kyeck [email protected] wrote:
|
Well i think i know a solution but i do not know how to apply it in my code, what i'm thinking about is this: I have multiple views where i need a socket IO connection, what i do now is when the user changs from a view in the void view will disappear i call in the function [socketIO disconnect]; and when the other view appears i call in the void view will appear and establish a new connection. Isn't it possible to connect to the socketIO once but have the variable available in all your view's? I think that will solve my problem. Thanks in advance. |
No One? |
I think a singleton is what you want |
This warning appears on the server and not on the client. Whenever I call socket.disconnect() in iOS, the disconnect-event on the server is raised correctly, but the iOS app still keeps polling - thus causing the warnings. As long as the iOS app keeps running after that, the server log gets flooded with warnings (client not handshaken client should reconnect & transport end (error)). Seems like XHR-Polling keeps running forever. Node 0.10.5 |
Hi Helko, I ran into the same error "warn - client not handshaken client should reconnect" upon issuing [socketIO disconnect] command on iOS. But I am unable to detect disconnect-event on the server, as in below is not triggered. Im on the latest node and socket.io with XHR polling |
Experiencing the same problems with xhr-polling, anyone got a fix for this? Thanks, |
Ok, got to fix this with changes from #109, hopefully this one gets merged in near future. 👍 Alex |
Excellent, works for me too. Thanks Alex. |
merged in v0.4.0 |
When i disconnect from my socket i get this error warn - client not handshaken client should reconnect in the socket, i don't know why and where that error comes from? Can someone explain to me how i can solve it? Thanks in advance.
The text was updated successfully, but these errors were encountered: