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
However, I am encountering an issue with long polling where I intermittently receive a Session ID unknown error. While some requests return a successful response, others result in a bad request error.
Could you confirm if Socket.io stores the Session ID in Redis when using the Redis adapter? Any guidance on resolving this issue would be greatly appreciated.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I am currently using NestJS for my backend and managing multiple servers. For load balancing, I have configured Nginx according to the Socket.io documentation on using multiple nodes with Nginx: https://socket.io/docs/v4/using-multiple-nodes/#nginx-configuration.
Additionally, I have implemented the Redis adapter as described here: https://socket.io/docs/v4/redis-adapter.
However, I am encountering an issue with long polling where I intermittently receive a
Session ID unknown
error. While some requests return a successful response, others result in a bad request error.Could you confirm if Socket.io stores the
Session ID
in Redis when using the Redis adapter? Any guidance on resolving this issue would be greatly appreciated.Thank you.
Beta Was this translation helpful? Give feedback.
All reactions