Heroku socket.io sample error in Express 4.0 Heroku socket.io sample error in Express 4.0 express express

Heroku socket.io sample error in Express 4.0


By default Socket.IO 1.0.4 allows polling and websocket transports. You removed polling transport ! return the polling transport back:

io.set('transports', ['websocket',                   'flashsocket',                   'htmlfile',                   'xhr-polling',                   'jsonp-polling',                   'polling']);