Page 1 of 1

Zmninja Certification error

Posted: Thu Feb 20, 2020 1:17 pm
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!

Re: Zmninja Certification error

Posted: Thu Feb 20, 2020 1:34 pm
by asker

Re: Zmninja Certification error

Posted: Thu Feb 20, 2020 1:45 pm
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

Re: Zmninja Certification error

Posted: Thu Feb 20, 2020 3:32 pm
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.

Re: Zmninja Certification error

Posted: Thu Feb 20, 2020 4:34 pm
by asker

Re: Zmninja Certification error

Posted: Tue Mar 03, 2020 11:13 pm
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,

Re: Zmninja Certification error

Posted: Wed Mar 04, 2020 3:59 pm
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,