-
Notifications
You must be signed in to change notification settings - Fork 10.1k
Description
I opened a ticket with Heroku about a Socket.IO example not working on a brand new instance. This is what I sent them:
I uploaded a quick test to try out some things on Heroku and using one of the examples from the Socket.IO website, it doesn't >work. I looked at the logs and I see
setting request GET /socket.io/1/websocket/90084221689769639
set heartbeat interval for client 90084221689769639
then
websocket connection invalid
transport ended
The example works on my local machine and an Amazon EC2 instance perfectly, but I will need Heroku for the Node Knockout competition.
Heroku's response was:
Socket.IO is trying to use websockets, which we don't support; shouldn't it fall back to http 1.1 long-polling though?
So my question is why is Socket.IO NOT fallling back on Long-Polling? Do I need to do something in the code to make it work?