cloudspout / cloudspout-button-panel

Grafana panel to integrate with any kind of HTTP/REST API
MIT License
50 stars 35 forks source link

ButtonPanel.tsx:171 Request error: TypeError: Failed to fetch #53

Open maxdd opened 3 years ago

maxdd commented 3 years ago

I'm quite new to the grafana env. I've just set up a button to do a GET to an host inside my local network but when i press it in the console i receive

ButtonPanel.tsx:171 Request error: TypeError: Failed to fetch

In this case the request is done to http://192.168.188.99/status

which is fully accessible via browser

TheNaderio commented 1 year ago

Same here with Grafana 9.1.5 I build an endpoint <ip>:<port>/007 which works in the browser.

image

if I fire the url from Grafana, I receive "Failed to fetch".

The request is totally working, I think Grafana (button-panel) doesn't handle the response properly.

image