Error setting up ONVIF integration (via UI)

I’ve successfully set up the Onvif integration with username/password to my camera however I’m unable to see any device or entities created so I can access the stream.


Log shows the following error

Logger: homeassistant.config_entries
Source: components/onvif/
First occurred: July 2, 2020, 10:46:04 PM (1 occurrences)
Last logged: July 2, 2020, 10:46:04 PM

Error setting up entry Gate - 00:5A:20:31:BC:01 for onvif
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/aiohttp/", line 936, in _wrap_create_connection
    return await self._loop.create_connection(*args, **kwargs)  # type: ignore  # noqa
  File "/usr/local/lib/python3.7/asyncio/", line 962, in create_connection
    raise exceptions[0]
  File "/usr/local/lib/python3.7/asyncio/", line 949, in create_connection
    await self.sock_connect(sock, address)
  File "/usr/local/lib/python3.7/asyncio/", line 473, in sock_connect
    return await fut
  File "/usr/local/lib/python3.7/asyncio/", line 503, in _sock_connect_cb
    raise OSError(err, f'Connect call failed {address}')
ConnectionRefusedError: [Errno 111] Connect call failed ('', 7655)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/", line 220, in async_setup
    hass, self
  File "/usr/src/homeassistant/homeassistant/components/onvif/", line 83, in async_setup_entry
    if and await
  File "/usr/src/homeassistant/homeassistant/components/onvif/", line 77, in async_start
    await pullpoint.SetSynchronizationPoint()
  File "/usr/local/lib/python3.7/site-packages/zeep/asyncio/", line 13, in send
    options["address"], envelope, http_headers
  File "/usr/local/lib/python3.7/site-packages/zeep/asyncio/", line 107, in post_xml
    response = await, message, headers)
  File "/usr/local/lib/python3.7/site-packages/zeep/asyncio/", line 95, in post
  File "/usr/local/lib/python3.7/site-packages/aiohttp/", line 483, in _request
  File "/usr/local/lib/python3.7/site-packages/aiohttp/", line 523, in connect
    proto = await self._create_connection(req, traces, timeout)
  File "/usr/local/lib/python3.7/site-packages/aiohttp/", line 859, in _create_connection
    req, traces, timeout)
  File "/usr/local/lib/python3.7/site-packages/aiohttp/", line 1004, in _create_direct_connection
    raise last_exc
  File "/usr/local/lib/python3.7/site-packages/aiohttp/", line 986, in _create_direct_connection
    req=req, client_error=client_error)
  File "/usr/local/lib/python3.7/site-packages/aiohttp/", line 943, in _wrap_create_connection
    raise client_error(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host ssl:None [Connect call failed ('', 7655)]
Connection lost. Reconnecting…