Since updating to core-2022.2.X I’ve been having the following issue, Glances integration fails to set up:
![Screenshot 2022-02-09 at 19.24.37]()
If I disable and then re-enable the integration it works fine, but after every restart I have the same problem. Here’s the error:
Logger: homeassistant.config_entries
Source: components/glances/__init__.py:126
First occurred: 13:35:37 (1 occurrences)
Last logged: 13:35:37
Error setting up entry Scrypted for glances
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/httpcore/_exceptions.py", line 8, in map_exceptions
yield
File "/usr/local/lib/python3.9/site-packages/httpcore/backends/asyncio.py", line 101, in connect_tcp
stream: anyio.abc.ByteStream = await anyio.connect_tcp(
File "/usr/local/lib/python3.9/site-packages/anyio/_core/_tasks.py", line 103, in __exit__
raise TimeoutError
TimeoutError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/httpx/_transports/default.py", line 60, in map_httpcore_exceptions
yield
File "/usr/local/lib/python3.9/site-packages/httpx/_transports/default.py", line 308, in handle_async_request
resp = await self._pool.handle_async_request(req)
File "/usr/local/lib/python3.9/site-packages/httpcore/_async/connection_pool.py", line 244, in handle_async_request
raise exc
File "/usr/local/lib/python3.9/site-packages/httpcore/_async/connection_pool.py", line 228, in handle_async_request
response = await connection.handle_async_request(request)
File "/usr/local/lib/python3.9/site-packages/httpcore/_async/connection.py", line 86, in handle_async_request
raise exc
File "/usr/local/lib/python3.9/site-packages/httpcore/_async/connection.py", line 63, in handle_async_request
stream = await self._connect(request)
File "/usr/local/lib/python3.9/site-packages/httpcore/_async/connection.py", line 111, in _connect
stream = await self._network_backend.connect_tcp(**kwargs)
File "/usr/local/lib/python3.9/site-packages/httpcore/backends/auto.py", line 23, in connect_tcp
return await self._backend.connect_tcp(
File "/usr/local/lib/python3.9/site-packages/httpcore/backends/asyncio.py", line 101, in connect_tcp
stream: anyio.abc.ByteStream = await anyio.connect_tcp(
File "/usr/local/lib/python3.9/contextlib.py", line 137, in __exit__
self.gen.throw(typ, value, traceback)
File "/usr/local/lib/python3.9/site-packages/httpcore/_exceptions.py", line 12, in map_exceptions
raise to_exc(exc)
httpcore.ConnectTimeout
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 327, in async_setup
result = await component.async_setup_entry(hass, self)
File "/usr/src/homeassistant/homeassistant/components/glances/__init__.py", line 81, in async_setup_entry
if not await client.async_setup():
File "/usr/src/homeassistant/homeassistant/components/glances/__init__.py", line 126, in async_setup
await self.api.get_data("all")
File "/usr/local/lib/python3.9/site-packages/glances_api/__init__.py", line 54, in get_data
response = await client.get(
File "/usr/local/lib/python3.9/site-packages/httpx/_client.py", line 1736, in get
return await self.request(
File "/usr/local/lib/python3.9/site-packages/httpx/_client.py", line 1513, in request
return await self.send(request, auth=auth, follow_redirects=follow_redirects)
File "/usr/local/lib/python3.9/site-packages/httpx/_client.py", line 1600, in send
response = await self._send_handling_auth(
File "/usr/local/lib/python3.9/site-packages/httpx/_client.py", line 1628, in _send_handling_auth
response = await self._send_handling_redirects(
File "/usr/local/lib/python3.9/site-packages/httpx/_client.py", line 1665, in _send_handling_redirects
response = await self._send_single_request(request)
File "/usr/local/lib/python3.9/site-packages/httpx/_client.py", line 1702, in _send_single_request
response = await transport.handle_async_request(request)
File "/usr/local/lib/python3.9/site-packages/httpx/_transports/default.py", line 308, in handle_async_request
resp = await self._pool.handle_async_request(req)
File "/usr/local/lib/python3.9/contextlib.py", line 137, in __exit__
self.gen.throw(typ, value, traceback)
File "/usr/local/lib/python3.9/site-packages/httpx/_transports/default.py", line 77, in map_httpcore_exceptions
raise mapped_exc(message) from exc
httpx.ConnectTimeout
I don’t know if it’s related, but also since updating to core-2022.2.X, overall Home Assistant has slowed down a lot, UI is slow to load, Zigbee/Zwave devices are very slow to respond. Am seeing the following errors:
Logger: homeassistant.components.hassio
Source: components/hassio/__init__.py:568
Integration: Home Assistant Supervisor (documentation, issues)
First occurred: 14:10:52 (10 occurrences)
Last logged: 19:30:23
Can't read Supervisor data:
Logger: homeassistant.components.hassio.handler
Source: components/hassio/handler.py:237
Integration: Home Assistant Supervisor
First occurred: 14:10:52 (90 occurrences)
Last logged: 19:30:23
Timeout on /addons/core_mariadb/stats request
Timeout on /addons/a0d7b954_nodered/stats request
Timeout on /addons/a0d7b954_ssh/stats request
Timeout on /addons/a0d7b954_bitwarden/stats request
Timeout on /addons/15d21743_samba_backup/stats request
Have run the following commands as noted in this issue to attempt to fix, only resolves the problem temporarily:
ha core rebuild
ha supervisor repair
System Health
version |
core-2022.2.5 |
installation_type |
Home Assistant OS |
dev |
false |
hassio |
true |
docker |
true |
user |
root |
virtualenv |
false |
python_version |
3.9.7 |
os_name |
Linux |
os_version |
5.10.96 |
arch |
aarch64 |
timezone |
Europe/London |
Home Assistant Community Store
(click for more details)
Home Assistant Cloud
(click for more details)
Home Assistant Supervisor
(click for more details)
Lovelace
(click for more details)
1 post - 1 participant
Read full topic