Multi-Server Live View Page Refresh

Forum for questions and support relating to the 1.32.x releases only.
Post Reply
Pedulla
Posts: 133
Joined: Thu Nov 27, 2014 11:16 am
Location: Portland, Or

Multi-Server Live View Page Refresh

Post by Pedulla » Thu Jan 10, 2019 8:11 am

ZM1.32.3 from zoneminder-1.32 repo, UB1804, LAMP, NFS event share.

Got my first multi-server setup running :D

Let's call them zm1 & zm2

When viewing (live) a monitor setup on zm1 from the link on zm2, the page refreshes about every 3-5sec. The same result when viewing a monitor setup on zm2 viewed from the link on zm1. These are all ffmpeg monitor types but a mix of mjpeg and h.264 streams.
When viewing the monitors from their native server, no refresh issue.
It is a whole page refresh as the browser spinner reflects.
Only tested on Chrome on Mint 18.

Playback of recorded events and montage view are not affected by this phenomena.

Any one else observed this?
Is it a bug or a config issue?

User avatar
iconnor
Posts: 728
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Multi-Server Live View Page Refresh

Post by iconnor » Thu Jan 10, 2019 3:51 pm

refresh happens when an invalid json response is seen, because typically it is an expired auth problem.

You might not have AUTH_HASH_LOGINS enabled in your config. This is required.

Check in the javascript console for errors, you may to check the preserve log checkbox because the console will be cleared on each refresh.

Pedulla
Posts: 133
Joined: Thu Nov 27, 2014 11:16 am
Location: Portland, Or

<Solved> Re: Multi-Server Live View Page Refresh

Post by Pedulla » Thu Jan 10, 2019 7:00 pm

Bingo!

AUTH_HASH_LOGIN now set.

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests