wildyeast / sadiss

A socially aggregated distributed sound system.
GNU Affero General Public License v3.0
10 stars 2 forks source link

App: Periodically check if websocket is still open #95

Open matbind opened 1 year ago

matbind commented 1 year ago

After being connected for 4 hour while the performance the clients were connected to was not playing, 3 out of 5 clients were not really connected anymore, even though they still showed the 'registered' screen. From the server logs we can see that they disconnected over the span of about an hour, but the clients never noticed that.

Clients could periodically check if the websocket is still open, and if it isn't display another screen or reregister.

matbind commented 6 months ago

Again reports of clients that think they are connected while in reality they are not. Apparently they (sometimes) don't notice the websocket closing.