websocket interface maybe killed by WS Client/UI?

while using volumio 2 (VERSION: 2.348) at some point I got the following workflow:

  • started a youtube channel (volumio youtube plugin) through the iOS App (developer Michelangelo Guarise, possible version 1.0)
  • after some unlogged action (cannot remenber) the websoket interface seems to be killed, as it cannot be used neither from the iOS App OR the WebUI
  • the music is still playing, so something is still running!

I could save the following log

Jan 02 13:02:54 laliebox volumio[1144]: /volumio/node_modules/kew/kew.js:198
Jan 02 13:02:54 laliebox volumio[1144]: throw e
Jan 02 13:02:54 laliebox volumio[1144]: ^
Jan 02 13:02:54 laliebox volumio[1144]: TypeError: Cannot read property ‘then’ of undefined
Jan 02 13:02:54 laliebox volumio[1144]: at Promise._successFn (/volumio/app/statemachine.js:1044:6)
Jan 02 13:02:54 laliebox volumio[1144]: at nextTickCallback (/volumio/node_modules/kew/kew.js:47:28)
Jan 02 13:02:54 laliebox volumio[1144]: at _combinedTickCallback (internal/process/next_tick.js:73:7)
Jan 02 13:02:54 laliebox volumio[1144]: at process._tickCallback (internal/process/next_tick.js:104:9)
Jan 02 13:02:54 laliebox volumio-remote-updater[469]: [2018-01-02 13:02:54] [info] asio async_read_at_least error: system:104 (Connection reset by peer)
Jan 02 13:02:54 laliebox volumio-remote-updater[469]: [2018-01-02 13:02:54] [error] handle_read_frame error: websocketpp.transport:2 (Underlying Transport Error)
Jan 02 13:02:54 laliebox volumio-remote-updater[469]: [2018-01-02 13:02:54] [disconnect] Disconnect close local:[1006,Underlying Transport Error] remote:[1006]
Jan 02 13:02:54 laliebox systemd[1]: volumio.service: main process exited, code=exited, status=1/FAILURE
Jan 02 13:02:54 laliebox systemd[1]: Unit volumio.service entered failed state.
Jan 02 13:02:54 laliebox systemd[1]: Starting dynamicswap service…
Jan 02 13:02:54 laliebox systemd[1]: Started dynamicswap service.
Jan 02 13:02:54 laliebox systemd[1]: volumio.service holdoff time over, scheduling restart.
Jan 02 13:02:54 laliebox systemd[1]: Stopping Volumio Backend Module…
Jan 02 13:02:54 laliebox systemd[1]: Starting Volumio Backend Module…
Jan 02 13:02:54 laliebox systemd[1]: Started Volumio Backend Module.
Jan 02 13:02:59 laliebox volumio-remote-updater[469]: [2018-01-02 13:02:59] [info] asio async_connect error: system:111 (Connection refused)
Jan 02 13:02:59 laliebox volumio-remote-updater[469]: [2018-01-02 13:02:59] [info] Error getting remote endpoint: system:107 (Transport endpoint is not connected)
Jan 02 13:02:59 laliebox volumio-remote-updater[469]: [2018-01-02 13:02:59] [error] handle_connect error: Underlying Transport Error
Jan 02 13:03:07 laliebox volumio-remote-updater[469]: [2018-01-02 13:03:07] [info] asio async_connect error: system:111 (Connection refused)
Jan 02 13:03:07 laliebox volumio-remote-updater[469]: [2018-01-02 13:03:07] [info] Error getting remote endpoint: system:107 (Transport endpoint is not connected)
Jan 02 13:03:07 laliebox volumio-remote-updater[469]: [2018-01-02 13:03:07] [error] handle_connect error: Underlying Transport Error
Jan 02 13:03:16 laliebox volumio[8302]: info: -------------------------------------------
Jan 02 13:03:16 laliebox volumio[8302]: info: ----- Volumio2 ----
Jan 02 13:03:16 laliebox volumio[8302]: info: -------------------------------------------
Jan 02 13:03:16 laliebox volumio[8302]: info: ----- System startup ----
Jan 02 13:03:16 laliebox volumio[8302]: info: -------------------------------------------
Jan 02 13:03:17 laliebox volumio-remote-updater[469]: [2018-01-02 13:03:17] [connect] Successful connection