- attached 20230820-131127-3.0.0.1032.11388.log
Server API not working (even with plugin)
Hello,
I am using NINA together with Mount Wizard for the 10 Micron mounts. MW connects to the camera via NINA server interface. With latest nightly this is not working anymore. I have enable the SGP server plugin, but still no success.
I have reported this problem to Michel, who is the owner of MW. Based on his feedback, there is no response from NINA’s side. Please see GitHub: https://github.com/mworion/MountWizzard4/issues/322
Please advice what to do to restore functionality. Thank you!
Ruediger
Comments (16)
-
reporter -
repo owner Hi Rüdiger,
which webpages are referred to? The emulation is only providing a minimalistic subset of the sgp api just like before by offering the restful endpoints.
Is it possible for example for you to open the following page? http://localhost:59590/enumdevices/Camera -
repo owner - changed status to open
-
reporter Hi Stefan,
repeated the test. Yes I can connect.
Sorry for the first negative test. I have used another profile. Since the server is now a plugin it has to be enabled in each profile separately. But no success to connect from MW. It looks also it is case sensitive?
-
Hi Stefan,
try to step in. In my setup your example with the URL provided works as well, but when trying to get the device status with the url:
http://localhost:59590/devicestatus/Camera
It throws me a 405 error → method not allowed.
Does this help any further ?
Michel
-
repo owner The route for http://localhost:59590/devicestatus/Camera is a POST method. Opening this in a browser won’t work as those are always GET method. This was the case before implementing the plugin as well.
-
repo owner Ok after looking at the SGP documentation it is also mentioned only as a POST method, but it seems to also allow GET for whatever reason. I can add these to the plugin routes as well.
The question is which methods are missing for Mount Wizard to fully work with it.
-
repo owner Ah i see for this specific one i missed the GET part. seems like this was the available before without me noticing and is the only route missing then.
-
From what I see from the source, there should be everything in to be used with MW4 as the interface with NINA v2 worked well.
Edit: When switching to POST on MW side it works. Still I will use further on the GET part as SGP and all older implementations (also with other programs) worked with it just for the compatibility. Thanks for adding the GET part.
-
repo owner Version 1.0.0.4 of the plugin is available in a minute. Please check if it works again there. I added the missing devicestatus GET endpoint
-
Hi Stefan,
works now. I have to adjust a minor part for windows 11 IP routing. For NINA I would close this as resolved.
Thanks for the quick fix.
Michel
-
repo owner Great - thank you for having a look into it and your feedback. Will mark it as resolved.
-
repo owner - changed status to resolved
-
reporter Thanks to you both for the quick fix.
Rüdiger
-
reporter Also tested and can confirm connection is possible again.
-
repo owner - changed version to 3.0
- Log in to comment
Logfile attached