401 Unauthorized with Grafana 8.5.6 and Image Renderer on ARM64 (aarch64)

I’m facing while setting up the grafana-image-renderer as a standalone service. I’ve been troubleshooting this for a while and seem to be stuck in a loop.

My Goal: Run Grafana and the image renderer on the same AWS Graviton (aarch64) server.

My Problem: After solving the initial browser compatibility issues, I am completely stuck on a 401 Unauthorized error. The renderer service consistently rejects requests from the Grafana server.


My Environment

  • Grafana Version: 8.5.6
  • Image Renderer Setup: Standalone Node.js application, running from a git checkout of a specific tag (v3.4.2 to ensure compatibility with Grafana 8.5).
  • Operating System: Amazon Linux 2023
  • Architecture: aarch64 (AWS EC2 Graviton Instance)
  • Setup: Both Grafana and the renderer are on the same server, so communication should be over localhost.

The Core Problem

When Grafana tries to generate an image for an alert, the image renderer service logs the following error, indicating it’s rejecting the request:

{"level":"error","message":"Request failed","stack":"Error: Unauthorized request\n at /root/grafana-image-renderer/build/service/middlewares.js:27:30..."} {"level":"error","message":"::ffff:127.0.0.1 - - [22/Jun/2025:21:07:48 +0000] \"GET /render?... HTTP/1.1\" 401 74 \"-\" \"Grafana/8.5.6\""}