You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my application, I have used a socket.io and also an adapter for it. Now when I try to send a response from the server to the frontend with socket.to(id).emit("message", message), it throws this error
It starts working again after I comment on the code that configures the adapter.
In my application, I have used a socket.io and also an adapter for it. Now when I try to send a response from the server to the frontend with socket.to(id).emit("message", message), it throws this error
It starts working again after I comment on the code that configures the adapter.
io.adapter(require("socket.io-redis")({host: "localhost", port: 6379}))
But it's not a good solution, because I need to use the adapter for my application. How can I fix this problem in another way?
The text was updated successfully, but these errors were encountered: