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

Mismatch socket-io version between frontend and backend cause connection issue between client and server #325

Open
Jlu18 opened this issue May 3, 2022 · 0 comments
Assignees
Labels
bug Something isn't working High Priority Needs a fix asap

Comments

@Jlu18
Copy link
Member

Jlu18 commented May 3, 2022

Currently the frontend has "socket.io-client" running on version ^4.4.1, but the backend socket.io server is running with version ^2.3.0. This mismatch version between client and server cause the client not able to communicate to the server via socket (Go to production and open network tab on inspector, notice how socket.io keep trying to connecting and disconnecting from the server ).

All the feature using socket.io are currently unavailable (ie. notifying devices when scene is updated).

To fix this, we have to bump the version of socket.io to match with the client. But to do so, migration from 2.x to 4.x must be done. migration guide

@Jlu18 Jlu18 added bug Something isn't working High Priority Needs a fix asap labels May 3, 2022
@Jlu18 Jlu18 self-assigned this May 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working High Priority Needs a fix asap
Projects
None yet
Development

No branches or pull requests

1 participant