Timeline problem

Discussion topics related to mobile applications and ZoneMinder Event Server (including machine learning)
Post Reply
derbydog
Posts: 2
Joined: Sun Oct 08, 2017 6:40 pm

Timeline problem

Post by derbydog »

Hi All - This is an older thread but I recently noticed the timeline function started hanging on my Galaxy S7 Android. I hadn't done anything to my server for a long time (Unbuntu 16.04) running ZM 1.30.0. Through the browser all of the functions work fine including Montage Review. On ZMNinja, montage and all cameras are viewable but when I click on timeline on ZMNinja, it just hangs.

I am using ZM authentication and if I understand this thread correctly I am not subject to the Chrome bug unless I am using basic auth.

The Chrome version on my Android is 61.0.3163.98

When I click on the timeline function, nothing is logged in the syslog:

Code: Select all

Oct  8 14:43:13 darin-Latitude-E6420 kernel: [ 1727.362310] [UFW BLOCK] IN=eno1 OUT= MAC=01:00:5e:00:00:01:58:8b:f3:3f:75:46:08:00 SRC=192.168.200.1 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2
Oct  8 14:43:14 darin-Latitude-E6420 kernel: [ 1727.993297] [UFW BLOCK] IN=eno1 OUT= MAC=01:00:5e:00:00:fb:00:80:77:df:fc:18:08:00 SRC=192.168.200.5 DST=224.0.0.251 LEN=32 TOS=0x12 PREC=0x60 TTL=1 ID=27001 PROTO=2
Oct  8 14:43:26 darin-Latitude-E6420 zmc_m2[2190]: INF [Basement: 5000 - Capturing at 3.00 fps]
Oct  8 14:43:26 darin-Latitude-E6420 zma_m2[2191]: INF [Basement: 5000 - Analysing at 3.00 fps]
Oct  8 14:43:28 darin-Latitude-E6420 zmc_m6[2231]: INF [CatFood: 5000 - Capturing at 2.99 fps]
Oct  8 14:43:28 darin-Latitude-E6420 zmc_m7[2232]: INF [LivingRoom: 5000 - Capturing at 3.00 fps]
Oct  8 14:43:28 darin-Latitude-E6420 zma_m6[2234]: INF [CatFood: 5000 - Analysing at 3.00 fps]
Oct  8 14:43:29 darin-Latitude-E6420 zmc_m3[2238]: INF [Mantle: 5000 - Capturing at 3.00 fps]
Oct  8 14:43:30 darin-Latitude-E6420 zmc_m4[2241]: INF [FrontDoor: 5000 - Capturing at 2.99 fps]
Oct  8 14:43:30 darin-Latitude-E6420 zma_m3[2244]: INF [Mantle: 5000 - Analysing at 3.00 fps]
Oct  8 14:43:31 darin-Latitude-E6420 zma_m7[2256]: INF [LivingRoom: 5000 - Analysing at 2.99 fps]
Oct  8 14:43:31 darin-Latitude-E6420 zma_m4[2253]: INF [FrontDoor: 5000 - Analysing at 3.00 fps]
Oct  8 14:44:54 darin-Latitude-E6420 zma_m1[2250]: INF [FamilyRoom: 5000 - Analysing at 2.41 fps]
Oct  8 14:45:00 darin-Latitude-E6420 zms[2950]: ERR [Frame send time 2800 msec too slow, throttling maxfps to 3.33]
Oct  8 14:45:06 darin-Latitude-E6420 zms[2950]: ERR [Frame send time 4760 msec too slow, throttling maxfps to 2.22]
Oct  8 14:45:18 darin-Latitude-E6420 kernel: [ 1852.377440] [UFW BLOCK] IN=eno1 OUT= MAC=01:00:5e:00:00:01:58:8b:f3:3f:75:46:08:00 SRC=192.168.200.1 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2
Oct  8 14:45:19 darin-Latitude-E6420 kernel: [ 1853.369377] [UFW BLOCK] IN=eno1 OUT= MAC=01:00:5e:00:00:fb:00:80:77:df:fc:18:08:00 SRC=192.168.200.5 DST=224.0.0.251 LEN=32 TOS=0x06 PREC=0x40 TTL=1 ID=27002 PROTO=2
Oct  8 14:45:25 darin-Latitude-E6420 zms[2950]: INF [Got signal 15 (Terminated), exiting]
Oct  8 14:47:23 darin-Latitude-E6420 kernel: [ 1977.392282] [UFW BLOCK] IN=eno1 OUT= MAC=01:00:5e:00:00:01:58:8b:f3:3f:75:46:08:00 SRC=192.168.200.1 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2
Oct  8 14:47:24 darin-Latitude-E6420 kernel: [ 1977.995316] [UFW BLOCK] IN=eno1 OUT= MAC=01:00:5e:00:00:fb:00:80:77:df:fc:18:08:00 SRC=192.168.200.5 DST=224.0.0.251 LEN=32 TOS=0x14 PREC=0x20 TTL=1 ID=27003 PROTO=2
Oct  8 14:47:33 darin-Latitude-E6420 zmdc[1982]: WAR [Can't find process with command of 'zma -m 8']
Oct  8 14:47:33 darin-Latitude-E6420 zmdc[1982]: WAR [Can't find process with command of 'zmc -m 8']
Oct  8 14:47:34 darin-Latitude-E6420 zmdc[1982]: WAR [Can't find process with command of 'zma -m 9']
Oct  8 14:47:34 darin-Latitude-E6420 zmdc[1982]: WAR [Can't find process with command of 'zmc -m 9']
Oct  8 14:47:35 darin-Latitude-E6420 zmdc[1982]: WAR [Can't find process with command of 'zma -m 10']
Oct  8 14:47:35 darin-Latitude-E6420 zmdc[1982]: WAR [Can't find process with command of 'zmc -m 10']
Oct  8 14:47:44 darin-Latitude-E6420 web_php[1469]: INF [Login successful for user "admin"]
Oct  8 14:48:40 darin-Latitude-E6420 zmc_m1[2931]: INF [FamilyRoom: 1000 - Capturing at 2.53 fps]
Oct  8 14:48:59 darin-Latitude-E6420 zmc_m2[2190]: INF [Basement: 6000 - Capturing at 2.99 fps]
Oct  8 14:49:00 darin-Latitude-E6420 zma_m2[2191]: INF [Basement: 6000 - Analysing at 2.99 fps]
Oct  8 14:49:01 darin-Latitude-E6420 zmc_m6[2231]: INF [CatFood: 6000 - Capturing at 3.00 fps]
Oct  8 14:49:02 darin-Latitude-E6420 zmc_m7[2232]: INF [LivingRoom: 6000 - Capturing at 2.99 fps]
Oct  8 14:49:02 darin-Latitude-E6420 zma_m6[2234]: INF [CatFood: 6000 - Analysing at 2.99 fps]
Oct  8 14:49:03 darin-Latitude-E6420 zmc_m3[2238]: INF [Mantle: 6000 - Capturing at 2.99 fps]
Oct  8 14:49:03 darin-Latitude-E6420 zmc_m4[2241]: INF [FrontDoor: 6000 - Capturing at 3.00 fps]
Oct  8 14:49:03 darin-Latitude-E6420 zma_m3[2244]: INF [Mantle: 6000 - Analysing at 3.00 fps]
Oct  8 14:49:04 darin-Latitude-E6420 zma_m7[2256]: INF [LivingRoom: 6000 - Analysing at 3.00 fps]
Oct  8 14:49:04 darin-Latitude-E6420 zma_m4[2253]: INF [FrontDoor: 6000 - Analysing at 3.00 fps]
Oct  8 14:49:28 darin-Latitude-E6420 kernel: [ 2102.407399] [UFW BLOCK] IN=eno1 OUT= MAC=01:00:5e:00:00:01:58:8b:f3:3f:75:46:08:00 SRC=192.168.200.1 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2
Oct  8 14:49:28 darin-Latitude-E6420 kernel: [ 2102.471346] [UFW BLOCK] IN=eno1 OUT= MAC=01:00:5e:00:00:fb:00:80:77:df:fc:18:08:00 SRC=192.168.200.5 DST=224.0.0.251 LEN=32 TOS=0x00 PREC=0x00 TTL=1 ID=27005 PROTO=2
Oct  8 14:50:28 darin-Latitude-E6420 zma_m1[2250]: INF [FamilyRoom: 6000 - Analysing at 2.99 fps]
Here is a snippet of my Apache access log:

Code: Select all

192.168.200.43 - - [08/Oct/2017:14:47:44 -0400] "GET /zm HTTP/1.1" 301 575 "-" "Mozilla/5.0 (Linux; Android 7.0; SM-G930V Build/NRD90M; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/61.0.3163.98 Mobile Safari/537.36"
192.168.200.43 - - [08/Oct/2017:14:47:44 -0400] "GET /zm/ HTTP/1.1" 200 3388 "-" "Mozilla/5.0 (Linux; Android 7.0; SM-G930V Build/NRD90M; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/61.0.3163.98 Mobile Safari/537.36"
192.168.200.43 - - [08/Oct/2017:14:47:44 -0400] "POST /zm/index.php HTTP/1.1" 200 3388 "-" "Mozilla/5.0 (Linux; Android 7.0; SM-G930V Build/NRD90M; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/61.0.3163.98 Mobile Safari/537.36"
192.168.200.43 - - [08/Oct/2017:14:47:45 -0400] "GET /zm/api/host/getVersion.json HTTP/1.1" 200 263 "-" "Mozilla/5.0 (Linux; Android 7.0; SM-G930V Build/NRD90M; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/61.0.3163.98 Mobile Safari/537.36"
192.168.200.43 - - [08/Oct/2017:14:47:45 -0400] "GET /zm/api/host/getTimeZone.json HTTP/1.1" 404 4942 "-" "Mozilla/5.0 (Linux; Android 7.0; SM-G930V Build/NRD90M; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/61.0.3163.98 Mobile Safari/537.36"
192.168.200.43 - - [08/Oct/2017:14:47:45 -0400] "GET /zm/api/configs/viewByName/ZM_EVENT_IMAGE_DIGITS.json HTTP/1.1" 200 256 "-" "Mozilla/5.0 (Linux; Android 7.0; SM-G930V Build/NRD90M; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/61.0.3163.98 Mobile Safari/537.36"
192.168.200.43 - - [08/Oct/2017:14:47:45 -0400] "GET /zm/api/monitors.json HTTP/1.1" 200 16162 "-" "Mozilla/5.0 (Linux; Android 7.0; SM-G930V Build/NRD90M; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/61.0.3163.98 Mobile Safari/537.36"
192.168.200.43 - - [08/Oct/2017:14:47:45 -0400] "GET /zm/api/servers.json HTTP/1.1" 200 231 "-" "Mozilla/5.0 (Linux; Android 7.0; SM-G930V Build/NRD90M; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/61.0.3163.98 Mobile Safari/537.36"
192.168.200.43 - - [08/Oct/2017:14:47:45 -0400] "GET /zm/index.php?view=watch&mid=1&connkey=398381 HTTP/1.1" 200 2558 "-" "Mozilla/5.0 (Linux; Android 7.0; SM-G930V Build/NRD90M; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/61.0.3163.98 Mobile Safari/537.36"
192.168.200.43 - - [08/Oct/2017:14:47:46 -0400] "GET /zm/cgi-bin/nph-zms?mode=single&monitor=2&scale=50&auth=330df37bb9fd2c248808ef51dfef2930&rand=1507488465593 HTTP/1.1" 200 12977 "-" "Mozilla/5.0 (Linux; Android 7.0; SM-G930V Build/NRD90M; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/61.0.3163.98 Mobile Safari/537.36"
192.168.200.43 - - [08/Oct/2017:14:47:46 -0400] "GET /zm/cgi-bin/nph-zms?mode=single&monitor=1&scale=50&auth=330df37bb9fd2c248808ef51dfef2930&rand=1507488465593 HTTP/1.1" 200 11681 "-" "Mozilla/5.0 (Linux; Android 7.0; SM-G930V Build/NRD90M; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/61.0.3163.98 Mobile Safari/537.36"
192.168.200.43 - - [08/Oct/2017:14:47:46 -0400] "GET /zm/cgi-bin/nph-zms?mode=single&monitor=4&scale=50&auth=330df37bb9fd2c248808ef51dfef2930&rand=1507488465593 HTTP/1.1" 200 9766 "-" "Mozilla/5.0 (Linux; Android 7.0; SM-G930V Build/NRD90M; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/61.0.3163.98 Mobile Safari/537.36"
192.168.200.43 - - [08/Oct/2017:14:47:46 -0400] "GET /zm/cgi-bin/nph-zms?mode=single&monitor=3&scale=50&auth=330df37bb9fd2c248808ef51dfef2930&rand=1507488465593 HTTP/1.1" 200 12936 "-" "Mozilla/5.0 (Linux; Android 7.0; SM-G930V Build/NRD90M; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/61.0.3163.98 Mobile Safari/537.36"
192.168.200.43 - - [08/Oct/2017:14:47:46 -0400] "GET /zm/cgi-bin/nph-zms?mode=single&monitor=7&scale=50&auth=330df37bb9fd2c248808ef51dfef2930&rand=1507488465593 HTTP/1.1" 200 10253 "-" "Mozilla/5.0 (Linux; Android 7.0; SM-G930V Build/NRD90M; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/61.0.3163.98 Mobile Safari/537.36"
192.168.200.43 - - [08/Oct/2017:14:47:46 -0400] "GET /zm/cgi-bin/nph-zms?mode=single&monitor=6&scale=50&auth=330df37bb9fd2c248808ef51dfef2930&rand=1507488465593 HTTP/1.1" 200 12203 "-" "Mozilla/5.0 (Linux; Android 7.0; SM-G930V Build/NRD90M; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/61.0.3163.98 Mobile Safari/537.36"
192.168.200.43 - - [08/Oct/2017:14:47:47 -0400] "GET /zm/cgi-bin/nph-zms?mode=single&monitor=1&scale=50&auth=330df37bb9fd2c248808ef51dfef2930&rand=1507488467600 HTTP/1.1" 200 11647 "-" "Mozilla/5.0 (Linux; Android 7.0; SM-G930V Build/NRD90M; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/61.0.3163.98 Mobile Safari/537.36"
192.168.200.43 - - [08/Oct/2017:14:47:47 -0400] "GET /zm/cgi-bin/nph-zms?mode=single&monitor=2&scale=50&auth=330df37bb9fd2c248808ef51dfef2930&rand=1507488467600 HTTP/1.1" 200 13010 "-" "Mozilla/5.0 (Linux; Android 7.0; SM-G930V Build/NRD90M; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/61.0.3163.98 Mobile Safari/537.36"
192.168.200.43 - - [08/Oct/2017:14:47:47 -0400] "GET /zm/cgi-bin/nph-zms?mode=single&monitor=7&scale=50&auth=330df37bb9fd2c248808ef51dfef2930&rand=1507488467600 HTTP/1.1" 200 10218 "-" "Mozilla/5.0 (Linux; Android 7.0; SM-G930V Build/NRD90M; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/61.0.3163.98 Mobile Safari/537.36"
192.168.200.43 - - [08/Oct/2017:14:47:47 -0400] "GET /zm/cgi-bin/nph-zms?mode=single&monitor=4&scale=50&auth=330df37bb9fd2c248808ef51dfef2930&rand=1507488467600 HTTP/1.1" 200 9762 "-" "Mozilla/5.0 (Linux; Android 7.0; SM-G930V Build/NRD90M; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/61.0.3163.98 Mobile Safari/537.36"
192.168.200.43 - - [08/Oct/2017:14:47:47 -0400] "GET /zm/cgi-bin/nph-zms?mode=single&monitor=6&scale=50&auth=330df37bb9fd2c248808ef51dfef2930&rand=1507488467600 HTTP/1.1" 200 12203 "-" "Mozilla/5.0 (Linux; Android 7.0; SM-G930V Build/NRD90M; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/61.0.3163.98 Mobile Safari/537.36"
192.168.200.43 - - [08/Oct/2017:14:47:47 -0400] "GET /zm/cgi-bin/nph-zms?mode=single&monitor=3&scale=50&auth=330df37bb9fd2c248808ef51dfef2930&rand=1507488467600 HTTP/1.1" 200 12956 "-" "Mozilla/5.0 (Linux; Android 7.0; SM-G930V Build/NRD90M; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/61.0.3163.98 Mobile Safari/537.36"
And my Apache error log:

Code: Select all

[Sun Oct 08 14:16:42.156072 2017] [:error] [pid 1468] [client 192.168.200.43:34258] INF [Login successful for user "admin"]
[Sun Oct 08 14:16:57.557175 2017] [:error] [pid 2270] [client 192.168.200.43:34273] INF [Login successful for user "admin"]
[Sun Oct 08 14:20:32.495438 2017] [:error] [pid 1470] [client 192.168.200.43:34298] INF [Login successful for user "admin"]
[Sun Oct 08 14:20:56.021833 2017] [:error] [pid 1467] [client 192.168.200.43:34316] INF [Login successful for user "admin"]
[Sun Oct 08 14:33:46.003625 2017] [:error] [pid 2404] [client 192.168.200.43:34392] INF [Login successful for user "admin"]
[Sun Oct 08 14:34:25.387288 2017] [:error] [pid 1468] [client 192.168.200.43:34421] INF [Login successful for user "admin"]
[Sun Oct 08 14:37:36.966923 2017] [:error] [pid 2270] [client 192.168.200.43:34481] INF [Login successful for user "admin"]
[Sun Oct 08 14:44:40.968342 2017] [:error] [pid 2503] [client 192.168.200.124:58544] PHP Notice:  Undefined index: Enabled in /usr/share/zoneminder/www/skins/classic/views/monitor.php on line 537, referer: http://192.168.200.71/zm/index.php?view=monitor&mid=8
[Sun Oct 08 14:45:33.178662 2017] [:error] [pid 2871] [client 192.168.200.124:58603] PHP Notice:  Undefined index: Enabled in /usr/share/zoneminder/www/skins/classic/views/monitor.php on line 537, referer: http://192.168.200.71/zm/index.php?view=monitor&mid=8
[Sun Oct 08 14:45:59.888465 2017] [:error] [pid 1467] [client 192.168.200.124:58613] PHP Notice:  Undefined index: Enabled in /usr/share/zoneminder/www/skins/classic/views/monitor.php on line 537, referer: http://192.168.200.71/zm/index.php?view=monitor&mid=8
[Sun Oct 08 14:46:01.263026 2017] [:error] [pid 1466] [client 192.168.200.124:58618] PHP Notice:  Undefined index: User in /usr/share/zoneminder/www/skins/classic/views/monitor.php on line 589, referer: http://192.168.200.71/zm/index.php
[Sun Oct 08 14:46:01.263053 2017] [:error] [pid 1466] [client 192.168.200.124:58618] PHP Notice:  Undefined index: Pass in /usr/share/zoneminder/www/skins/classic/views/monitor.php on line 590, referer: http://192.168.200.71/zm/index.php
[Sun Oct 08 14:46:07.530216 2017] [:error] [pid 1466] [client 192.168.200.124:58618] PHP Notice:  Undefined index: Exif in /usr/share/zoneminder/www/skins/classic/views/monitor.php on line 664, referer: http://192.168.200.71/zm/index.php
[Sun Oct 08 14:46:37.266504 2017] [:error] [pid 2404] [client 192.168.200.124:58628] PHP Notice:  Undefined index: Enabled in /usr/share/zoneminder/www/skins/classic/views/monitor.php on line 537, referer: http://192.168.200.71/zm/index.php
[Sun Oct 08 14:47:10.562269 2017] [:error] [pid 1469] [client 192.168.200.124:58640] PHP Notice:  Undefined index: Enabled in /usr/share/zoneminder/www/skins/classic/views/monitor.php on line 537, referer: http://192.168.200.71/zm/index.php?view=monitor&mid=8
[Sun Oct 08 14:47:44.813517 2017] [:error] [pid 1469] [client 192.168.200.43:34523] INF [Login successful for user "admin"]
I hope this isn't a stupid configuration issue, but I have been battling with this for a few hours now to no avail. Any help would be appreciated.
User avatar
asker
Posts: 1553
Joined: Sun Mar 01, 2015 12:12 pm

Re: Timeline problem

Post by asker »

Hi, I moved your post to a new topic as its not related to the thread you posted in. I'll need zmninja logs (not ZM logs)

1. Clear zmNinja logs
2. kill zmNinja
3. start zmNinja, go to timeline (lets assume it gets stuck here)
4. Kill zmNinja, open app, go to logs, copy/email logs
I no longer work on zmNinja, zmeventnotification, pyzm or mlapi. I may respond on occasion based on my available time/interest.

Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs
User avatar
asker
Posts: 1553
Joined: Sun Mar 01, 2015 12:12 pm

Re: Timeline problem

Post by asker »

Ok I broke something on timeline with 1.2.503 - only in Android/Chrome.
At the moment no idea what

stay tuned
I no longer work on zmNinja, zmeventnotification, pyzm or mlapi. I may respond on occasion based on my available time/interest.

Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs
User avatar
asker
Posts: 1553
Joined: Sun Mar 01, 2015 12:12 pm

Re: Timeline problem

Post by asker »

Fixed the problem - pushed 1.2.504 to play store today.
I no longer work on zmNinja, zmeventnotification, pyzm or mlapi. I may respond on occasion based on my available time/interest.

Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs
Post Reply