Red question mark on monitors after upgrade
Posted: Mon Sep 04, 2017 2:33 pm
Hello, I have been an active user of zoneminder and zmninja for years and both have worked very well for me. I recently upgraded my server to Fedora 26 and now zmninja seems to authenticate fine (I'm using basic authentication), but all monitors just display a red question mark. While looking in the ssl_access log on the server, it seems that api requests from zmninja are being denied with a 401 return code. I have pasted log entries below. Browser access to zoneminder works perfectly using the same credentials. Thanks in advance for any assistance.
192.168.1.1 - - - - router - - [04/Sep/2017:10:25:33 -0400] "POST /zm/index.php HTTP/1.1" 401 381
192.168.1.1 - - - - router - a057754 [04/Sep/2017:10:25:33 -0400] "POST /zm/index.php HTTP/1.1" 200 1071
192.168.1.1 - - - - router - - [04/Sep/2017:10:25:34 -0400] "POST /zm/index.php HTTP/1.1" 401 381
192.168.1.1 - - - - router - a057754 [04/Sep/2017:10:25:34 -0400] "POST /zm/index.php HTTP/1.1" 200 40809
192.168.1.1 - - - - router - - [04/Sep/2017:10:25:34 -0400] "GET /zm/api/host/getVersion.json HTTP/1.1" 401 381
192.168.1.1 - - - - router - a057754 [04/Sep/2017:10:25:34 -0400] "GET /zm/api/host/getVersion.json HTTP/1.1" 200 40
192.168.1.179 - - - - 192.168.1.179 - - [04/Sep/2017:10:25:34 -0400] "GET /zm/api/configs/viewByName/ZM_PATH_ZMS.json HTTP/1.1" 401 381
192.168.1.179 - - - - 192.168.1.179 - a057754 [04/Sep/2017:10:25:34 -0400] "GET /zm/api/configs/viewByName/ZM_PATH_ZMS.json HTTP/1.1" 200 44
192.168.1.1 - - - - router - - [04/Sep/2017:10:25:34 -0400] "GET /zm/api/monitors.json HTTP/1.1" 401 381
192.168.1.1 - - - - router - a057754 [04/Sep/2017:10:25:34 -0400] "GET /zm/api/monitors.json HTTP/1.1" 200 9475
192.168.1.1 - - - - router - - [04/Sep/2017:10:25:34 -0400] "GET /cgi-bin/nph-zms?mode=single&monitor=1 HTTP/1.1" 401 381
192.168.1.1 - - - - router - a057754 [04/Sep/2017:10:25:34 -0400] "GET /cgi-bin/nph-zms?mode=single&monitor=1 HTTP/1.1" 404 213
192.168.1.1 - - - - router - - [04/Sep/2017:10:25:35 -0400] "GET /cgi-bin-zm/nph-zms?mode=single&monitor=1 HTTP/1.1" 401 381
192.168.1.1 - - - - router - a057754 [04/Sep/2017:10:25:35 -0400] "GET /cgi-bin-zm/nph-zms?mode=single&monitor=1 HTTP/1.1" 200 -
192.168.1.1 - - - - router - - [04/Sep/2017:10:26:10 -0400] "POST /zm/index.php HTTP/1.1" 401 381
192.168.1.1 - - - - router - a057754 [04/Sep/2017:10:26:10 -0400] "POST /zm/index.php HTTP/1.1" 200 1071
192.168.1.1 - - - - router - - [04/Sep/2017:10:26:10 -0400] "GET /zm/api/host/getVersion.json HTTP/1.1" 401 381
192.168.1.1 - - - - router - a057754 [04/Sep/2017:10:26:10 -0400] "GET /zm/api/host/getVersion.json HTTP/1.1" 200 40
192.168.1.1 - - - - router - - [04/Sep/2017:10:26:10 -0400] "GET /zm/api/host/getTimeZone.json HTTP/1.1" 401 381
192.168.1.1 - - - - router - - [04/Sep/2017:10:26:10 -0400] "GET /zm/api/configs/viewByName/ZM_PATH_ZMS.json HTTP/1.1" 401 381
192.168.1.1 - - - - router - a057754 [04/Sep/2017:10:26:10 -0400] "GET /zm/api/host/getTimeZone.json HTTP/1.1" 200 27
192.168.1.1 - - - - router - a057754 [04/Sep/2017:10:26:10 -0400] "GET /zm/api/configs/viewByName/ZM_PATH_ZMS.json HTTP/1.1" 200 44
192.168.1.1 - - - - router - - [04/Sep/2017:10:26:10 -0400] "GET /cgi-bin-zm/zms HTTP/1.1" 401 381
192.168.1.1 - - - - router - a057754 [04/Sep/2017:10:26:10 -0400] "GET /cgi-bin-zm/zms HTTP/1.1" 500 540
192.168.1.1 - - - - router - - [04/Sep/2017:10:26:11 -0400] "GET /zm/api/host/getVersion.json HTTP/1.1" 401 381
192.168.1.1 - - - - router - a057754 [04/Sep/2017:10:26:11 -0400] "GET /zm/api/host/getVersion.json HTTP/1.1" 200 40
192.168.1.1 - - - - router - - [04/Sep/2017:10:26:11 -0400] "GET /zm/api/monitors.json HTTP/1.1" 401 381
192.168.1.1 - - - - router - a057754 [04/Sep/2017:10:26:11 -0400] "GET /zm/api/monitors.json HTTP/1.1" 200 9475
192.168.1.1 - - - - router - - [04/Sep/2017:10:26:11 -0400] "GET /zm/api/servers.json HTTP/1.1" 401 381
192.168.1.1 - - - - router - a057754 [04/Sep/2017:10:26:11 -0400] "GET /zm/api/servers.json HTTP/1.1" 200 14
192.168.1.1 - - - - router - - [04/Sep/2017:10:26:48 -0400] "GET /zm/index.php?view=watch&mid=1&connkey=415920 HTTP/1.1" 401 381
192.168.1.1 - - - - router - a057754 [04/Sep/2017:10:26:48 -0400] "GET /zm/index.php?view=watch&mid=1&connkey=415920 HTTP/1.1" 200 8830
192.168.1.1 - - - - router - - [04/Sep/2017:10:26:53 -0400] "GET /zm/api/monitors/alarm/id:1/command:status.json HTTP/1.1" 401 381
192.168.1.1 - - - - router - - [04/Sep/2017:10:26:53 -0400] "GET /zm/api/monitors/alarm/id:6/command:status.json HTTP/1.1" 401 381
192.168.1.1 - - - - router - a057754 [04/Sep/2017:10:26:53 -0400] "GET /zm/api/monitors/alarm/id:1/command:status.json HTTP/1.1" 200 14
192.168.1.1 - - - - router - a057754 [04/Sep/2017:10:26:53 -0400] "GET /zm/api/monitors/alarm/id:6/command:status.json HTTP/1.1" 200 14
192.168.1.1 - - - - router - - [04/Sep/2017:10:26:58 -0400] "GET /zm/api/monitors/alarm/id:6/command:status.json HTTP/1.1" 401 381
192.168.1.1 - - - - router - - [04/Sep/2017:10:26:58 -0400] "GET /zm/api/monitors/alarm/id:1/command:status.json HTTP/1.1" 401 381
192.168.1.1 - - - - router - a057754 [04/Sep/2017:10:26:58 -0400] "GET /zm/api/monitors/alarm/id:1/command:status.json HTTP/1.1" 200 14
192.168.1.1 - - - - router - a057754 [04/Sep/2017:10:26:58 -0400] "GET /zm/api/monitors/alarm/id:6/command:status.json HTTP/1.1" 200 14
192.168.1.1 - - - - router - - [04/Sep/2017:10:27:03 -0400] "GET /zm/api/monitors/alarm/id:1/command:status.json HTTP/1.1" 401 381
192.168.1.1 - - - - router - - [04/Sep/2017:10:27:03 -0400] "GET /zm/api/monitors/alarm/id:6/command:status.json HTTP/1.1" 401 381
192.168.1.1 - - - - router - a057754 [04/Sep/2017:10:27:03 -0400] "GET /zm/api/monitors/alarm/id:1/command:status.json HTTP/1.1" 200 14
192.168.1.1 - - - - router - a057754 [04/Sep/2017:10:27:03 -0400] "GET /zm/api/monitors/alarm/id:6/command:status.json HTTP/1.1" 200 14
192.168.1.1 - - - - router - - [04/Sep/2017:10:25:33 -0400] "POST /zm/index.php HTTP/1.1" 401 381
192.168.1.1 - - - - router - a057754 [04/Sep/2017:10:25:33 -0400] "POST /zm/index.php HTTP/1.1" 200 1071
192.168.1.1 - - - - router - - [04/Sep/2017:10:25:34 -0400] "POST /zm/index.php HTTP/1.1" 401 381
192.168.1.1 - - - - router - a057754 [04/Sep/2017:10:25:34 -0400] "POST /zm/index.php HTTP/1.1" 200 40809
192.168.1.1 - - - - router - - [04/Sep/2017:10:25:34 -0400] "GET /zm/api/host/getVersion.json HTTP/1.1" 401 381
192.168.1.1 - - - - router - a057754 [04/Sep/2017:10:25:34 -0400] "GET /zm/api/host/getVersion.json HTTP/1.1" 200 40
192.168.1.179 - - - - 192.168.1.179 - - [04/Sep/2017:10:25:34 -0400] "GET /zm/api/configs/viewByName/ZM_PATH_ZMS.json HTTP/1.1" 401 381
192.168.1.179 - - - - 192.168.1.179 - a057754 [04/Sep/2017:10:25:34 -0400] "GET /zm/api/configs/viewByName/ZM_PATH_ZMS.json HTTP/1.1" 200 44
192.168.1.1 - - - - router - - [04/Sep/2017:10:25:34 -0400] "GET /zm/api/monitors.json HTTP/1.1" 401 381
192.168.1.1 - - - - router - a057754 [04/Sep/2017:10:25:34 -0400] "GET /zm/api/monitors.json HTTP/1.1" 200 9475
192.168.1.1 - - - - router - - [04/Sep/2017:10:25:34 -0400] "GET /cgi-bin/nph-zms?mode=single&monitor=1 HTTP/1.1" 401 381
192.168.1.1 - - - - router - a057754 [04/Sep/2017:10:25:34 -0400] "GET /cgi-bin/nph-zms?mode=single&monitor=1 HTTP/1.1" 404 213
192.168.1.1 - - - - router - - [04/Sep/2017:10:25:35 -0400] "GET /cgi-bin-zm/nph-zms?mode=single&monitor=1 HTTP/1.1" 401 381
192.168.1.1 - - - - router - a057754 [04/Sep/2017:10:25:35 -0400] "GET /cgi-bin-zm/nph-zms?mode=single&monitor=1 HTTP/1.1" 200 -
192.168.1.1 - - - - router - - [04/Sep/2017:10:26:10 -0400] "POST /zm/index.php HTTP/1.1" 401 381
192.168.1.1 - - - - router - a057754 [04/Sep/2017:10:26:10 -0400] "POST /zm/index.php HTTP/1.1" 200 1071
192.168.1.1 - - - - router - - [04/Sep/2017:10:26:10 -0400] "GET /zm/api/host/getVersion.json HTTP/1.1" 401 381
192.168.1.1 - - - - router - a057754 [04/Sep/2017:10:26:10 -0400] "GET /zm/api/host/getVersion.json HTTP/1.1" 200 40
192.168.1.1 - - - - router - - [04/Sep/2017:10:26:10 -0400] "GET /zm/api/host/getTimeZone.json HTTP/1.1" 401 381
192.168.1.1 - - - - router - - [04/Sep/2017:10:26:10 -0400] "GET /zm/api/configs/viewByName/ZM_PATH_ZMS.json HTTP/1.1" 401 381
192.168.1.1 - - - - router - a057754 [04/Sep/2017:10:26:10 -0400] "GET /zm/api/host/getTimeZone.json HTTP/1.1" 200 27
192.168.1.1 - - - - router - a057754 [04/Sep/2017:10:26:10 -0400] "GET /zm/api/configs/viewByName/ZM_PATH_ZMS.json HTTP/1.1" 200 44
192.168.1.1 - - - - router - - [04/Sep/2017:10:26:10 -0400] "GET /cgi-bin-zm/zms HTTP/1.1" 401 381
192.168.1.1 - - - - router - a057754 [04/Sep/2017:10:26:10 -0400] "GET /cgi-bin-zm/zms HTTP/1.1" 500 540
192.168.1.1 - - - - router - - [04/Sep/2017:10:26:11 -0400] "GET /zm/api/host/getVersion.json HTTP/1.1" 401 381
192.168.1.1 - - - - router - a057754 [04/Sep/2017:10:26:11 -0400] "GET /zm/api/host/getVersion.json HTTP/1.1" 200 40
192.168.1.1 - - - - router - - [04/Sep/2017:10:26:11 -0400] "GET /zm/api/monitors.json HTTP/1.1" 401 381
192.168.1.1 - - - - router - a057754 [04/Sep/2017:10:26:11 -0400] "GET /zm/api/monitors.json HTTP/1.1" 200 9475
192.168.1.1 - - - - router - - [04/Sep/2017:10:26:11 -0400] "GET /zm/api/servers.json HTTP/1.1" 401 381
192.168.1.1 - - - - router - a057754 [04/Sep/2017:10:26:11 -0400] "GET /zm/api/servers.json HTTP/1.1" 200 14
192.168.1.1 - - - - router - - [04/Sep/2017:10:26:48 -0400] "GET /zm/index.php?view=watch&mid=1&connkey=415920 HTTP/1.1" 401 381
192.168.1.1 - - - - router - a057754 [04/Sep/2017:10:26:48 -0400] "GET /zm/index.php?view=watch&mid=1&connkey=415920 HTTP/1.1" 200 8830
192.168.1.1 - - - - router - - [04/Sep/2017:10:26:53 -0400] "GET /zm/api/monitors/alarm/id:1/command:status.json HTTP/1.1" 401 381
192.168.1.1 - - - - router - - [04/Sep/2017:10:26:53 -0400] "GET /zm/api/monitors/alarm/id:6/command:status.json HTTP/1.1" 401 381
192.168.1.1 - - - - router - a057754 [04/Sep/2017:10:26:53 -0400] "GET /zm/api/monitors/alarm/id:1/command:status.json HTTP/1.1" 200 14
192.168.1.1 - - - - router - a057754 [04/Sep/2017:10:26:53 -0400] "GET /zm/api/monitors/alarm/id:6/command:status.json HTTP/1.1" 200 14
192.168.1.1 - - - - router - - [04/Sep/2017:10:26:58 -0400] "GET /zm/api/monitors/alarm/id:6/command:status.json HTTP/1.1" 401 381
192.168.1.1 - - - - router - - [04/Sep/2017:10:26:58 -0400] "GET /zm/api/monitors/alarm/id:1/command:status.json HTTP/1.1" 401 381
192.168.1.1 - - - - router - a057754 [04/Sep/2017:10:26:58 -0400] "GET /zm/api/monitors/alarm/id:1/command:status.json HTTP/1.1" 200 14
192.168.1.1 - - - - router - a057754 [04/Sep/2017:10:26:58 -0400] "GET /zm/api/monitors/alarm/id:6/command:status.json HTTP/1.1" 200 14
192.168.1.1 - - - - router - - [04/Sep/2017:10:27:03 -0400] "GET /zm/api/monitors/alarm/id:1/command:status.json HTTP/1.1" 401 381
192.168.1.1 - - - - router - - [04/Sep/2017:10:27:03 -0400] "GET /zm/api/monitors/alarm/id:6/command:status.json HTTP/1.1" 401 381
192.168.1.1 - - - - router - a057754 [04/Sep/2017:10:27:03 -0400] "GET /zm/api/monitors/alarm/id:1/command:status.json HTTP/1.1" 200 14
192.168.1.1 - - - - router - a057754 [04/Sep/2017:10:27:03 -0400] "GET /zm/api/monitors/alarm/id:6/command:status.json HTTP/1.1" 200 14