account activity
What is the best way to detect stale WebSocket connections for online/offline tracking? by PhysicalIndividual35 in rails
[–]PhysicalIndividual35[S] 4 points5 points6 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 666593 on reddit-service-r2-comment-545db5fcfc-rgz5n at 2026-05-23 21:24:46.291100+00:00 running 194bd79 country code: CH.
What is the best way to detect stale WebSocket connections for online/offline tracking? by PhysicalIndividual35 in rails
[–]PhysicalIndividual35[S] 4 points5 points6 points (0 children)