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.
I think I have an issue with my API, not sure where to look
-
- Posts: 54
- Joined: Mon Aug 26, 2019 12:42 pm
I think I have an issue with my API, not sure where to look
- Attachments
-
- Screenshot from 2024-01-22 17-52-03.png (30.83 KiB) Viewed 3609 times
-
- Posts: 1336
- Joined: Sat Aug 31, 2019 7:35 am
- Location: San Diego
Re: I think I have an issue with my API, not sure where to look
That surprises me. Mine looks like your posted example.the machine with zoneminder seems ok.
-
- Posts: 54
- Joined: Mon Aug 26, 2019 12:42 pm
Re: I think I have an issue with my API, not sure where to look
I agree, that's was on the machine running zoneminder.
My phone/tablet trying to run ZmNinja
My phone/tablet trying to run ZmNinja
- Attachments
-
- Screenshot_20240122_184709_Chrome.jpg (132.58 KiB) Viewed 3597 times
-
- Posts: 1336
- Joined: Sat Aug 31, 2019 7:35 am
- Location: San Diego
Re: I think I have an issue with my API, not sure where to look
Just a guess, but maybe https:// ?
-
- Posts: 54
- Joined: Mon Aug 26, 2019 12:42 pm
Re: I think I have an issue with my API, not sure where to look
I can access zoneminder HTTP but not HTTPS
-
- Posts: 1336
- Joined: Sat Aug 31, 2019 7:35 am
- Location: San Diego
Re: I think I have an issue with my API, not sure where to look
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)
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)
-
- Posts: 54
- Joined: Mon Aug 26, 2019 12:42 pm
Re: I think I have an issue with my API, not sure where to look
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...
So maybe there is something with https...
Re: I think I have an issue with my API, not sure where to look
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?
The response is pretty clear, Not Authenticated. The question is, why?
-
- Posts: 54
- Joined: Mon Aug 26, 2019 12:42 pm
Re: I think I have an issue with my API, not sure where to look
Not sure what I did...
I am now HTTPS with SSL and everything seems to be working
I am now HTTPS with SSL and everything seems to be working