Page 1 of 1

Multi-Server Live View Page Refresh

Posted: Thu Jan 10, 2019 8:11 am
by Pedulla
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?

Re: Multi-Server Live View Page Refresh

Posted: Thu Jan 10, 2019 3:51 pm
by iconnor
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.

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

Posted: Thu Jan 10, 2019 7:00 pm
by Pedulla
Bingo!

AUTH_HASH_LOGIN now set.