core
core copied to clipboard
Errorwhile setting up onvif platform for camera
The problem
ONVIF is throwing an error on setup, but integration flow is "happy" with no errors displayed. Error attached below. From what I can tell, the integration is working.
What version of Home Assistant Core has the issue?
core-2022.5.0
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Container
Integration causing the issue
ONVIF
Link to integration documentation on our website
https://www.home-assistant.io/integrations/onvif
Diagnostics information
config_entry-onvif-d01b3e03434417169623145dcb59f12a.json.txt
Example YAML snippet
No response
Anything in the logs that might be useful for us?
2022-05-04 14:33:16 ERROR (MainThread) [homeassistant.components.camera] Error adding entities for domain camera with platform onv
if
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 382, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 619, in _async_add_entity
await entity.add_to_platform_finish()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 809, in add_to_platform_finish
await self.async_added_to_hass()
File "/usr/src/homeassistant/homeassistant/components/onvif/camera.py", line 181, in async_added_to_hass
uri_no_auth = await self.device.async_get_stream_uri(self.profile)
File "/usr/src/homeassistant/homeassistant/components/onvif/device.py", line 330, in async_get_stream_uri
result = await media_service.GetStreamUri(req)
File "/usr/local/lib/python3.9/site-packages/zeep/proxy.py", line 64, in __call__
return await self._proxy._binding.send_async(
File "/usr/local/lib/python3.9/site-packages/zeep/wsdl/bindings/soap.py", line 164, in send_async
return self.process_reply(client, operation_obj, response)
File "/usr/local/lib/python3.9/site-packages/zeep/wsdl/bindings/soap.py", line 229, in process_reply
return self.process_error(doc, operation)
File "/usr/local/lib/python3.9/site-packages/zeep/wsdl/bindings/soap.py", line 391, in process_error
raise Fault(
zeep.exceptions.Fault: Configuration not complete
2022-05-04 14:33:16 ERROR (MainThread) [homeassistant.components.camera] Error while setting up onvif platform for camera
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 257, in _async_setup_platform
await asyncio.gather(*pending)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 382, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 619, in _async_add_entity
await entity.add_to_platform_finish()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 809, in add_to_platform_finish
await self.async_added_to_hass()
File "/usr/src/homeassistant/homeassistant/components/onvif/camera.py", line 181, in async_added_to_hass
uri_no_auth = await self.device.async_get_stream_uri(self.profile)
File "/usr/src/homeassistant/homeassistant/components/onvif/device.py", line 330, in async_get_stream_uri
result = await media_service.GetStreamUri(req)
File "/usr/local/lib/python3.9/site-packages/zeep/proxy.py", line 64, in __call__
return await self._proxy._binding.send_async(
File "/usr/local/lib/python3.9/site-packages/zeep/wsdl/bindings/soap.py", line 164, in send_async
return self.process_reply(client, operation_obj, response)
File "/usr/local/lib/python3.9/site-packages/zeep/wsdl/bindings/soap.py", line 229, in process_reply
return self.process_error(doc, operation)
File "/usr/local/lib/python3.9/site-packages/zeep/wsdl/bindings/soap.py", line 391, in process_error
raise Fault(
zeep.exceptions.Fault: Configuration not complete
Additional information
No response
onvif documentation onvif source (message by IssueLinks)
Hey there @hunterjm, mind taking a look at this issue as it has been labeled with an integration (onvif) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
IT is actually broken - I can only show "snapshots", no live video in the UI card
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.