-
Notifications
You must be signed in to change notification settings - Fork 367
handshake is not happening 3.1 #144
Comments
I think this is a problem on socket.io node server, not the php side. As it doesn't seem to indicate that websockets are supported, it crashes. But maybe an improvement could be made, and avoid using websockets if it's not there. But I think if I forced to have websockets, it's for a reason, but I can't quite recall what it was... Have you set a different value for the |
@Taluu thanks for the reply . Yes i set transport option as websocket instead of polling then it returns false. |
Would you mind setting it on (marking this issue as |
@Taluu i set polling. The response showed in my question was the result. My nodejs version is 1.3.5 |
Then this is an issue with you node server, not elephant.io, as it does not return any proper upgrade path. But then again, if no upgrades available, then I don't think we should actually throw an exception. |
hao to keepalive with server? |
This is not the subject of this ticket, and the keepalive is not implemented. |
Thanks! |
I am trying to emit an event to socket.io node server from php server but showing error
when i print the response of handshake i am getting like string(90) "��ÿ0{"sid":"UP7lKpV1wXD8QEhdAAA0","upgrades":[],"pingInterval":20000,"pingTimeout":25000}"
where upgrades[] array is empty.
The text was updated successfully, but these errors were encountered: