cadguy
unread,Mar 9, 2012, 2:19:44 PM3/9/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Socket.IO
Our SocketIO expert noticed the following. Have other's seen this too?
(1) The client is handshaking with the server with a standard xhr
exchange just fine. In this step, the server hands the client some
sort of session id and a couple of tidbits along with a a list of
transports supported by the server. e.g. "websockets,htmlfile,xhr-
polling,json-polling"
(2) The client attempts to establish a websockets connection to the
server. It gets as far as creating the socket and setting the
handlers for onOpen, onMessage, onError, onClose, and it recieves the
onOpen event. I can see the websockets upgrade request in the chrome
debugger and it has a response.
(3) Then it just sits and waits [a configurable] 10 seconds until the
connect timeout fires. There is supposed to be a message from the
server indicating that the connection is active, but this never
happens on the client.
(4) The job of the connect time out is to try the remaining
transports... this it does, but the client keeps getting errors from
the server that there has been no handshake. This matches many log
messages I am seeing on the server. I haven't yet been able to dig in
to the issue more.
Thanks!
Shrirang