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

Since v3.11.3, it has been failing to build images with an HTTP 500 error #564

Open
giuliomagnifico opened this issue Sep 4, 2024 · 1 comment

Comments

@giuliomagnifico
Copy link

What happened:

The image render plugin doesn't build the images and returns a http 500 error

What you expected to happen:

How to reproduce it (as minimally and precisely as possible):

simply try to share as image a panel.

Anything else we need to know?:

Since the release v3.11.3 the Grafana-image-render plugin doesn't work anymore, it returns an http 500 error and nothing else, here's the log:

● grafana-image-renderer.service - grafana-image-renderer
     Loaded: loaded (/etc/systemd/system/grafana-image-renderer
.service; enabled; preset: enabled)
     Active: active (running) since Wed 2024-09-04 15:59:32 CEST; 1min 11s ago
   Main PID: 513360 (node)
      Tasks: 11 (limit: 9272)
        CPU: 2.594s
     CGroup: /system.slice/grafana-image-renderer.service
             └─513360 node build/app.js server --port=8081

Sep 04 15:59:32 DietPi systemd[1]: Started grafana-image-renderer.service - grafana-image-renderer.
Sep 04 15:59:34 DietPi node[513360]: {"level":"info","message":"HTTP Server started, listening at http://localhost:8081"}
Sep 04 15:59:51 DietPi node[513360]: [2.4K blob data]
Sep 04 15:59:51 DietPi node[513360]: {"level":"error","message":"::ffff:192.168.1.6 - - [04/Sep/2024:13:59:51 +0000] \"GET /render
?deviceScaleFactor=1.000000&domain=192.168.1.6&encoding=png&height=500&renderKey=Q1YhL8CDw2g46tJBfMUXTHqLgQAa7CiM&timeout=60&timez
one=Europe%2FRome&url=http%3A%2F%2F192.168.1.6%3A3001%2Fd-solo%2FFGioSdO4z31m%2Fcasa-summary%3ForgId%3D1%26refresh%3D1m%26from%3D1
725371992329%26to%3D1725458392329%26panelId%3D87%26width%3D1000%26height%3D500%26scale%3D1%26tz%3DEurope%252FRome%26render%3D1&wid
th=1000 HTTP/1.1\" 500 96 \"-\" \"Grafana/11.2.0\"\n"}

Environment:

  • Grafana Image Renderer version: v3.11.4 and v3.11.3
  • Grafana version: 11.2
  • Installed plugin or remote renderer service:
  • OS Grafana Image Renderer is installed on: installed and compiled on a Raspberry PI 5
  • User OS & Browser: Raspbian
  • Others:
@evictorero
Copy link
Contributor

Could this be related to the chrome version you installed in a previous step?
Can you update it and try again?
Puppeter uses now the chrome-headless-shell version.

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

No branches or pull requests

2 participants