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
Hi, I'm using Socket.IO in a Node.js project, and sometimes the socket connection just stops working. The only way to get it working again is by refreshing the browser page.
I'm using namespaces to separate tenants, and Redis to manage socket IDs. Here is my frontend and backend configuration:
There are no errors in the console or server logs, and this issue happens randomly.
Has anyone experienced something similar? Could this be related to the Redis adapter or the namespace handling? Any suggestions on debugging or fixing this issue?
Thanks in advance!
The text was updated successfully, but these errors were encountered:
Hi! That's really weird indeed, I guess you aren't able to reproduce it reliably? Does it happen in a given browser? Or after a specific delay? How do you detect it?
Hi! That's really weird indeed, I guess you aren't able to reproduce it reliably? Does it happen in a given browser? Or after a specific delay? How do you detect it?
Hi! Yeah, I can't reproduce the error consistently. It happens in any browser, and I believe it occurs after a certain amount of time. My application is a chat, so I'm sending messages normally, but at some point, I try to send a new message, and it just doesn't go through. The only way to make it work again is by refreshing the page.
Without the ability to reproduce the issue, it will be quite hard to find the cause... We'd need to have access to the internal state of the client when that happens.
Could it simply be a temporary disconnection? Or a missing event listener?
Hi, I'm using Socket.IO in a Node.js project, and sometimes the socket connection just stops working. The only way to get it working again is by refreshing the browser page.
I'm using namespaces to separate tenants, and Redis to manage socket IDs. Here is my frontend and backend configuration:
Frontend (Client-side):
Backend (Server-side - AdonisJS):
There are no errors in the console or server logs, and this issue happens randomly.
Has anyone experienced something similar? Could this be related to the Redis adapter or the namespace handling? Any suggestions on debugging or fixing this issue?
Thanks in advance!
The text was updated successfully, but these errors were encountered: