Zone setup flashing

Discussions related to the 1.36.x series of ZoneMinder
Post Reply
haus
Posts: 213
Joined: Thu Oct 11, 2007 5:10 am

Zone setup flashing

Post by haus »

I've just upgraded from 1.36.13 to 1.36.24 on Ubuntu 20.04 using iconnor's PPA.

Everything is working fine so far except when I try to access zone setup using a browser. The image background (where I draw the zone) is flashing between the current image and blank (turns out the whole page is reloading, according to devtools). It does make it impossible to move the zone markers, because they redraw every time the page reloads (I can't change the numbers for the coordinates either).

Visually it's very similar to this thread (viewtopic.php?p=127357&hilit=flashing#p127357) except my stream view is fine, it's only in the zone setup that I see this. I did try installing php-fpm and no change after restarting apache2. It happens in Chrome, Firefox, and Edge.

The only thing I'm getting in syslog is a line like this every time it blinks when I use Chrome:

Code: Select all

Aug 25 16:57:23 server web_php[73436]: 8/25/22, 4:57:23 PM PDT.546528 web_js[73436].ERR [10.7.7.1] [wasm-eval%20violated%20CSP%20script-src] at chrome-extension line 3
In devtools I do see this repeatedly (the page keeps reloading):

Code: Select all

https://MY-SERVER:30002/zm/index.php?view=request&request=stream&connkey=34734&auth=8bc9a05cee5ae784c1fa5f843013f4fd&command=99
and the response is 401 unauthorized. When I try to access the URL directly, I get this in my logs:

Code: Select all

Aug 25 17:03:50 server web_php[73558]: 8/25/22, 5:03:50 PM PDT.643507 web_php[73558].ERR [10.7.7.1] [socket_sendto( /run/zm/zms-034734s.sock ) failed: Connection refused] at /usr/share/zoneminder/www/includes/functions.php line 1880
and I also get the 401 unauthorized response. I turned off the firewall and got the same result. I'm wondering if anyone else sees this or is it unique to my setup?
Post Reply