You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Improve offline handling and automatic recovery across restarts and upgrades #3578
As an OpenRemote user, I want the application to remain accessible with a friendly status message when the OpenRemote Manager is unavailable, and automatically recover when it becomes available again, including after application upgrades.
Description
OpenRemote already provides an offline page and automatic reconnection for running applications. However, this functionality should also work when users navigate to or refresh OpenRemote while the Manager is unavailable.
For example, during a restart or upgrade, users should see a friendly offline page instead of a browser connection error or a failed application startup.
Once the Manager becomes available again, the application should automatically reconnect or reload without requiring user interaction.
The solution should also handle application upgrades gracefully, including changes to the offline/reconnection functionality itself. Users should never become stuck with outdated cached resources or need to manually clear their browser cache.
Acceptance Criteria
A friendly offline page is displayed when the OpenRemote Manager is unavailable.
The offline page remains accessible during restarts, upgrades, or network outages, provided the application has been visited previously.
The functionality works when users navigate to or refresh OpenRemote while the Manager is unavailable.
Existing offline handling and automatic reconnection continue to work for already-open applications.
The application automatically detects when the Manager becomes available again.
The application automatically reconnects or reloads without requiring user interaction.
The functionality continues to work across OpenRemote upgrades, including changes to the offline/reconnection implementation.
Updated application resources are loaded correctly after an upgrade, without serving incompatible or outdated cached resources.
Users do not need to manually refresh the page or clear their browser cache to recover.
Authentication failures are not incorrectly treated as connectivity problems.
Normal application behavior remains unaffected when the Manager is available.
Implementation Suggestions
A service worker could provide a lightweight cached offline page for failed navigations. The existing offline UI (@openremote/or-app), reconnection logic (@openremote/core), and /api/master/info endpoint could potentially be reused.
Special attention should be given to service worker updates and cache invalidation across application upgrades. The exact implementation is left open.
Activity
Ekhorn commentedon Nov 16, 2026
I would consider blocking this issue until #3565 is merged.