Network Error:Bad Gateway(502) appears most of the time

Hello Team, I am using InfluxDB as datasource to show the graphs for my windows based application.
My application creates data for each second and I am trying to fetch the data into Dashboard. Since in one second it creates 250 entries.
Data appears for sometimes and then I get this bad gateway error and after sometimes data appears again and later this error.
Please find attached image and let me know what I can do to get rid of this error.
I am using influx DB version =influxdb-1.8.0-1
Grafana version 74 (latest)


1 Like

My system was rebooted and then I faced with this error too.

To import a dashboard you must set a DB name to query from.

You may remove the DB or rename it.

Remove the dashboard and load it again.