[Camera Support]: ONVIF Hikvision DS-2DE2C400MWG-E #20215
-
Describe the problem you are havingWhen trying to setup ONVIF for this camera, no matter what frigate returns this error: 2025-09-25 18:10:16.799198694 [2025-09-25 18:10:16] frigate.ptz.onvif DEBUG : Onvif media xaddr for pc_high: http://192.168.1.64/onvif/Media Following up from this closed issue #13037, however, the solution there does not seem to apply to this camera. I've tried the same steps: Also tried ONVIF Device Manager, I was able to connect no issues and was able to control the camera through there. Version0.16.1-e664cb2 What browser(s) are you using?No response Frigate config filemqtt:
host: emqx
port: 1883
tls:
enabled: false
version: 0.16-0
logger:
logs:
frigate.ptz.onvif: debug
frigate.onvif: debug
go2rtc:
streams:
pc_high: # <- for RTSP streams
- rtsp://user:[email protected]/Streaming/Channels/101 # <- stream which supports video & aac audio
pc_low: # <- for RTSP streams
- rtsp://user:[email protected]/Streaming/Channels/102 # <- stream which supports video & aac audio
webrtc:
candidates:
- 192.168.1.100:8555
cameras:
pc_high:
onvif:
# Required: host of the camera being connected to.
# NOTE: HTTP is assumed by default; HTTPS is supported if you specify the scheme, ex: "https://0.0.0.0".
host: 192.168.1.64
user: "user"
password: "password"
port: 80
tls_insecure: True
ignore_time_mismatch: True
ffmpeg:
output_args:
record: preset-record-generic-audio-copy
inputs:
- path: rtsp://127.0.0.1:8554/pc_high # <--- the name here must match the name of the camera in restream
input_args: preset-rtsp-restream
roles:
- record
- path: rtsp://127.0.0.1:8554/pc_low # <--- the name here must match the name of the camera_sub in restream
input_args: preset-rtsp-restream
roles:
- audio # <- only necessary if audio detection is enabled
- detect
detect:
enabled: true Relevant Frigate log output2025-09-25 18:09:45.569271826 [INFO] No TLS certificate found. Generating a self signed certificate...
2025-09-25 18:09:45.887563036 [INFO] Preparing new go2rtc config...
2025-09-25 18:09:46.005317867 [INFO] Preparing Frigate...
2025-09-25 18:09:46.281788762 [INFO] Starting go2rtc...
2025-09-25 18:09:46.367715499 18:09:46.366 INF go2rtc platform=linux/amd64 revision=fa580c5 version=1.9.9
2025-09-25 18:09:46.367719762 18:09:46.366 INF config path=/dev/shm/go2rtc.yaml
2025-09-25 18:09:46.367722094 18:09:46.366 INF [rtsp] listen addr=:8554
2025-09-25 18:09:46.367724242 18:09:46.367 INF [webrtc] listen addr=:8555
2025-09-25 18:09:46.367929660 18:09:46.367 INF [api] listen addr=:1984
2025-09-25 18:09:46.418142586 [INFO] Starting Frigate...
s6-rc: info: service nginx successfully started
s6-rc: info: service certsync: starting
2025-09-25 18:09:46.613459082 [INFO] Starting certsync...
s6-rc: info: service certsync successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
2025-09-25 18:09:48.963041728 [2025-09-25 18:09:48] frigate.util.config INFO : Checking if frigate config needs migration...
2025-09-25 18:09:48.973342231 [2025-09-25 18:09:48] frigate.util.config INFO : frigate config does not need migration...
2025-09-25 18:09:49.142938265 [2025-09-25 18:09:49] frigate.util.services INFO : Automatically detected vaapi hwaccel for video decoding
2025-09-25 18:09:50.567152096 2025/09/25 18:09:50 [error] 213#213: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: , request: "GET /api/version HTTP/1.1", subrequest: "/auth", upstream: "http://127.0.0.1:5001/auth", host: "127.0.0.1:5000"
2025-09-25 18:09:50.567158974 2025/09/25 18:09:50 [error] 213#213: *1 auth request unexpected status: 502 while sending to client, client: 127.0.0.1, server: , request: "GET /api/version HTTP/1.1", host: "127.0.0.1:5000"
2025-09-25 18:09:50.786573194 [2025-09-25 18:09:50] frigate.app INFO : Starting Frigate (0.16.1-e664cb2)
2025-09-25 18:09:50.791434006 [2025-09-25 18:09:50] frigate.app INFO : Creating directory: /tmp/cache
2025-09-25 18:09:50.815401716 [2025-09-25 18:09:50] peewee_migrate.logs INFO : Starting migrations
2025-09-25 18:09:50.818629517 [2025-09-25 18:09:50] peewee_migrate.logs INFO : There is nothing to migrate
2025-09-25 18:09:50.841926681 [2025-09-25 18:09:50] frigate.app INFO : Recording process started: 476
2025-09-25 18:09:50.843143889 [2025-09-25 18:09:50] frigate.app INFO : Review process started: 479
2025-09-25 18:09:50.846359360 [2025-09-25 18:09:50] frigate.app INFO : go2rtc process pid: 118
2025-09-25 18:09:50.860692171 [2025-09-25 18:09:50] detector.cpu INFO : Starting detection process: 501
2025-09-25 18:09:50.861381410 [2025-09-25 18:09:50] frigate.detectors WARNING : CPU detectors are not recommended and should only be used for testing or for trial purposes.
2025-09-25 18:09:50.869032718 [2025-09-25 18:09:50] frigate.app INFO : Output process started: 518
2025-09-25 18:09:50.889788934 INFO: Created TensorFlow Lite XNNPACK delegate for CPU.
2025-09-25 18:09:50.889793379 [2025-09-25 18:09:50] frigate.app INFO : Camera processor started for pc_high: 541
2025-09-25 18:09:51.004711296 [2025-09-25 18:09:51] frigate.app INFO : Capture process started for pc_high: 560
2025-09-25 18:09:51.169651486 [2025-09-25 18:09:51] frigate.api.fastapi_app INFO : Starting FastAPI app
2025-09-25 18:09:51.304706341 [2025-09-25 18:09:51] frigate.api.fastapi_app INFO : FastAPI started
2025-09-25 18:09:55.564062476 [INFO] Starting go2rtc healthcheck service...
2025-09-25 18:10:14.856797771 172.18.0.26 - - [25/Sep/2025:18:10:14 -0300] "GET / HTTP/1.1" 200 2649 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36" "185.153.176.27, 172.17.0.1"
2025-09-25 18:10:15.035396665 172.18.0.26 - - [25/Sep/2025:18:10:15 -0300] "GET /api/config HTTP/1.1" 200 12347 "https://frigate.fc1f388cae.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36" "185.153.176.27, 172.17.0.1"
2025-09-25 18:10:15.076203243 172.18.0.26 - - [25/Sep/2025:18:10:15 -0300] "GET /fonts/Inter-Regular.woff2 HTTP/1.1" 200 108488 "https://frigate.fc1f388cae.com/assets/i18n-B4RQL4LC.css" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36" "185.153.176.27, 172.17.0.1"
2025-09-25 18:10:15.103521561 172.18.0.26 - - [25/Sep/2025:18:10:15 -0300] "GET /api/profile HTTP/1.1" 200 35 "https://frigate.fc1f388cae.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36" "185.153.176.27, 172.17.0.1"
2025-09-25 18:10:15.186989596 172.18.0.26 - - [25/Sep/2025:18:10:15 -0300] "GET /images/android-chrome-192x192.png HTTP/1.1" 200 9201 "https://frigate.fc1f388cae.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36" "185.153.176.27, 172.17.0.1"
2025-09-25 18:10:15.191575733 172.18.0.26 - - [25/Sep/2025:18:10:15 -0300] "GET /api/profile HTTP/1.1" 200 35 "https://frigate.fc1f388cae.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36" "185.153.176.27, 172.17.0.1"
2025-09-25 18:10:15.347167011 172.18.0.26 - - [25/Sep/2025:18:10:15 -0300] "GET /api/review?limit=10&severity=alert HTTP/1.1" 200 2 "https://frigate.fc1f388cae.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36" "185.153.176.27, 172.17.0.1"
2025-09-25 18:10:15.347610937 172.18.0.26 - - [25/Sep/2025:18:10:15 -0300] "GET /api/go2rtc/streams/pc_high HTTP/1.1" 200 1832 "https://frigate.fc1f388cae.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36" "185.153.176.27, 172.17.0.1"
2025-09-25 18:10:15.375191990 172.18.0.26 - - [25/Sep/2025:18:10:15 -0300] "GET /api/pc_high/latest.webp?height=360&store=1&cache=1758834600 HTTP/1.1" 200 19258 "https://frigate.fc1f388cae.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36" "185.153.176.27, 172.17.0.1"
2025-09-25 18:10:15.384641607 172.18.0.26 - - [25/Sep/2025:18:10:15 -0300] "GET /api/go2rtc/streams/pc_high HTTP/1.1" 200 1832 "https://frigate.fc1f388cae.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36" "185.153.176.27, 172.17.0.1"
2025-09-25 18:10:15.490182015 172.18.0.26 - - [25/Sep/2025:18:10:15 -0300] "GET /api/pc_high/latest.webp?height=277&cache=1758834615715 HTTP/1.1" 200 13186 "https://frigate.fc1f388cae.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36" "185.153.176.27, 172.17.0.1"
2025-09-25 18:10:15.759548232 172.18.0.26 - - [25/Sep/2025:18:10:15 -0300] "GET /api/pc_high/latest.webp?height=277&cache=1758834616026 HTTP/1.1" 200 13132 "https://frigate.fc1f388cae.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36" "185.153.176.27, 172.17.0.1"
2025-09-25 18:10:15.986720358 172.18.0.26 - - [25/Sep/2025:18:10:15 -0300] "GET /api/pc_high/latest.webp?height=277&cache=1758834616255 HTTP/1.1" 200 13232 "https://frigate.fc1f388cae.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36" "185.153.176.27, 172.17.0.1"
2025-09-25 18:10:16.541190683 172.18.0.26 - - [25/Sep/2025:18:10:16 -0300] "GET /live/mse/api/ws?src=pc_high HTTP/1.1" 101 992382 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36" "185.153.176.27, 172.17.0.1"
2025-09-25 18:10:16.556811100 [2025-09-25 18:10:16] frigate.ptz.onvif INFO : Attempting ONVIF initialization for pc_high (retry 1/5)
2025-09-25 18:10:16.557696246 172.18.0.26 - - [25/Sep/2025:18:10:16 -0300] "GET /fonts/Inter-Medium.woff2 HTTP/1.1" 200 111380 "https://frigate.fc1f388cae.com/assets/i18n-B4RQL4LC.css" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36" "185.153.176.27, 172.17.0.1"
2025-09-25 18:10:16.560871835 172.18.0.26 - - [25/Sep/2025:18:10:16 -0300] "GET /api/pc_high/latest.webp?height=360&cache=1758834616834 HTTP/1.1" 499 0 "https://frigate.fc1f388cae.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36" "185.153.176.27, 172.17.0.1"
2025-09-25 18:10:16.799198694 [2025-09-25 18:10:16] frigate.ptz.onvif DEBUG : Onvif media xaddr for pc_high: http://192.168.1.64/onvif/Media
2025-09-25 18:10:16.800318089 [2025-09-25 18:10:16] frigate.ptz.onvif DEBUG : Onvif capabilities for pc_high: ('http://192.168.1.64/onvif/PTZ', '/usr/local/lib/python3.11/dist-packages/onvif/wsdl/ptz.wsdl', '{http://www.onvif.org/ver20/ptz/wsdl}PTZBinding')
2025-09-25 18:10:16.815705568 [2025-09-25 18:10:16] frigate.ptz.onvif ERROR : Unable to get Onvif media profiles for camera: pc_high: The action requested requires authorization and the sender is not authorized
2025-09-25 18:10:16.817026443 [2025-09-25 18:10:16] frigate.ptz.onvif WARNING : ONVIF initialization failed for pc_high
2025-09-25 18:10:16.818355876 [2025-09-25 18:10:16] frigate.ptz.onvif DEBUG : Could not initialize ONVIF for pc_high
2025-09-25 18:10:16.824518382 172.18.0.26 - - [25/Sep/2025:18:10:16 -0300] "GET /api/pc_high/ptz/info HTTP/1.1" 200 2 "https://frigate.fc1f388cae.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36" "185.153.176.27, 172.17.0.1"
2025-09-25 18:10:16.843085279 172.18.0.26 - - [25/Sep/2025:18:10:16 -0300] "GET /api/pc_high/latest.webp?height=33&cache=1758834616834 HTTP/1.1" 200 650 "https://frigate.fc1f388cae.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36" "185.153.176.27, 172.17.0.1"
2025-09-25 18:10:17.429243522 172.18.0.26 - - [25/Sep/2025:18:10:17 -0300] "GET /api/pc_high/latest.webp?height=480&cache=1758834616834 HTTP/1.1" 200 32624 "https://frigate.fc1f388cae.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36" "185.153.176.27, 172.17.0.1"
2025-09-25 18:10:20.910866149 172.18.0.26 - - [25/Sep/2025:18:10:20 -0300] "GET /live/mse/api/ws?src=pc_high HTTP/1.1" 101 3284619 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36" "185.153.176.27, 172.17.0.1"
2025-09-25 18:10:26.770110891 [2025-09-25 18:10:26] frigate.video ERROR : pc_high: Unable to read frames from ffmpeg process.
2025-09-25 18:10:26.770403425 [2025-09-25 18:10:26] frigate.video ERROR : pc_high: ffmpeg process is not running. exiting capture thread...
2025-09-25 18:10:31.014742336 [2025-09-25 18:10:31] watchdog.pc_high ERROR : Ffmpeg process crashed unexpectedly for pc_high.
2025-09-25 18:10:31.015801824 [2025-09-25 18:10:31] watchdog.pc_high ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2025-09-25 18:10:31.016728431 [2025-09-25 18:10:31] ffmpeg.pc_high.detect ERROR : [AVHWFramesContext @ 0x7f7ec0055cc0] Failed to sync surface 0x12: 1 (operation failed).
2025-09-25 18:10:31.017542413 [2025-09-25 18:10:31] ffmpeg.pc_high.detect ERROR : [hwdownload @ 0x7f7ed0003980] Failed to download frame: -5.
2025-09-25 18:10:31.018303994 [2025-09-25 18:10:31] ffmpeg.pc_high.detect ERROR : [vf#0:0 @ 0x55c6ad2fd580] Error while filtering: Input/output error
2025-09-25 18:10:31.018885119 [2025-09-25 18:10:31] ffmpeg.pc_high.detect ERROR : [vf#0:0 @ 0x55c6ad2fd580] Task finished with error code: -5 (Input/output error)
2025-09-25 18:10:31.019559040 [2025-09-25 18:10:31] ffmpeg.pc_high.detect ERROR : [vf#0:0 @ 0x55c6ad2fd580] Terminating thread with return code -5 (Input/output error)
2025-09-25 18:10:31.020309725 [2025-09-25 18:10:31] watchdog.pc_high INFO : Restarting ffmpeg...
2025-09-25 18:11:07.561237536 [2025-09-25 18:11:07] frigate.video ERROR : pc_high: Unable to read frames from ffmpeg process.
2025-09-25 18:11:07.561507337 [2025-09-25 18:11:07] frigate.video ERROR : pc_high: ffmpeg process is not running. exiting capture thread...
2025-09-25 18:11:11.024205665 [2025-09-25 18:11:11] watchdog.pc_high ERROR : Ffmpeg process crashed unexpectedly for pc_high.
2025-09-25 18:11:11.025404174 [2025-09-25 18:11:11] watchdog.pc_high ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2025-09-25 18:11:11.026241971 [2025-09-25 18:11:11] ffmpeg.pc_high.detect ERROR : [AVHWFramesContext @ 0x7f82ec054280] Failed to sync surface 0xc: 1 (operation failed).
2025-09-25 18:11:11.026991491 [2025-09-25 18:11:11] ffmpeg.pc_high.detect ERROR : [hwdownload @ 0x7f82f0003980] Failed to download frame: -5.
2025-09-25 18:11:11.027706746 [2025-09-25 18:11:11] ffmpeg.pc_high.detect ERROR : [vf#0:0 @ 0x55ca5c5e2440] Error while filtering: Input/output error
2025-09-25 18:11:11.028269026 [2025-09-25 18:11:11] ffmpeg.pc_high.detect ERROR : [vf#0:0 @ 0x55ca5c5e2440] Task finished with error code: -5 (Input/output error)
2025-09-25 18:11:11.028753752 [2025-09-25 18:11:11] ffmpeg.pc_high.detect ERROR : [vf#0:0 @ 0x55ca5c5e2440] Terminating thread with return code -5 (Input/output error)
2025-09-25 18:11:11.029332946 [2025-09-25 18:11:11] watchdog.pc_high INFO : Restarting ffmpeg...
2025-09-25 18:11:16.591068315 172.18.0.26 - - [25/Sep/2025:18:11:16 -0300] "GET /fonts/Inter-SemiBold.woff2 HTTP/1.1" 200 111588 "https://frigate.fc1f388cae.com/assets/i18n-B4RQL4LC.css" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36" "185.153.176.27, 172.17.0.1"
2025-09-25 18:11:16.705741351 172.18.0.26 - - [25/Sep/2025:18:11:16 -0300] "GET /ws HTTP/1.1" 101 9106 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36" "185.153.176.27, 172.17.0.1"
2025-09-25 18:11:35.857534704 172.18.0.26 - - [25/Sep/2025:18:11:35 -0300] "GET /api/profile HTTP/1.1" 200 35 "https://frigate.fc1f388cae.com/system" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36" "185.153.176.27, 172.17.0.1"
2025-09-25 18:11:40.808697196 172.18.0.26 - - [25/Sep/2025:18:11:40 -0300] "GET /api/config HTTP/1.1" 200 12347 "https://frigate.fc1f388cae.com/system" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36" "185.153.176.27, 172.17.0.1"
2025-09-25 18:11:43.783253671 172.18.0.26 - - [25/Sep/2025:18:11:43 -0300] "GET /api/config HTTP/1.1" 200 12347 "https://frigate.fc1f388cae.com/system" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36" "185.153.176.27, 172.17.0.1"
2025-09-25 18:11:43.797313958 172.18.0.26 - - [25/Sep/2025:18:11:43 -0300] "GET /api/profile HTTP/1.1" 200 35 "https://frigate.fc1f388cae.com/system" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36" "185.153.176.27, 172.17.0.1"
2025-09-25 18:12:31.450157409 172.18.0.26 - - [25/Sep/2025:18:12:31 -0300] "GET /api/logs/frigate?start=-100 HTTP/1.1" 200 6766 "https://frigate.fc1f388cae.com/logs" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36" "185.153.176.27, 172.17.0.1"
2025-09-25 18:12:38.672471121 [2025-09-25 18:12:38] frigate.ptz.onvif INFO : Attempting ONVIF initialization for pc_high (retry 1/5)
2025-09-25 18:12:38.720891547 [2025-09-25 18:12:38] frigate.ptz.onvif DEBUG : Onvif media xaddr for pc_high: http://192.168.1.64/onvif/Media
2025-09-25 18:12:38.724611677 [2025-09-25 18:12:38] frigate.ptz.onvif DEBUG : Onvif capabilities for pc_high: ('http://192.168.1.64/onvif/PTZ', '/usr/local/lib/python3.11/dist-packages/onvif/wsdl/ptz.wsdl', '{http://www.onvif.org/ver20/ptz/wsdl}PTZBinding')
2025-09-25 18:12:38.740492680 [2025-09-25 18:12:38] frigate.ptz.onvif ERROR : Unable to get Onvif media profiles for camera: pc_high: The action requested requires authorization and the sender is not authorized
2025-09-25 18:12:38.741863905 [2025-09-25 18:12:38] frigate.ptz.onvif WARNING : ONVIF initialization failed for pc_high
2025-09-25 18:12:38.743403661 [2025-09-25 18:12:38] frigate.ptz.onvif DEBUG : Could not initialize ONVIF for pc_high
2025-09-25 18:12:38.747564924 172.18.0.26 - - [25/Sep/2025:18:12:38 -0300] "GET /api/pc_high/ptz/info HTTP/1.1" 200 2 "https://frigate.fc1f388cae.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36" "185.153.176.27, 172.17.0.1"
2025-09-25 18:12:38.861056420 172.18.0.26 - - [25/Sep/2025:18:12:38 -0300] "GET /api/pc_high/latest.webp?height=165&cache=1758834616834 HTTP/1.1" 200 6154 "https://frigate.fc1f388cae.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36" "185.153.176.27, 172.17.0.1"
2025-09-25 18:12:38.998570300 172.18.0.26 - - [25/Sep/2025:18:12:38 -0300] "GET /api/pc_high/latest.webp?height=480&cache=1758834616834 HTTP/1.1" 200 32780 "https://frigate.fc1f388cae.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36" "185.153.176.27, 172.17.0.1"
2025-09-25 18:12:39.033199655 172.18.0.26 - - [25/Sep/2025:18:12:39 -0300] "GET /live/mse/api/ws?src=pc_high HTTP/1.1" 101 423949 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36" "185.153.176.27, 172.17.0.1" Relevant go2rtc log output6:09:46.366 PM info go2rtc version=1.9.9 platform=linux/amd64 revision=fa580c5
6:09:46.366 PM info config path=/dev/shm/go2rtc.yaml
6:09:46.366 PM info [rtsp] listen addr=:8554
6:09:46.367 PM info [webrtc] listen addr=:8555
6:09:46.367 PM info [api] listen addr=:1984 FFprobe output from your cameraN/A Frigate stats{"cameras":{"pc_high":{"camera_fps":5.0,"process_fps":5.0,"skipped_fps":0.0,"detection_fps":11.4,"detection_enabled":true,"pid":541,"capture_pid":560,"ffmpeg_pid":984,"audio_rms":0.0,"audio_dBFS":0.0}},"detectors":{"cpu":{"inference_speed":27.27,"detection_start":0.0,"pid":501}},"detection_fps":11.4,"embeddings":{},"gpu_usages":{"intel-vaapi":{"gpu":"0.75%","mem":"-%"}},"cpu_usages":{"frigate.full_system":{"cpu":"23.9","mem":"40.8"},"1":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"/package/admin/s6/command/s6-svscan -d4 -- /run/service"},"17":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-supervise s6-linux-init-shutdownd"},"18":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"/package/admin/s6-linux-init/command/s6-linux-init-shutdownd -d3 -c /run/s6/basedir -g 3000 -C -B"},"27":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-supervise frigate-log"},"28":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-supervise certsync"},"29":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-supervise nginx-log"},"30":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-supervise go2rtc-healthcheck"},"31":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-supervise go2rtc-log"},"32":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-supervise nginx"},"33":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-supervise go2rtc"},"34":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-supervise s6rc-oneshot-runner"},"35":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-supervise frigate"},"36":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-supervise certsync-log"},"37":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-supervise s6rc-fdholder"},"48":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"/package/admin/s6-2.13.2.0/command/s6-fdholderd -1 -n 256 -i data/rules"},"49":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"/package/admin/s6/command/s6-ipcserverd -1 -- /package/admin/s6/command/s6-ipcserver-access -v0 -E -l0 -i data/rules -- /package/admin/s6/command/s6-sudod -t 30000 -- /package/admin/s6-rc/command/s6-rc-oneshot-run -l ../.. --"},"98":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/nginx"},"99":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/go2rtc"},"103":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/frigate"},"106":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/certsync"},"118":{"cpu":"0.8","cpu_average":"1","mem":"0.1","cmdline":"/usr/local/go2rtc/bin/go2rtc -config=/dev/shm/go2rtc.yaml"},"135":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"bash ./run.user go2rtc-healthcheck"},"136":{"cpu":"0.9","cpu_average":"2","mem":"2.0","cmdline":"python3 -u -m frigate"},"144":{"cpu":"0.0","cpu_average":"0","mem":"0.1","cmdline":"nginx: master process nginx"},"212":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"nginx: worker process"},"213":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"nginx: worker process"},"214":{"cpu":"0.1","cpu_average":"0","mem":"0.0","cmdline":"nginx: worker process"},"215":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"nginx: worker process"},"216":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"nginx: cache manager process"},"349":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"bash ./run.user certsync"},"371":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"sleep 9999"},"378":{"cpu":"0.1","cpu_average":"0","mem":"1.1","cmdline":"python3 -u -m frigate"},"476":{"cpu":"0.1","cpu_average":"0","mem":"1.2","cmdline":"frigate.recording_manager"},"479":{"cpu":"0.1","cpu_average":"0","mem":"1.2","cmdline":"frigate.review_segment_manager"},"501":{"cpu":"78.8","cpu_average":"84","mem":"1.3","cmdline":"frigate.detector.cpu "},"518":{"cpu":"0.2","cpu_average":"0","mem":"1.2","cmdline":"frigate.output "},"541":{"cpu":"10.9","cpu_average":"12","mem":"1.3","cmdline":"frigate.process:pc_high"},"544":{"cpu":"0.0","cpu_average":"0","mem":"0.1","cmdline":"/usr/lib/ffmpeg/7.0/bin/ffmpeg -threads 1 -f rawvideo -pix_fmt yuv420p -video_size 640x480 -i pipe: -threads 1 -f mpegts -s 960x720 -codec:v mpeg1video -q 8 -bf 0 pipe:"},"551":{"cpu":"0.1","cpu_average":"0","mem":"0.2","cmdline":"/usr/lib/ffmpeg/7.0/bin/ffmpeg -threads 1 -f rawvideo -pix_fmt yuv420p -video_size 1280x720 -i pipe: -threads 1 -f mpegts -s 1280x720 -codec:v mpeg1video -q 8 -bf 0 pipe:"},"560":{"cpu":"0.7","cpu_average":"0","mem":"1.2","cmdline":"frigate.capture:pc_high"},"853":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"bash"},"973":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"sleep 30s"},"984":{"cpu":"0.0","cpu_average":"0","mem":"0.3","cmdline":"/usr/lib/ffmpeg/7.0/bin/ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel_flags allow_profile_mismatch -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi -user_agent FFmpeg Frigate/0.16.1-e664cb2 -rtsp_transport tcp -timeout 10000000 -i rtsp://127.0.0.1:8554/pc_low -r 5 -vf fps=5,scale_vaapi=w=640:h=480,hwdownload,format=nv12,eq=gamma=1.4:gamma_weight=0.5 -threads 2 -f rawvideo -pix_fmt yuv420p pipe:"}},"service":{"uptime":383,"version":"0.16.1-e664cb2","latest_version":"0.16.1","storage":{"/media/frigate/recordings":{"total":15261770.7,"used":2030519.0,"free":13231251.6,"mount_type":"cifs"},"/media/frigate/clips":{"total":15261770.7,"used":2030519.0,"free":13231251.6,"mount_type":"cifs"},"/tmp/cache":{"total":937795.0,"used":80434.2,"free":809651.4,"mount_type":"overlay"},"/dev/shm":{"total":1024.0,"used":22.8,"free":1001.2,"mount_type":"tmpfs"}},"temperatures":{},"last_updated":1758834974},"processes":{"recording":{"pid":476},"review_segment":{"pid":479},"go2rtc":{"pid":118}}} Operating systemOther Linux Install methodDocker Compose Object DetectorCPU (no coral) Network connectionWired Camera make and modelHikvision DS-2DE2C400MWG-E Screenshots of the Frigate UI's System metrics pages![]() Any other information that may be helpfulNo response |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
Your error (“Unable to get Onvif media profiles for camera: ... The action requested requires authorization and the sender is not authorized”) with a Hikvision ONVIF camera has also been reported by other users, especially with Frigate 0.16.x and recent Hikvision firmware(1). This problem is linked to changes in the ONVIF library used by Frigate, which now matches Home Assistant’s ONVIF implementation and can cause authentication issues with some Hikvision cameras(1). Here are the steps and considerations that have been reported to help or clarify the situation:
If these steps do not resolve the problem, you may want to follow or comment on the related discussion: 📚 Sources:
Have another question? Just tag @inkeep. |
Beta Was this translation helpful? Give feedback.
-
Can also confirm with the referenced issue above. Works in 0.15.* but not on 0.16.* |
Beta Was this translation helpful? Give feedback.
Setting
tls_insecure
tofalse
also fixed the issue for some users and is noted in the breaking changes in the 0.16 release notes.This setting would enable TLS, to be clear.