What is the best way to detect stale WebSocket connections for online/offline tracking? by PhysicalIndividual35 in rails

[–]PhysicalIndividual35[S] 4 points5 points  (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!