Frontend applications should "survive" a backend outage
Concept: a frontend application detects a backend outage by a closed websocket connection. The frontend then redirects to /
. This request will fail as backend is not available now. The user then repeatedly presses the Reload Page button. Once available again the frontend application is reinitialized, just as it is when opened initially. In particular a) a new session is created, b) a websocket connection is established.
Realization:
- the websocket provided by
dmx-api
Javascript module does no automatic reconnect anymore. - instead, when when a closed websocket connection is detected, the frontend redirects the browser to
/
.
By realization in dmx-api
this feature is automatically present in all DMX frontend applications.
Requirements: #512 (closed)
See also dmx-projects/zukunftswerk#155
@jpn FYI