InfluxDB ignoring specified host
The problem
I have influxdb running on another machine, but influxdb setting in configuration.yaml for 'host' is not working, it just tries to connect to 'localhost'. Was working before, just dont know in which version.
What version of Home Assistant Core has the issue?
core-2024.1.5
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
InfluxDB
Link to integration documentation on our website
https://www.home-assistant.io/integrations/influxdb/
Diagnostics information
No response
Example YAML snippet
influxdb:
host: 10.100.0.4
port: 8086
database: homeassistant
ssl: false
verify_ssl: false
max_retries: 3
default_measurement: state
exclude: #Include domain
domains:
- light
- zone
include: #Exclude entities
entities:
Anything in the logs that might be useful for us?
Cannot connect to InfluxDB due to 'HTTPConnectionPool(host='localhost', port=8086): Max retries exceeded with url: /query?q=SHOW+DATABASES%3B (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fccb8a9be50>: Failed to establish a new connection: [Errno 111] Connection refused'))'. Please check that the provided connection details (host, port, etc.) are correct and that your InfluxDB server is running and accessible.
Additional information
No response
Hey there @mdegat01, mind taking a look at this issue as it has been labeled with an integration (influxdb) you are listed as a code owner for? Thanks!
Code owner commands
Code owners of influxdb can trigger bot actions by commenting:
@home-assistant closeCloses the issue.@home-assistant rename Awesome new titleRenames the issue.@home-assistant reopenReopen the issue.@home-assistant unassign influxdbRemoves the current integration label and assignees on the issue, add the integration domain after the command.@home-assistant add-label needs-more-informationAdd a label (needs-more-information, problem in dependency, problem in custom component) to the issue.@home-assistant remove-label needs-more-informationRemove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.
(message by CodeOwnersMention)
influxdb documentation influxdb source (message by IssueLinks)
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.