grafana-sync icon indicating copy to clipboard operation
grafana-sync copied to clipboard

Connect to HTTPS encrypted source not working

Open mschabhuettl opened this issue 4 years ago • 6 comments

Hello!

I want to pull Dashboards/Folders from an https encrypted source. Unfortunatly this is not working.

I'm getting this error when i pull-folders

Pull folders command failed invalid character '<' looking for beginning of value

Trying to pull from Home Assistant Grafana plugin.

The port is defined and forwarding is turned on.

When I open the URL https://example.tld:port in my browser I get forwarded to https://example.tld:port/api/hassio_ingress/<something>/login.

Cheers, Matthias

mschabhuettl avatar Sep 29 '21 18:09 mschabhuettl

Hello, tried to reproduce the error using the HTTPS grafana endpoint. But was not able to reproduce the error. Each time pull was successful.

mpostument avatar Oct 20 '21 15:10 mpostument

What grafana version are you using? I tried 7 and 8

mpostument avatar Oct 20 '21 15:10 mpostument

What grafana version are you using? I tried 7 and 8

Hello! Sorry for the late response. On HomeAssistant (with Grafana plugin) I'm running Version 7.3.1, and on my second Grafana instance I'm running Version 8.2.4.

Always getting the error grafana-sync pull-folders --apikey="<API-KEY>" --directory="folders" --url https://<MY-DOMAIN>:3000 Pull folders command failed invalid character '<' looking for beginning of value

Edit: sorry wrong error message

mschabhuettl avatar Nov 17 '21 11:11 mschabhuettl

@mpostument do you have any ideas? or am I doing something wrong?

mschabhuettl avatar Dec 13 '21 20:12 mschabhuettl

I am not familiar with Home Assistant Grafana plugin. Maybe it is because of it. I will try investigate what is wrong

mpostument avatar Jan 05 '22 19:01 mpostument

I think this is working with version 1.4.8 - at least I just pulled over https without any problems

telmich avatar Jun 24 '22 16:06 telmich