Skip to content

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

Description

@Jlu18

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

High PriorityNeeds a fix asapbugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions