Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Grafana v8.3.x: "NetworkError when attempting to fetch resource." #73

Open
anirudh-ramesh opened this issue Feb 15, 2022 · 1 comment
Open

Comments

@anirudh-ramesh
Copy link

  • Environment
    • Grafana OSS v8.3.0 and v8.3.6
    • Button Panel v7.0.23
    • OS: Ubuntu 20.04
  • Observed behaviour
    • With any URL, any type of request GET/POST
    • With/without a reverse proxy
    • Error message viewable upon clicking the button: NetworkError when attempting to fetch resource.
  • How to reproduce:
    • Install Grafana OSS and Button Panel of the versions mentioned
    • Create a new dashboard
    • Create a new panel of the button plugin
    • Replace the URL with any valid URL e.g. Requestbin with GET/POST
    • Click on the button
    • View the error message in the hover text
    • View the Grafana log
@gilles380
Copy link

Had same issue but investigating with web-inspector, Plugin is running fine
problem (as far as i am concerned) is on the REST server and Cross Origin Resource Sharing
easy to test using uvicorn and fastAPI
did not suceeded using uvicorn and Falcon : could not set Access-Control-Allow-Methods using CORSMiddleware

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants