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

Getting 404 Unauthorized Access #431

Closed
paulwer opened this issue Jun 6, 2023 · 1 comment
Closed

Getting 404 Unauthorized Access #431

paulwer opened this issue Jun 6, 2023 · 1 comment

Comments

@paulwer
Copy link

paulwer commented Jun 6, 2023

What happened:
Using Grafana Image Renderer as Standalone Service (docker) within cloud run.
Getting response: {"statusCode":401,"error":"Unauthorized","message":"Unauthorized request"}

What you expected to happen:
generate images

How to reproduce it (as minimally and precisely as possible):
deploy grafana (docker: grafana/grafana:latest)
deploy grafana-renderer (docker: grafana:grafana-image-renderer:latest)

ENVs for grafana service:
GF_RENDERING_SERVER_URL = "https://${var.grafana-domain}/render"
GF_RENDERING_CALLBACK_URL = "https://${var.grafana-domain}/"
GF_RENDERING_RENDERER_TOKEN = "${random_password.grafana-renderer-token.result}"

ENVs for grafana-renderer service:
AUTH_TOKEN = "${random_password.grafana-renderer-token.result}"

Anything else we need to know?:

Environment:

  • Grafana Image Renderer version: 3.7.1
  • Grafana version: 9.5.1
  • Installed plugin or remote renderer service: remote
  • OS Grafana Image Renderer is installed on: Google Cloud Run
  • User OS & Browser: Windows & Edge
@paulwer
Copy link
Author

paulwer commented Jun 6, 2023

found the issue:
we placed a "/render" & "/render/*" in the load balancer, which results in a redirect of render/d-solo to the image-rendering service.

@paulwer paulwer closed this as completed Jun 6, 2023
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

1 participant