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

Socket.io doesn't work with connect 2.0.x #785

Closed
xcoderzach opened this issue Mar 6, 2012 · 7 comments
Closed

Socket.io doesn't work with connect 2.0.x #785

xcoderzach opened this issue Mar 6, 2012 · 7 comments

Comments

@xcoderzach
Copy link

Here is the issue on connect
senchalabs/connect#500 (comment)

I'm not sure if the issue is with socket.io or connect.

@snodgrass23
Copy link

any idea when this is going to be updated to work with connect 2 /express 3?

edit: after some digging, it seems like maybe the server events for connection, request, etc aren't making it out of connect.

@fedot
Copy link

fedot commented Mar 26, 2012

I've managed to get socket.io working with express 3.x app by using next code:

var app = express();
var server = app.listen(4000);
var io = require('socket.io').listen(server);

@525c1e21-bd67-4735-ac99-b4b0e5262290

Thanks @fedot. This fixes dnode with express@3.0.0alpha1 too :)

@randallb
Copy link

randallb commented Jun 2, 2012

@fedot THANK YOU SO MUCH.

@fedot
Copy link

fedot commented Jun 3, 2012

Any reasons to keep this issue "open"? There is a solution and corresponding bug senchalabs/connect#500 is closed for a long time...

@Charuru
Copy link

Charuru commented Jun 3, 2012

Maybe close when this is added to the readme / docs.

@meaku
Copy link

meaku commented Jul 10, 2012

Would be really great if this would be part of the socket.io readme.

darrachequesne pushed a commit that referenced this issue Jul 4, 2024
Use the new build env on Travis
This issue was closed.
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

7 participants