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
{{ message }}
This repository has been archived by the owner on Sep 28, 2021. It is now read-only.
Hi,
I'm using passport.socketio to manage my users authentication with websocket and it works perfectly.
Also, I'm using the filterSocketsByUser() function in order to filter the sockets by user id.
It works well if I get one instance of my app launched. But, with loadbalancing, the function only returns sockets depending on the instance the users are connected to.
Is there a way to get back all the sockets of a user connected through multiple instances ?
(io.emit is well received by all clients, regardless of the instance the user is connected to)
Thanks
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
I'm using passport.socketio to manage my users authentication with websocket and it works perfectly.
Also, I'm using the filterSocketsByUser() function in order to filter the sockets by user id.
It works well if I get one instance of my app launched. But, with loadbalancing, the function only returns sockets depending on the instance the users are connected to.
Is there a way to get back all the sockets of a user connected through multiple instances ?
(io.emit is well received by all clients, regardless of the instance the user is connected to)
Thanks
The text was updated successfully, but these errors were encountered: