Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handshake issues with socket.io v1.x #6

Open
sheepcloner opened this issue Dec 24, 2014 · 0 comments
Open

Handshake issues with socket.io v1.x #6

sheepcloner opened this issue Dec 24, 2014 · 0 comments

Comments

@sheepcloner
Copy link

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

@sheepcloner sheepcloner changed the title Handshake issues with node v0.10 Handshake issues with socket.io v1.x Dec 24, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant