Page 1 of 1

Cameras arent visibles after I activate authentication

Posted: Fri Apr 01, 2016 8:11 pm
by evilside
Hi

When I activate the Zoneminder Web console authentication, the cameras arent visibles.

I have restarted service after change but not working.

If I disable the authentication option, the cameras are inmediatly visibles.

I have Foscam IP cameras and I have writed the user and password camera in Remote Host Path, maybe this is the problem?

Re: Cameras arent visibles after I activate authentication

Posted: Fri Apr 01, 2016 9:26 pm
by bbunge
Did you give your user permission to view cameras?

Re: Cameras arent visibles after I activate authentication

Posted: Fri Apr 08, 2016 12:12 am
by evilside
Hi

Yes, the beginning, the cameras aren't selected in the list of restricted cameras, but now are marked, and occur same problem, the cameras are not visible.

This is admin user:
Image

Re: Cameras arent visibles after I activate authentication

Posted: Fri Apr 08, 2016 6:50 am
by PacoLM
Stupid question...Have you logged out from the session and logged in again after the changes?

Re: Cameras arent visibles after I activate authentication

Posted: Wed Apr 13, 2016 7:15 pm
by evilside
...yes and restarted the zoneminder service.

Re: Cameras arent visibles after I activate authentication

Posted: Thu Apr 14, 2016 1:47 pm
by rockedge
Look in Options>Systems
AUTH_RELAY Method used to relay authentication information (?) hashed plain none

and select "none"
save restart zoneminder and see if that works.

Re: Cameras arent visibles after I activate authentication

Posted: Wed Apr 20, 2016 4:12 pm
by evilside
I have changed AUTH_RELAY from 'hashed' to 'plain' and now is working. Is secure use this method for Internet?

Re: Cameras arent visibles after I activate authentication

Posted: Thu Apr 21, 2016 9:41 pm
by rockedge
No it is not secure. Only the user name is passed in the URL for authentication. Have you changed AUTH_HASH_SECRET ? I have also had this occur. I then re-enabled the Hash auth and it worked. I can not say for sure what changed to make it work but now it does.

Re: Cameras arent visibles after I activate authentication

Posted: Fri Apr 22, 2016 1:51 am
by knight-of-ni
I have seen this occur with AUTH_HASH_IPS enabled.
For some reason, ZoneMinder could not determine the client's ip so it was null. I don't remember the circumstances which caused this.

Re: Cameras arent visibles after I activate authentication

Posted: Wed Apr 27, 2016 7:36 pm
by evilside
I changed AUTH_HASH_SECRET and disabled the AUTH_HASH_IPS option but not working the hashed auth relay, only with the PLAIN option is working.

Re: Cameras arent visibles after I activate authentication

Posted: Sun Sep 11, 2016 12:18 am
by jcconnell
Having the same issue here.

After enabling builtin auth, I cannot view cameras if using hashed auth_relay. Plain and None work.

I have tried various configurations of logging out, restarting ZM, disabling Auth_hash_ips, etc. No luck. I'm running 14.04 and ZM 1.30.

Re: Cameras arent visibles after I activate authentication

Posted: Sun Apr 07, 2019 8:10 am
by pat2
I found a solution on 1.30.4, probably 2 and 3 are the more important:

1. cancel cookies and access grants in firefox for zm site,
2. run sudo dpkg-reconfigure tzdata and set your your time zone, e.g. America and then New_York
3, nano /etc/php/7.0/apache2/php.ini and set date.timezone = America/New_York


2 and 3 to be set to same timezone.