express.io icon indicating copy to clipboard operation
express.io copied to clipboard

Express.io with https.createServer

Open ariporad opened this issue 12 years ago • 1 comments

Hi,

I have been useing express.io, then a passing app into http.createServer and https.createServer, but am getting 404 for /socket.io/socket.io.js. I read on Stack Overflow that the only way it works is if I call app.listen, is this true? If so, how exactly do I pass in my https stuff (I am using SNI) and all that?

Thanks, Ari

ariporad avatar Nov 01 '13 23:11 ariporad

https://github.com/techpines/express.io/tree/master/lib#properties-1

You might not be using express.io correctly var app = require('express.io')(); app.http().io(); and then app.listen(port). I'm not familiar with SNI but it sounds like you might not be including the socket.io.js script on the front end.

Also this isn't stack overflow, it might be more fitting to ask a SO question and then complain about it in an issue if it isn't getting any attention

narthur157 avatar Aug 06 '14 19:08 narthur157