ANSVR server status

When bringing up the “ANSVR Solve Options” dialog box, after you click on the “Start” button, every 2 seconds SGP sends GET /api/config HTTP/1.1 to the ANSVR server.

What is SGP expecting back from the ANSVR server?

My Server Status remains DOWN but the server is still pinged every 2 seconds.
If I click on the gear icon to the right of the “Server URL”, it brings up the ansvr configuration we b page.

This is what I get in the SGP log file:

[04/15/25 02:27:46.696][DEBUG][Main Thread][NONE] Astrometry.NET: Sequence endpoint data: http://192.168.0.201:8080/api

Note also that it says “Astrometry.NET” when I’m using ANSVR .

Literally any response. Essentially proof of life that the start command worked and the server is fielding responses.

I’m not fully following the support request here… are you saying that your server indicates DOWN but is in fact not? Or something else?

The “DOWN” indication was a bug on my part (I’ve been improving the ANSVR code). Sorry for the wild goose chase there.

What does SGP do when the ANSRV “Restart” button is pressed?

It appears to call stop_ansvr.bat and start_ansvr.bat at the same time, or maybe stop_ansvr.bat but not wait for it to complete, then call start_ansvr.bat. The result is that 50+% of the time ANSRV fails to properly start. I added a “pause” statement at the end of both script and clearly see both running at the same time.

I believe this is a bug in SGP.

Eric C