Unable to create rendered snapshot

Previously we used to get dashboard snapshot in mail notification. It’s now broken.
I checked logs under /var/log/grafana/grafana.log.
Its showing level=error msg=“Failed to send request to remote rendering service” error=“Get "http://localhost:8082/render/version\”: dial tcp localhost:8082: connect: connection refused"

Ideally what should be the settings under default.ini or grafana.ini in rendering section?

current settings are

server_url = http://localhost:8082/render
callback_url = http://grafana.staged-by-discourse.com/
#renderer_token = -
concurrent_render_request_limit = 30

Can anyone help me in this?

Hi! It looks like the image rendering service isn’t running. Is it installed as a plugin or run as a separate service?

@georgerobinson I have installed image renderer plugin still facing issue.
whatever rendering settings asked by grafana documentation I did still getting this error.
when I changed server url to my server’s private ip:port no then its giving error

logger=rendering renderer=http t=2022-12-16T16:52:06.969208158Z level=info msg=“Couldn’t get remote renderer version, retrying” err=“[rendering.serverTimeout] " try=1
logger=rendering renderer=http t=2022-12-16T16:52:51.970694593Z level=error msg=“Failed to send request to remote rendering service” error=“Get "http://52.204.161.106:8081/render-3.6.1/version\”: dial tcp 52.204.161.106:8081: i/o timeout”

could you help to understand this
as there is proxy server in between private ip server & others
so is there any specific format to give server url when there is proxy present?

I will appreciate If you guys can help in this case

Hi! If you are using the image renderer plugin then you shouldn’t need to set server_url and callback_url. These are required only when running the image renderer as a remote service rather than as a plugin.

1 Like