Cameras arent visibles after I activate authentication

Forum for questions and support relating to the 1.29.x releases only.
Post Reply
evilside
Posts: 5
Joined: Fri Apr 01, 2016 7:50 pm

Cameras arent visibles after I activate authentication

Post by evilside » Fri Apr 01, 2016 8:11 pm

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?

bbunge
Posts: 2441
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Cameras arent visibles after I activate authentication

Post by bbunge » Fri Apr 01, 2016 9:26 pm

Did you give your user permission to view cameras?

evilside
Posts: 5
Joined: Fri Apr 01, 2016 7:50 pm

Re: Cameras arent visibles after I activate authentication

Post by evilside » Fri Apr 08, 2016 12:12 am

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

PacoLM
Posts: 967
Joined: Wed Dec 02, 2009 9:55 pm
Location: Spain

Re: Cameras arent visibles after I activate authentication

Post by PacoLM » Fri Apr 08, 2016 6:50 am

Stupid question...Have you logged out from the session and logged in again after the changes?

mini-ITX system (6 IPCams - Ubuntu14.04 - ZM1.31.1)

evilside
Posts: 5
Joined: Fri Apr 01, 2016 7:50 pm

Re: Cameras arent visibles after I activate authentication

Post by evilside » Wed Apr 13, 2016 7:15 pm

...yes and restarted the zoneminder service.

rockedge
Posts: 1106
Joined: Fri Apr 04, 2014 1:46 pm
Location: Connecticut,USA
Contact:

Re: Cameras arent visibles after I activate authentication

Post by rockedge » Thu Apr 14, 2016 1:47 pm

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.

evilside
Posts: 5
Joined: Fri Apr 01, 2016 7:50 pm

Re: Cameras arent visibles after I activate authentication

Post by evilside » Wed Apr 20, 2016 4:12 pm

I have changed AUTH_RELAY from 'hashed' to 'plain' and now is working. Is secure use this method for Internet?

rockedge
Posts: 1106
Joined: Fri Apr 04, 2014 1:46 pm
Location: Connecticut,USA
Contact:

Re: Cameras arent visibles after I activate authentication

Post by rockedge » Thu Apr 21, 2016 9:41 pm

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.

User avatar
knight-of-ni
Posts: 2229
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: Cameras arent visibles after I activate authentication

Post by knight-of-ni » Fri Apr 22, 2016 1:51 am

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.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/

evilside
Posts: 5
Joined: Fri Apr 01, 2016 7:50 pm

Re: Cameras arent visibles after I activate authentication

Post by evilside » Wed Apr 27, 2016 7:36 pm

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.

jcconnell
Posts: 10
Joined: Thu Sep 08, 2016 9:13 pm

Re: Cameras arent visibles after I activate authentication

Post by jcconnell » Sun Sep 11, 2016 12:18 am

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.

pat2
Posts: 73
Joined: Fri Sep 16, 2016 6:35 pm

Re: Cameras arent visibles after I activate authentication

Post by pat2 » Sun Apr 07, 2019 8:10 am

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests