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
It would be awesome to have an automatic reconnect option in the Python API, so that it can automatically reconnect if it loses connection, e.g. when someone restarts the Yamcs Server for an MDB update or debugging.
The text was updated successfully, but these errors were encountered:
nmaas87
changed the title
Automatic reconnection option
Automatic reconnect option
Oct 18, 2021
The issue asks for a built-in option (for example a ParameterSubscription object which can automatically restore), which I'm not against, but is still a few steps away (1/ auth sessions are not restored when Yamcs restarts. 2/ maybe better to use a shared WebSocket for all subscriptions). The example shows how to achieve reconnection by manually tracking the lifetime of a single subscription and recreating the client entirely.
It would be awesome to have an automatic reconnect option in the Python API, so that it can automatically reconnect if it loses connection, e.g. when someone restarts the Yamcs Server for an MDB update or debugging.
The text was updated successfully, but these errors were encountered: