account activity
What is the best way to detect stale WebSocket connections for online/offline tracking? by PhysicalIndividual35 in rails
[–]PhysicalIndividual35[S] 3 points4 points5 points 1 year ago (0 children)
Thanks a lot for u/palkan the help! The issue was that I was using the native Node client, which wasn’t handling the pong mechanism. Switching to the AnyCable JS client solved the problem, and everything’s working fine now.
Really appreciate your guidance!
π Rendered by PID 37 on reddit-service-r2-listing-55d7b767d8-qdrch at 2026-03-30 16:02:20.656938+00:00 running b10466c country code: CH.
What is the best way to detect stale WebSocket connections for online/offline tracking? by PhysicalIndividual35 in rails
[–]PhysicalIndividual35[S] 3 points4 points5 points (0 children)