Problem integration grafana error 200 (Probably the output is not valid json, because the returncode is 200)

Hi, thanks in advance!

I’m using Grafana to get graphs from Nagios Core (Using InfluxDB + Nagflux + Histou), according to: Nagios Core - Performance Graphs Using InfluxDB + Nagflux + Grafana + Histou

InfluxDb’s database named “nagflux” is filled correctly with data from Nagios Core(nagflux), but I can’t connect Grafana with it. Irony is that I created datasource type InfluxDB with database “nagflux”, and I got green message “Data source is working”.

influxdb → 1.8.10-1
Nagios → core 4.4.6
Grafana → v8.2.5
Histou → 0.4.3
PHP → 7.0.27
Centos → 7.9.2009

Histou show all data in json correctly, but whith the grafana integration (histou.js) shows an error in grafana dashboard:

{
  "gridPos": {
    "x": 0,
    "y": 0,
    "w": 24,
    "h": 8
  },
  "type": "text",
  "title": "Error Message below",
  "fill": 1,
  "content": "# HTTP code: 200\n# Message: load\n# Url: http://nagiosserver/histou/index.php?host=server1.es&service=&height=&legend=true&annotations=false\n# Probably the output is not valid json, because the returncode is 200!",
  "options": {
    "mode": "markdown",
    "content": "# Title\n\n  For markdown syntax help: [commonmark.org/help](https://commonmark.org/help/)\n           "
  },
  "id": 1,
  "pluginVersion": "8.2.5",
  "datasource": null
}

I can´t resolve this! is there any way to solve it?

Thanks!!

Solved!
The problem was in the http and https configuration with the different software involved.
thanks!