If the indigo control panel web page is left open when the laptop goes to sleep the indigo server will eventually reset. Any tasks being performed by the agents are interrupted and any drivers dynamically loaded via the control panel are not available anymore.
How to reproduce
Open the indigo control panel in a web browser and dynamically load the indigo_ccd_simulator and the indigo_mount_simulator modules. Do not close this web page.
Open the AstroGuider application, connect to the indigo server, start a guiding session using the simulator, guiding agent, etc, and then disconnect/close the AstroGuider application, leaving the guiding session running on the server.
Close the laptop and wait several minutes. The indigo server will reset, the guiding session will stop, and the simulator drivers will not be loaded into the server anymore.
If the indigo control panel web page is closed after step 1 above, the server and guiding session will run indefinitely.
Description
If the indigo control panel web page is left open when the laptop goes to sleep the indigo server will eventually reset. Any tasks being performed by the agents are interrupted and any drivers dynamically loaded via the control panel are not available anymore.
How to reproduce
indigo_ccd_simulator
and theindigo_mount_simulator
modules. Do not close this web page.If the indigo control panel web page is closed after step 1 above, the server and guiding session will run indefinitely.
Environment / Versions
Server: Debian GNU/Linux 11 (bullseye) / x86_64 Indigo server version: 2.0-228
Client: Mac M1 Ventura 13.3.1 Browser version: safari 16.4
Indigo server log excerpt