Import dashboard from Grafana behind firewall -- Bad Gateway

My Grafina server is behind company firewall. When I tried to import Cassandra Dashboard dashboard for Grafana | Grafana Labs, it seemed failed with Bad Gateway. In the log there was an entry like “t=2022-03-31T10:49:00-0400 lvl=eror msg=“Request Completed” logger=context userId=1 orgId=1 uname=admin method=GET path=/api/gnet/dashboards/12086 status=502 remote_addr=10.24.109.31 time_ms=51 size=0 referer=http://ll-lt-ixcsdb-01:3000/dashboard/import”

Could it because my server was behind firewall? If so, how to setup proxy information in the configuration?

Does anyone have the same issue?

Grafana needs to have an access to the internet in this case. Grafana is behind FW so it can’t download that dashboard from the internet. Good companies usually provides HTTP proxy for the internet access, so that can be solution - configure http proxy for your Grafana.

The most naive and simplest solution is to download that dashboard on your local machine and then upload that dashboard from the local machine in during dashboard import.

1 Like

I have proxy. Where can I find the information to configure http proxy for Grafana to download the dashboard?

Any suggestions how this?

as @jangaraj said download the json file and import it?

https://grafana.com/api/dashboards/12086/revisions/2/download

Can’t really help out with networking issues.