-
Notifications
You must be signed in to change notification settings - Fork 167
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
'no socket connections' with socket.io v1.3.2 #437
Comments
@adam-beck which version of sc5-styleguide are you using? We released 0.3.2 today, which addresses the socket connection issue (port is ignored). The root cause is in [email protected]: socketio/socket.io-client#802 |
I was using a previous version. |
The solution introduced in 0.3.2 is not perfect, as it assumes that users are connecting directly to the designated Express server port. Problems start when ports are forwarded. |
+1 |
@andreipopovici we released 0.3.3 yesterday with a downgraded version of |
Trying it as we speak :) Will update with progress. |
0.3.4 works, we're running our demo site inside a Docker container, which forwards the internal port 3000 to something random like 49317 on the host machine, which again is mapped to 80 in nginx or apache. |
Socket.io seems to work fine after the update. Thanks! Heads-up: a small typo in the Gulp instructions (the comma after this line):
|
@andreipopovici no problem, and thanks, well spotted. Fixed it already, though. :) |
You need to slow down before these Internet wires catch fire :P |
When running the demo application I receive a
no socket connections
error in the browser. Thepackage.json
listssockets.io
as"^1.2.1
which when the packages are installed socket.io version is bumped to1.3.2
. If I explicity set the demo to use sockets.iov1.2.1
I do not receive this error.The text was updated successfully, but these errors were encountered: