Zmninja Certification error

Discussion topics related to mobile applications and ZoneMinder Event Server (including machine learning)
Post Reply
NXT
Posts: 11
Joined: Sat Feb 08, 2020 4:44 pm

Zmninja Certification error

Post by NXT »

Hi,

Can somebody help me with this error?
When I run this command to test the event server manual "sudo -u www-data ./zmeventnotification.pl --config ./zmeventnotification.ini"


Thanks!
Attachments
Snap6.png
Snap6.png (668.61 KiB) Viewed 9082 times
Snap4.png
Snap4.png (227.36 KiB) Viewed 9082 times
User avatar
asker
Posts: 1553
Joined: Sun Mar 01, 2015 12:12 pm

Re: Zmninja Certification error

Post by asker »

I no longer work on zmNinja, zmeventnotification, pyzm or mlapi. I may respond on occasion based on my available time/interest.

Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs
NXT
Posts: 11
Joined: Sat Feb 08, 2020 4:44 pm

Re: Zmninja Certification error

Post by NXT »

Hi,

thanks for the reply.
So my settings are correct?

I tried this but still the same issue.
--------------------------------
For this scenario, this should have been enough!
sudo chown -R www-data:root /etc/letsencrypt/

I did above and the manual start was working fine.

Thanks
NXT
Posts: 11
Joined: Sat Feb 08, 2020 4:44 pm

Re: Zmninja Certification error

Post by NXT »

Ok now its working.
So I did the test and I got the "Tick end" message.
I opened ZMninja on my phone its asked it was allowed to send notification. "I approved".
But still no notifications on my phone.
User avatar
asker
Posts: 1553
Joined: Sun Mar 01, 2015 12:12 pm

Re: Zmninja Certification error

Post by asker »

I no longer work on zmNinja, zmeventnotification, pyzm or mlapi. I may respond on occasion based on my available time/interest.

Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs
NXT
Posts: 11
Joined: Sat Feb 08, 2020 4:44 pm

Re: Zmninja Certification error

Post by NXT »

Hi,

Did some more checks.
Looks like I don’t have the tokens.txt file.
How can I fix that?

Thanks!

Kind regards,
User avatar
asker
Posts: 1553
Joined: Sun Mar 01, 2015 12:12 pm

Re: Zmninja Certification error

Post by asker »

tokens.txt is created when mobile phones running zmNinja register with the ES.
If that is not happening, your zmNinja mobile app is not able to connect to the ES. Check debug logs on both sides when zmNinja starts.
NXT wrote: Tue Mar 03, 2020 11:13 pm Hi,

Did some more checks.
Looks like I don’t have the tokens.txt file.
How can I fix that?

Thanks!

Kind regards,
I no longer work on zmNinja, zmeventnotification, pyzm or mlapi. I may respond on occasion based on my available time/interest.

Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs
Post Reply