Since updating to core-2022.2.X I’ve been having the following issue, Glances integration fails to set up:
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
GitHub API |
ok |
Github API Calls Remaining |
4894 |
Installed Version |
1.22.0 |
Stage |
running |
Available Repositories |
979 |
Downloaded Repositories |
16 |
Home Assistant Cloud
logged_in |
true |
subscription_expiration |
1 March 2022, 00:00 |
relayer_connected |
true |
remote_enabled |
true |
remote_connected |
true |
alexa_enabled |
false |
google_enabled |
false |
remote_server |
eu-west-2-1.ui.nabu.casa |
can_reach_cert_server |
ok |
can_reach_cloud_auth |
ok |
can_reach_cloud |
ok |
Home Assistant Supervisor
host_os |
Home Assistant OS 7.3 |
update_channel |
stable |
supervisor_version |
supervisor-2022.01.1 |
docker_version |
20.10.9 |
disk_total |
115.7 GB |
disk_used |
11.4 GB |
healthy |
true |
supported |
true |
board |
odroid-n2 |
supervisor_api |
ok |
version_api |
ok |
installed_addons |
ESPHome (2022.1.3), MariaDB (2.4.0), Mosquitto broker (6.0.1), Nginx Proxy Manager (0.11.0), Node-RED (10.4.0), SSH & Web Terminal (10.0.2), Samba share (9.5.1), Vaultwarden (Bitwarden) (0.15.0), Z-Wave JS (0.1.53), Samba Backup (5.0.0) |
Lovelace
dashboards |
1 |
resources |
12 |
views |
6 |
mode |
storage |