Gortc error in notifications

My HA Notifications page shows two warnings - the bolded ones at the bottom of the log entries shown below.

I am not using a camera in my house. I would not expect go2rtc to be an issue. Most threads I found deal with people getting this to start, so their cameras work.

Any thoughts on what this might be and how to resolve?

I have a possibly related, possibly not related issue of slow performance and connection drops. I would like to resolve this and then continue troubleshooting.

WARNING (MainThread) [homeassistant.setup] Setup of go2rtc is taking over 10 seconds.
WARNING (MainThread) [homeassistant.components.go2rtc] Could not start go2rtc server

asyncio.exceptions.CancelledError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/components/go2rtc/init.py”, line 129, in async_setup
await server.start()
File “/usr/src/homeassistant/homeassistant/components/go2rtc/server.py”, line 98, in start
await self._start()
File “/usr/src/homeassistant/homeassistant/components/go2rtc/server.py”, line 137, in _start
await client.validate_server_version()
File “/usr/local/lib/python3.13/site-packages/go2rtc_client/exceptions.py”, line 56, in _func
return await func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.13/site-packages/go2rtc_client/rest.py”, line 150, in validate_server_version
application_info = await self.application.get_info()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.13/site-packages/go2rtc_client/exceptions.py”, line 56, in _func
return await func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.13/site-packages/go2rtc_client/rest.py”, line 74, in get_info
resp = await self._client.request(“GET”, self.PATH)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.13/site-packages/go2rtc_client/rest.py”, line 55, in request
resp = await self._session.request(method, url, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.13/site-packages/aiohttp/client.py”, line 607, in _request
with timer:
^^^^^
File “/usr/local/lib/python3.13/site-packages/aiohttp/helpers.py”, line 671, in exit
raise asyncio.TimeoutError from exc_val
TimeoutError
2024-12-29 18:10:51.895 ERROR (MainThread) [homeassistant.setup] Setup failed for ‘go2rtc’: Integration failed to initialize.
> 2024-12-29 18:10:54.987 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of ‘default_config’. Setup failed for dependencies: [‘go2rtc’]
> 2024-12-29 18:10:54.987 ERROR (MainThread) [homeassistant.setup] Setup failed for ‘default_config’: Could not setup dependencies: go2rtc

  • Core 2024.12.5
  • Supervisor 2024.12.0
  • Operating System 14.1
  • Frontend 20241127.8
1 Like

I too am getting this issue

Logger: homeassistant.components.go2rtc
Source: components/go2rtc/init.py:129
integration: go2rtc (documentation, issues)
First occurred: January 16, 2025 at 10:18:44 PM (1 occurrences)
Last logged: January 16, 2025 at 10:18:44 PM

Could not start go2rtc server
Traceback (most recent call last):
File “/usr/local/lib/python3.13/site-packages/aiohttp/client.py”, line 703, in _request
conn = await self._connector.connect(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
req, traces=traces, timeout=real_timeout
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File “/usr/local/lib/python3.13/site-packages/aiohttp/connector.py”, line 548, in connect
proto = await self._create_connection(req, traces, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.13/site-packages/aiohttp/connector.py”, line 1056, in _create_connection
_, proto = await self._create_direct_connection(req, traces, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.13/site-packages/aiohttp/connector.py”, line 1369, in _create_direct_connection
transp, proto = await self._wrap_create_connection(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
…<7 lines>…
)
^
File “/usr/local/lib/python3.13/site-packages/aiohttp/connector.py”, line 1115, in _wrap_create_connection
sock = await aiohappyeyeballs.start_connection(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
…<5 lines>…
)
^
File “/usr/local/lib/python3.13/site-packages/aiohappyeyeballs/impl.py”, line 89, in start_connection
sock, _, _ = await _staggered.staggered_race(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
…<7 lines>…
)
^
File “/usr/local/lib/python3.13/site-packages/aiohappyeyeballs/_staggered.py”, line 160, in staggered_race
done = await _wait_one(
^^^^^^^^^^^^^^^^
[*tasks, start_next] if start_next else tasks, loop
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File “/usr/local/lib/python3.13/site-packages/aiohappyeyeballs/_staggered.py”, line 41, in _wait_one
return await wait_next
^^^^^^^^^^^^^^^
asyncio.exceptions.CancelledError

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

Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/components/go2rtc/init.py”, line 129, in async_setup
await server.start()
File “/usr/src/homeassistant/homeassistant/components/go2rtc/server.py”, line 98, in start
await self._start()
File “/usr/src/homeassistant/homeassistant/components/go2rtc/server.py”, line 137, in _start
await client.validate_server_version()
File “/usr/local/lib/python3.13/site-packages/go2rtc_client/exceptions.py”, line 56, in _func
return await func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.13/site-packages/go2rtc_client/rest.py”, line 157, in validate_server_version
application_info = await self.application.get_info()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.13/site-packages/go2rtc_client/exceptions.py”, line 56, in _func
return await func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.13/site-packages/go2rtc_client/rest.py”, line 81, in get_info
resp = await self._client.request(“GET”, self.PATH)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.13/site-packages/go2rtc_client/rest.py”, line 62, in request
resp = await self._session.request(method, url, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.13/site-packages/aiohttp/client.py”, line 607, in _request
with timer:
^^^^^
File “/usr/local/lib/python3.13/site-packages/aiohttp/helpers.py”, line 671, in exit
raise asyncio.TimeoutError from exc_val
TimeoutError