InfluxDB with HA SSL setup

Hi there…

I am using SSL with my HA setup. So, using the local IP address 192.168.x.x (or localhost) apparently does not work with InfluxDB.

# configuration.yaml
influxdb:  
  host: 192.168.x.x
  port: 8086

I am facing the following error message: “InfluxDB database is not accessible due to ‘401: {“error”:”authorization failed”}’. Please check that the database, username and password are correct and that the specified user has the correct permissions set.”

I of course also tried my public *duckdns.org address, but that does not work either. BTW. my HA setup is not reachable via local IP since I enabled SSL, but only via my *duckdns.org address.

What needs to be done to use InfluxDB with such SSL setup? Thanks!

Seems obvious your InfluxDB wants authentication/authorization…

username string (Inclusive)
1.xx only - The username of the database user. The user needs read/write privileges on the database.

password string (Inclusive)
1.xx only - The password for the database user account. Needed with username configuration variable.

token string (Inclusive)
2.xx only - Auth token with WRITE access to your chosen Organization and Bucket. Needed with organization configuration variable.