Influxdb - Cannot connect to InfluxDB due to host='homeassistant.local', port=8428): Max #101661

I had no issues the last months but since approx. 4th of October my running installation did not work anymore. I have no idea how to fix it.

homeassistant.components.influxdb] Cannot connect to InfluxDB due to ‘HTTPConnectionPool(host=‘homeassistant.local’, port=8428): Max retries exceeded with url: /write?db=home_assistant (Caused by NewConnectionError(’<urllib3.connection.HTTPConnection object at 0x7f5f135e50>: Failed to establish a new connection: [Errno 22] Invalid argument’))’. Please check that the provided connection details (host, port, etc.) are correct and that your InfluxDB server is running and accessible. Retrying in 60 seconds.

Details here:

Try downgrading HA OS to the stable version. You are on the beta release.

Thanks - I tried

ha core update --version 2023.10.5 --backup

but I am still on
OS Version: Home Assistant OS 11.0.rc1
Home Assistant Core: 2023.10.1

I probably struggle to find the right version. 10.5 from August seems to be the latest OS.

You need to update the os, not the core.

ha host update

ha os update --version 10.5

worked well. I am now on
Home Assistant 2023.10.1
Supervisor 2023.10.0
Operating System 10.5
Frontend 20231005.0 - latest

But, the error still appears in the log file:

2023-10-09 20:32:09.632 ERROR (SyncWorker_4) [homeassistant.components.influxdb] Cannot connect to InfluxDB due to 'HTTPConnectionPool(host='homeassistant.local', port=8428): Max retries exceeded with url: /write?db=home_assistant (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7e0cd250>: Failed to establish a new connection: [Errno 22] Invalid argument'))'. Please check that the provided connection details (host, port, etc.) are correct and that your InfluxDB server is running and accessible. Retrying in 60 seconds.

It looks like it is an issue with Victorianetrics. Thanks anyway - I now better understand reverting back and why not to use beta in production.

1 Like