Using Grafana 9.0.4
and InfluxDB 1.8 - with Authentication enabled (running on a docker container)
Using Query Language: InfluxQL
Trying to connect to https://myservername:8086/
Getting InfluxDB Error: Bad Gateway
Expected results - test connection succeeds .
URL I was working with for setup - InfluxDB data source | Grafana documentation
- I’ve noticed that in the password section - it links to Influx v2.0 (View API tokens in InfluxDB | InfluxDB OSS 2.0 Documentation) that is a major upgrade from my version
When I access the Influx DB from api - I get a an answer e.g.
curl -G https://myservername:8086/query --data-urlencode “q=SHOW DATABASES” --header “Authorization: Bearer myToken” will return the DB’s
Looking at the ImfluxDB logs I see this error:
“http: TLS handshake error from : : remote error: tls: bad certificate”
Note: I didn’t enable anything in the Auth section in Grafana and didn’t add any HTTP header ? should I?