Page 1 of 1
zmNinja stuck at authenticating window
Posted: Mon Jul 04, 2016 7:41 pm
by jammersplash
Just installed zmNinja on fresh ZM (1.29) on ubuntu 16.04.
The wizard runs fine but when I try to check montage and other pages it get stuck at a grey page with text "authenticating..."
I have tried to redo the setup by removing app data but it still behaves the same.
What is the problem here?
Re: znNinja stuck at authenticating window
Posted: Mon Jul 04, 2016 11:54 pm
by asker
Hard to say without any logs/details
a) What does zmNinja logs say ? (after enabling debug logs in developer settings)
b) Have you validated the APIs work in ZM?
c) Which version of zmNinja - android/ios/desktop?
thx
Re: znNinja stuck at authenticating window
Posted: Tue Jul 05, 2016 6:48 am
by jammersplash
a) Not easy to get logs since the app freeze when I try to access my cameras. Authentication seems to work when I save the profile but then it freeze when I click montage or monitor or similar. I rerun the wizard (cleared zmninja data) and managed to goto settings and enable debug logs before it froze. Where is the log file stored? I found directory /sdcard/Android/data/com.pliablespixels.zmninja_pro but it is empty.
b) I followed all steps in the ubuntu tutorials I found and everything seems to work from web browser. How can I easily verify API is 100% ok?
c) zmninja is the latest for android (1.1.93). Running on Samsung Galaxy S6 (Android 6.0.1)
Re: zmNinja stuck at authenticating window
Posted: Tue Jul 05, 2016 1:30 pm
by asker
jammersplash wrote:
b) I followed all steps in the ubuntu tutorials I found and everything seems to work from web browser. How can I easily verify API is 100% ok?
Hi there, please take a look at the "How to make sure your APIs are working" article here
https://github.com/pliablepixels/zmNinja/wiki
Re: zmNinja stuck at authenticating window
Posted: Thu Jul 07, 2016 9:21 pm
by jammersplash
Thanks
I found out that i missed to set correct permissions on /usr/share/zoneminder/
Now I can access my zoneminder server from zmninja.
The only problem I have now is the livecams are not shown. I only see question marks instead of videos.
I had problems with the last API verification step, to check monitors (
http://server/zm/api/host/monitors.json )
But I found out that I could get a list from
http://server/zm/api/monitors.json
This is the path mentioned at
http://zoneminder.readthedocs.io/en/stable/api.html
Which one is correct?
Re: zmNinja stuck at authenticating window
Posted: Fri Jul 08, 2016 12:02 am
by asker
Re: zmNinja stuck at authenticating window
Posted: Fri Jul 08, 2016 8:00 pm
by jammersplash
Thanks
I missed to setup cgi-bin path correct in zm ninja settings. It should be
http://server/zm/cgi-bin
Now it works ok.
Thanks for fast answers.