You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Thank you for this tutorial. It is one of a kind. It seems that Socket.io v1.x changed the handshake. It is no longer the way your doing it, rather GET http[s]://host:port/socket.io/?transport=polling
This returns a file for some reason, let me clarify, when I look at the response header, I see application/octet-stream for the response type. And when I try it from the browser, it serves a file :(
You can see more on handshake details here: http://stackoverflow.com/a/25289378
This obviously breaks your code. I have been trying with different workarounds for over 6 hours and no luck.
Would you be able to take a look and suggest a workaround? Any help is appreciated
The text was updated successfully, but these errors were encountered:
sheepcloner
changed the title
Handshake issues with node v0.10
Handshake issues with socket.io v1.x
Dec 24, 2014
Hi,
Thank you for this tutorial. It is one of a kind. It seems that Socket.io v1.x changed the handshake. It is no longer the way your doing it, rather GET http[s]://host:port/socket.io/?transport=polling
This returns a file for some reason, let me clarify, when I look at the response header, I see application/octet-stream for the response type. And when I try it from the browser, it serves a file :(
You can see more on handshake details here: http://stackoverflow.com/a/25289378
This obviously breaks your code. I have been trying with different workarounds for over 6 hours and no luck.
Would you be able to take a look and suggest a workaround? Any help is appreciated
The text was updated successfully, but these errors were encountered: