This is almost the exact same issue in this thread, except I’m using Hosted Grafana instead of hosting it myself.
I’ve verified that the database is able to be reached from the outside and that it is actually collecting data. I have a Telegraf instance writing data to InfluxDB and I checked there is data there. But I’m at a loss for how to debug this further since the error is unhelpful and I don’t have any access to try debugging it further at the Grafana level.
I looked now and didn’t see any requests like the one in your screenshot. However, I manually entered the API URL you linked above for my hosted instance, and I was only given one message there:
“Datasource is not configured to allow this database”
This is very strange - that error message is a security check to make sure that the user is not trying to access other influxdb databases than the one specified on the config page in the Database field.
To get the error on Firefox, do the following:
First open the datasource config page
Open the Firefox Dev Tools and switch to the Network tab. If there are requests in the list, press clear (the little trashcan on the left)
Click on the Save and Test button and you should see the following:
I also have similar problem
When I run save and test query in url I see the same error as title.
But when get the test url from console and run this in browser I get
{“results”:[{“statement_id”:0,“series”:[{“name”:“databases”,“columns”:[“name”],“values”:[[“_internal”],[“flights”]]}]}]}
@kala1 that looks like a totally different problem - you are getting a mixed content error. Have you configured the data source to be in “direct” mode? (Direct means going directly from the browser to the database and proxy means requests are routed via the Grafana server backend before being routed to the database). Try changing to proxy.
@jwf even if you press the Save/Save and Test button again? I just tested adding an InfluxDB data source to a GrafanaCloud instance and it looked like this: