ysde/grafana-backup-tool

InsecureRequestWarning: Unverified HTTPS request

Opened this issue · 0 comments

Issue reference : Limit on dashboards backup #32

Hi,

I have the same error as the issue #32. Could you please help.
I am using
Grafana 8.4.4.
Python v3.9
Backup tool v 1.2.3
Requests v2.20.0

I am pointing to https grafana which runs on a sub path behind NGINX reverse proxy. In Grafana settings json file I even tried setting verify-ssl to false but still get this error. Backup & restore works.
Some advise to suppress the alert by adding

import urllib3
….
urllib3.disable_warnings()

but what if I have certs for grafana https. Can I use it if so could you please advise what’s the settings change I should make so it authenticates?

Please note I use token for Grafana API connection - it’s able to connect except that error that talks about

[ERROR] Backing up organizations needs to set GRAFANA_ADMIN_ACCOUNT and GRAFANA_ADMIN_PASSWORD first