Known issue :
If JS client doesn't send any data for 60 sec, connection will be closed (then restarted).
Solution (for now) : Implement a ping from JS client
In the erlang doc : https://ninenines.eu/docs/en/cowboy/2.5/manual/cowboy_websocket/
there is this option :
idle_timeout (60000)
Time in milliseconds that Cowboy will keep the connection open without receiving anything from the client.
but i don't succeed to make it work. :/
Need help :)
Known issue :
If JS client doesn't send any data for 60 sec, connection will be closed (then restarted).
Solution (for now) : Implement a ping from JS client
In the erlang doc : https://ninenines.eu/docs/en/cowboy/2.5/manual/cowboy_websocket/
there is this option :
idle_timeout (60000)
Time in milliseconds that Cowboy will keep the connection open without receiving anything from the client.
but i don't succeed to make it work. :/
Need help :)