Server Healt-Status

Hello there
I am currently writing an dash app for some visualisations. Everything is working fine. But I want to implement a small Statusbar, which indicates if the server is online. A little div with the text “Offline” being displayed as soon as the server is unreachable. I already tried it with clientside callbacks and promises, but promises arent supported by clientside callbacks as right now.

Is there another solution?

Would be very happy if you could help me find a solution.

hi @hullekulleka
Welcome to the Dash community.

You can probably do this with an interval component (dcc.Interval) that goes to a with a clientside_callback.

We would like to be able to support javascript promises with clientside_callback but we don’t right now.

Thank you,