Blind solve

Hi Ken and Jared,

I have had a problem (and been in touch with Andy G) when I reinstalled ANSVR. I have resolved that problem, which was a failure to open the Blind solve settings page which just gave a page load error. I cured this by reinstalling ANSVR with a different port, used 8085 instead of the standard 8080. When I restarted the machine, the ansvr settings page loaded fine from the windows start menu. I noted in the url the port was 8085

However, I am now trying to blind solve an image I loaded into SGP by rightclick > platesolve. It fails very quickly (about 3 seconds) which basically tells me nothing much has happened, so in the SGP control panel I looked at the ANSVR settings but they would not load. I noted in the URL the port number was 8080 and not 8085. I have restarted windows and SGP, but when accessing the ANSVR settings from SGP, it always looks at port 8080.

I am not sure if this is the problem with the right click platesolve request I mentioned above.

I am running the latest version of SGP.

thanks for help.
Paul

Further info - I have now configured ANSVR to use port 9001 instead of 8085 as the ANSVR log stated that port 8085 was in use. However, Blind Solve acquires an image but reports failure within seconds. All the indexes are there and I’ve pointed ANSVR at the right location for the indexes.

It will doubtless be end user error, …

I have posted the ANSVR log below:
~
[2020-09-18 23:34:05] ansvr 0.20 start
[2020-09-18 23:34:05] loading config from /var/tmp/platesolve/config
[2020-09-18 23:34:05] read port 9001 from reg
[2020-09-18 23:34:05] using scale error override value percent
[2020-09-18 23:34:05] using downsample 2
[2020-09-18 23:34:05] solution coordinates will use epoch J2000
[2020-09-18 23:34:05] saving config to /var/tmp/platesolve/config
[2020-09-18 23:34:05] [Server /opt/ansvr/ansvr accepting clients on port 9001]
Waiting for data… (interrupt to abort)

thanks for help,
Paul

More info.

I ran netstat -ab on the machine to see which ports are in use. Port 9001 was listed as listening and port 8080, the default install port was not found.

So this morning I installed ANSVR again but this time used the default port 8080.

When I load an image into sgp, it does now attempt to solve, showing an elapsed time, but the ANSVR log now shows this:
~
[2020-09-19 12:02:01] ansvr 0.20 start
[2020-09-19 12:02:01] loading config from /var/tmp/platesolve/config
[2020-09-19 12:02:01] read port 8080 from reg
[2020-09-19 12:02:01] using scale error override value percent
[2020-09-19 12:02:01] using downsample 2
[2020-09-19 12:02:01] solution coordinates will use epoch J2000
[2020-09-19 12:02:01] saving config to /var/tmp/platesolve/config
can’t setup server: Address already in use at /opt/ansvr/ansvr line 1316.
Waiting for data… (interrupt to abort)

So it looks like I have fouled it up big time :frowning:

best wishes
Paul

further update.

After another restart (due to power failure) ANSVR is now solving again. I loaded the same image into SGP and right clicked to platesolve, this time the log looked completely different, working through the indexes as normal.

So the conclusion I have drawn from this experience is that ANSVR and SGP will not work together if the ANSVR port is set to anything other than 8080.

I appreciate I am one person with one computer so the above conclusion may well be invalid.

Things seem to be working for me again now, thanks for looking at the posts.
best wishes
Paul

Interesting. I have had problems changing the default port and SGP seems to forget the port.

Yes, I hate these problems that have no reason. You can’t solve them effectively, just trial and error and then something works. Unfortunately two clear nights went by. I just stay relaxed these days - there are bigger problems to solve …
best,
Paul