grafana-image-renderer icon indicating copy to clipboard operation
grafana-image-renderer copied to clipboard

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

Open giuliomagnifico opened this issue 5 months ago • 1 comments

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:

giuliomagnifico avatar Sep 04 '24 14:09 giuliomagnifico