After I upgraded to 2.0 RC today, I started getting Network Error: Unauthorized(401) from telegraf plug in coming from OPNSense and also when trying to read data from Grafana.
I checked and the port 8086 is open and in listening mode
Upgrade from InfluxDB 1.x to 2.0 | InfluxDB OSS 2.0 Documentation notes that " InfluxDB 2.0 requires authentication and does not support the InfluxDB 1.x auth-enabled = false configuration option" which I guess is happening here. Effectively, upgrading forced you into auth-enabled=true and therefore when using Telegraf or anything else you need to enter a username and password to connect and write data.
I set the setting to auth-enabled = true, created username and Grafana reports the data source is working but no data is displayed. Grafana reports “InfluxDB Error: not executed and Database not found”
Telegraf reports “When writing to [http://127.0.0.1:8086]: 404 Not Found” which I don’t understand because it’s on the same machine…