[Camera Support]: Onvif not working in 0.16-beta3, works in 0.15.1 with same camera #18731
Replies: 9 comments 32 replies
-
|
Frigate 0.16 updated the ONVIF Python package to Hikvision users have reported that setting Does your camera have a configuration for basic or digest authentication? Do you have any special characters in your password? |
Beta Was this translation helpful? Give feedback.
-
|
Sorry for repeating, but i have tls_insecure: true and ignore_time_mismatch: True in config: I'm not touching frigate config, not changing anything, i just change:
When i change it back to frigate:stable-tensorrt it starts working I have attached 2 debug logs: from 0.15.1 (working onvif) and 0.16.beta3(not working onvif) |
Beta Was this translation helpful? Give feedback.
-
|
Well, but I tried both "digest" and "digest&ws-username token", same issue
on both. Same with tls insecure true/false. Same with the time flag set
true/false.
What else can I do?
El mié., 10 de diciembre de 2025 20:57, Josh Hawkins <
***@***.***> escribió:
… This is most likely a digest authentication issue, as @NickM-27
<https://github.com/NickM-27> indicated.
—
Reply to this email directly, view it on GitHub
<#18731 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAD73TR3K35RFXESQJTACCD4BCXNDAVCNFSM6AAAAAB7LUSK32VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTKMRSGUYTMMA>
.
You are receiving this because you commented.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
|
I haven't figured a way to get access to onvif without any authentication.
the webgui let me enable it without any users on the list (as seen on the
above image), but that only means you can't use onvif at all.
Does the 19.12 version reported by the webgui means something?
I think this is just a hikvision thing, on the newer firmwares
El mié., 10 de diciembre de 2025 21:26, Josh Hawkins <
***@***.***> escribió:
… Does it work if you disable authentication? That would confirm the issue.
I'm not sure what else can be done. Myself nor any of the other devs have
the specific camera in question, so we can't reproduce the issue. We've not
had any other reports of users with issues that were unable to be resolved
through at least one of the means described in this discussion.
—
Reply to this email directly, view it on GitHub
<#18731 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAD73TWH442K76LKZD2AZBT4BC22VAVCNFSM6AAAAAB7LUSK32VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTKMRSGUZTGMY>
.
You are receiving this because you commented.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
|
Yes, the users shown in that list from that picture are just for onvif.
I've tried with a regular user as well as an administrator, and the same
thing happens.
I've set the debug option for ptz on frigate, but I only see the url that
the code access, but not its contents. Maybe there's something else I could
turn on for debugging purposes?
El mié., 10 de diciembre de 2025 23:59, Josh Hawkins <
***@***.***> escribió:
… Some users have reported that for some Hikvision cameras, you need to
create a separate ONVIF user. Standard admin credentials that you use to
log into the camera's firmware will not work for ONVIF.
—
Reply to this email directly, view it on GitHub
<#18731 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAD73TRYZKY7I3SPJOZ7US34BDMYBAVCNFSM6AAAAAB7LUSK32VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTKMRSGYYTKMA>
.
You are receiving this because you commented.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
|
@cocus Frigate’s developers couldn’t care less about this issue. Their stance is that it’s “not a Frigate problem” but a “third-party library” problem - never mind that Frigate relies on that library. And since Home Assistant uses the same library, they seem to feel entirely absolved of responsibility. As I mentioned on Reddit: it’s embarrassing. I honestly didn’t expect this kind of behavior as Frigate+ user. |
Beta Was this translation helpful? Give feedback.
-
|
Well, I'm not a Frigate+ user, and I certainly can't expect an open source
team to fix problems for my setup, but it's true that if the core library
has a bug, it might be cool to fix that bug. Then again, I haven't used
that library myself to know exactly what's going on, so if you have and
know where's the issue, it might be possible to spin up a PR against it. If
the owners don't like it, well, it's not the end of the world, in theory we
could just patch the library inside the frigate docker ourselves every
single time there's a frigate update.
Would be cumbersome, but well, I prefer that.
So that's the thing, what can I change on the config to enable much more
verbosity from the ptz?
then, I could try to reproduce the issue using just the library, and then
see what's going on. If you have done that, and might have some tips, I'll
take them.
El jue., 11 de diciembre de 2025 00:25, Stanislav ***@***.***>
escribió:
… @cocus <https://github.com/cocus> Frigate’s developers couldn’t care less
about this issue. Their stance is that it’s “not a Frigate problem” but a
“third-party library” problem - never mind that Frigate relies on that
library. And since Home Assistant uses the same library, they seem to feel
entirely absolved of responsibility.
I shared detailed information and full debug logs a while back explaining
exactly why this happens. In short: during authentication, the library
claims it will use the plain password, yet it sends a hashed one instead,
which of course causes authentication to fail. The library’s authors on
GitHub clearly aren’t interested either; they haven’t even responded to the
issue that’s been sitting there for almost a year.
As I mentioned on Reddit: it’s embarrassing. I honestly didn’t expect this
kind of behavior as Frigate+ user.
—
Reply to this email directly, view it on GitHub
<#18731 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAD73TQTP6UZOKVIUJI5LB34BDPZJAVCNFSM6AAAAAB7LUSK32VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTKMRSGYZDMNI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
|
@cocus If you haven't seen the thread on the Home Assistant repo where users have reported similar issues and solved them, you might want to see if any of those work for you: home-assistant/core#119107 |
Beta Was this translation helpful? Give feedback.
-
|
I recently upgraded from Frigate 14 to 16 and also found my ONVIF PTZ no longer worked in the Home Assistant advanced camera card. I tried several user accounts along with 'tls_insecure: true' and 'ignore_time_mismatch: true', no luck. What worked for me was switching to an admin user. Previously a standard user had worked. Reolink TrackMix PoE on latest firmware (v3.0.0.5428_2509171972). |
Beta Was this translation helpful? Give feedback.



Uh oh!
There was an error while loading. Please reload this page.
-
Checklist
Describe the problem you are having
Camera: hikvison DS-2DE3A404IWG-E(from recommended Frigate list) with 5.8.0 firmware, ntp time is set and sync on server and camera, ignore_time_mismatch: True is added to config, time inside docker container is also correct, ONVIF device manager is connects successfully, but frigate fails to connect with 'Unable to get Onvif media profiles for camera: cam5: The action requested requires authorization and the sender is not authorized'. On v0.15.1 it works without any problems.
Steps to reproduce
--
Version
0.16-beta3
In which browser(s) are you experiencing the issue with?
No response
Frigate config file
--docker-compose file or Docker CLI command
--Relevant Frigate log output
Relevant go2rtc log output
Operating system
Debian
Install method
Docker Compose
Network connection
Wired
Camera make and model
Hikvison DS-2DE3A404IWG-E
Screenshots of the Frigate UI's System metrics pages
--
Any other information that may be helpful
No response
Beta Was this translation helpful? Give feedback.
All reactions