Page 1 of 1
I think I have an issue with my API, not sure where to look
Posted: Mon Jan 22, 2024 10:53 pm
by homebrewdude
http://server/zm/api/monitors.json on the machine with zoneminder seems ok.
When I look at this same address on my tablet logined to zoneminder first.
It is just a bunch of strings of txt, not in the table format like my attached photo.
Re: I think I have an issue with my API, not sure where to look
Posted: Mon Jan 22, 2024 11:32 pm
by dougmccrary
the machine with zoneminder seems ok.
That surprises me. Mine looks like your posted example.
Re: I think I have an issue with my API, not sure where to look
Posted: Mon Jan 22, 2024 11:48 pm
by homebrewdude
I agree, that's was on the machine running zoneminder.
My phone/tablet trying to run ZmNinja
Re: I think I have an issue with my API, not sure where to look
Posted: Tue Jan 23, 2024 12:35 am
by dougmccrary
Just a guess, but maybe https:// ?
Re: I think I have an issue with my API, not sure where to look
Posted: Tue Jan 23, 2024 1:02 am
by homebrewdude
I can access zoneminder HTTP but not HTTPS
Re: I think I have an issue with my API, not sure where to look
Posted: Tue Jan 23, 2024 1:58 am
by dougmccrary
Yeah...ISTR something about android needing https in later versions.
Don't mean to send you down a rathole, but I suspect that's at the bottom of this.
I don't use ninja at present so that's all I got. Sorry, and good luck.
(a better screenshot of the error on phone might be helpful)
Re: I think I have an issue with my API, not sure where to look
Posted: Tue Jan 23, 2024 11:18 am
by homebrewdude
I reinstalled the older zmNinjaPro which prompts for http or https and I choose http and basically it works.
So maybe there is something with https...
Re: I think I have an issue with my API, not sure where to look
Posted: Tue Jan 23, 2024 1:56 pm
by iconnor
http vs https shouldn't be an issue here. It only seems to affect image loading.
The response is pretty clear, Not Authenticated. The question is, why?
Re: I think I have an issue with my API, not sure where to look
Posted: Tue Jan 23, 2024 6:19 pm
by homebrewdude
Not sure what I did...
I am now HTTPS with SSL and everything seems to be working