Describe the bug
If the user browser loose connection to the backend, a notification is displayed: Cannot connect to server: websocket error. But if the connexion technically come back few seconds after, the page keeps in this "stopped" state.
To Reproduce
- Open a reflex app
- Loose connexion few secs
- See that notification
- Get back the connexion right after
- See that the page stays in an errored state
Expected behavior
- The app would try quicker to reconnect (for example exponential back off caped to 5 secs, starting at 500 ms with a 1 sec timeout)
- The app would inform that it tries to reconnect (something explicit, like
reconnection in progress)
Context
- Python Version: v3.13
- Reflex Version: v0.7.0
- OS: iOS
- Browser: Safari
Describe the bug
If the user browser loose connection to the backend, a notification is displayed:
Cannot connect to server: websocket error. But if the connexion technically come back few seconds after, the page keeps in this "stopped" state.To Reproduce
Expected behavior
reconnection in progress)Context