Authentication failed from zmNinja in browser
Posted: Thu Dec 01, 2016 12:27 pm
I'm trying to use zmNinja from a browser on the same machine where zm is installed.
I followed this guide https://github.com/pliablepixels/zmNinj ... rom-Source.
When I try to setup a new connection I always get a 'ZoneMinder authentication failed' error message.
I am not using zm authentication.
I tried using both 'http://localhost/zm' and 'http://192.168.2.13/zm' as zm portal URL. The connection from the zmNinja Android app worked using http://192.168.2.13/zm.
I tried setting up the ProxyURL in ionic.config.json to the same URLs above without success.
In the versbose infromation logged in the terminal when running 'ionic serve' with the '-c' option I found:
Reachability test..http://localhost/zm/index.php
Failed reachability on http://localhost/zm/index.php with error {"data":null,"status":0,"config":{"method":"GET","transformRequest":[null],"transformResponse":[null],"url":"http://localhost/zm/index.php","headers ... ation/json, text/plain, */*"}},"statusText":""}
Does anybody has any idea about how to make this work?
I followed this guide https://github.com/pliablepixels/zmNinj ... rom-Source.
When I try to setup a new connection I always get a 'ZoneMinder authentication failed' error message.
I am not using zm authentication.
I tried using both 'http://localhost/zm' and 'http://192.168.2.13/zm' as zm portal URL. The connection from the zmNinja Android app worked using http://192.168.2.13/zm.
I tried setting up the ProxyURL in ionic.config.json to the same URLs above without success.
In the versbose infromation logged in the terminal when running 'ionic serve' with the '-c' option I found:
Reachability test..http://localhost/zm/index.php
Failed reachability on http://localhost/zm/index.php with error {"data":null,"status":0,"config":{"method":"GET","transformRequest":[null],"transformResponse":[null],"url":"http://localhost/zm/index.php","headers ... ation/json, text/plain, */*"}},"statusText":""}
Does anybody has any idea about how to make this work?