hassio-addons/addon-influxdb

Grafana can't connect to InfluxDB - Network Error: Unauthorized(401) #92

Schawen posted onGitHub

I've installed hassio to Raspberry Pi 4, added InfluxDB and Grafana from add-on store. My config follows the readme from https://github.com/hassio-addons/addon-influxdb/blob/v3.5.1/README.md

Data seems to get stored in the InfluxDB, but trying to connect Grafana to InfluxDB fails with

Network Error: Unauthorized(401)

Even when Option: leave_front_door_open set to TRUE

InfuxDB - Config

auth: true reporting: true ssl: false certfile: fullchain.pem keyfile: privkey.pem envvars: - name: INFLUXDB_HTTP_LOG_ENABLED value: 'true' leave_front_door_open: true

Grafana - Config

plugins: [] env_vars: [] ssl: false certfile: fullchain.pem keyfile: privkey.pem

configuration.yaml

influxdb: host: a0d7b954-influxdb port: 8086 database: hassdb username: hassuser password: hassuser max_retries: 3 default_measurement: state

grafana-1

grafana-2

There is no request for a password when pressing "save & test".

What can I do???


Fixed the problem by uninstall and reinstall grafana

posted by Schawen over 4 years ago

Fund this Issue

$0.00
Funded

Pull requests