-
Notifications
You must be signed in to change notification settings - Fork 155
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
v3.8.2 shows only the login screen #464
Comments
Hello! Do you have some logs to share from both the Grafana server side and the image renderer side please? |
sure @AgnesToulet. attaching those below: grafana server logslogger=rendering renderer=http t=2023-10-16T07:07:48.88877651Z level=info msg=Rendering path="d-solo/L7BdzGh4z/app-versions?orgId=1&refresh=5s&from=1697418463466&to=1697440063466&panelId=16&width=1000&height=500&tz=Asia%2FCalcutta" grafana-image-renderer server logs{"level":"debug","message":"Render request received","url":"http://localhost:3000/d-solo/L7BdzGh4z/app-versions?orgId=1&refresh=5s&from=1697418463466&to=1697440063466&panelId=16&width=1000&height=500&tz=Asia%2FCalcutta&render=1"} {"file":"/tmp/e82ee6b1.png","level":"debug","message":"Deleting temporary file"} {"level":"debug","message":"::ffff:127.0.0.1 - - [16/Oct/2023:07:07:50 +0000] \"GET /render?deviceScaleFactor=1.000000&domain=localhost&encoding=&height=500&renderKey=bxdGl8eTJIXkCRSeBFvds675YPFSy0zR&timeout=60&timezone=Asia%2FCalcutta&url=http%3A%2F%2Flocalhost%3A3000%2Fd-solo%2FL7BdzGh4z%2Fapp-versions%3ForgId%3D1%26refresh%3D5s%26from%3D1697418463466%26to%3D1697440063466%26panelId%3D16%26width%3D1000%26height%3D500%26tz%3DAsia%252FCalcutta%26render%3D1&width=1000 HTTP/1.1\" 200 62351 \"-\" \"Grafana/10.1.2\"\n"} {"level":"debug","message":"Connection closed","url":"http://localhost:3000/d-solo/L7BdzGh4z/app-versions?orgId=1&refresh=5s&from=1697418463466&to=1697440063466&panelId=16&width=1000&height=500&tz=Asia%2FCalcutta&render=1"} |
Thank you. Could you also enable verbose logging (RENDERING_VERBOSE_LOGGING = true) and dumpio (RENDERING_DUMPIO = true) for the image renderer so we can get a bit more information on what's happening please? |
sure: grafana server logslogger=rendering renderer=http t=2023-10-16T07:33:37.063550222Z level=info msg=Rendering path="d-solo/L7BdzGh4z/app-versions?orgId=1&refresh=5s&from=1697438015780&to=1697441615781&panelId=5&width=1000&height=500&tz=Asia%2FCalcutta" grafana-image-renderer server logs{"level":"debug","message":"Render request received","url":"http://localhost:3000/d-solo/L7BdzGh4z/app-versions?orgId=1&refresh=5s&from=1697438015780&to=1697441615781&panelId=5&width=1000&height=500&tz=Asia%2FCalcutta&render=1"} [1016/073337.075822:ERROR:zygote_host_impl_linux.cc(273)] Failed to adjust OOM score of renderer with pid 591: Permission denied (13) {"deviceScaleFactor":1,"height":"500","level":"debug","message":"Setting viewport for page","width":"1000"} {"domain":"localhost","level":"debug","message":"Setting cookie for page","renderKey":"LUxPUCf1d6Ft5jCGgecye5nuK7DvD5IP"} {"level":"debug","message":"Moving mouse on page","x":1000,"y":500} {"level":"debug","message":"Navigating and waiting for all network requests to finish","url":"http://localhost:3000/d-solo/L7BdzGh4z/app-versions?orgId=1&refresh=5s&from=1697438015780&to=1697441615781&panelId=5&width=1000&height=500&tz=Asia%2FCalcutta&render=1"} {"level":"debug","message":"Browser request","method":"GET","url":"http://localhost:3000/d-solo/L7BdzGh4z/app-versions?orgId=1&refresh=5s&from=1697438015780&to=1697441615781&panelId=5&width=1000&height=500&tz=Asia%2FCalcutta&render=1"} {"level":"debug","message":"Browser request finished","method":"GET","url":"http://localhost:3000/d-solo/L7BdzGh4z/app-versions?orgId=1&refresh=5s&from=1697438015780&to=1697441615781&panelId=5&width=1000&height=500&tz=Asia%2FCalcutta&render=1"} {"level":"debug","message":"Browser request","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/d-solo/L7BdzGh4z/app-versions?orgId=1&refresh=5s&from=1697438015780&to=1697441615781&panelId=5&width=1000&height=500&tz=Asia%2FCalcutta&render=1"} {"level":"debug","message":"Browser request finished","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/d-solo/L7BdzGh4z/app-versions?orgId=1&refresh=5s&from=1697438015780&to=1697441615781&panelId=5&width=1000&height=500&tz=Asia%2FCalcutta&render=1"} {"level":"debug","message":"Browser request","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/login"} {"level":"debug","message":"Browser request","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/public/build/grafana.dark.886efb710af4d17a895d.css"} {"level":"debug","message":"Browser request","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/public/build/runtime.7e82923cb533bc3576d2.js"} {"level":"debug","message":"Browser request","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/public/build/147.73fef960675c84aa9a84.js"} {"level":"debug","message":"Browser request","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/public/build/1486.9f5c58b5413b0650af69.js"} {"level":"debug","message":"Browser request","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/public/build/1537.caf8c5d1430033307ef5.js"} {"level":"debug","message":"Browser request","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/public/build/226.6820fd439963e5465b6a.js"} {"level":"debug","message":"Browser request","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/public/build/app.5134ec4fafe46667d3cf.js"} {"level":"debug","message":"Browser request finished","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/login"} {"level":"debug","message":"Browser request finished","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/public/build/grafana.dark.886efb710af4d17a895d.css"} {"level":"debug","message":"Browser request finished","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/public/build/runtime.7e82923cb533bc3576d2.js"} {"level":"debug","message":"Browser request","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/public/img/grafana_icon.svg"} {"level":"debug","message":"Browser request","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/public/fonts/inter/UcC73FwrK3iLTeHuS_fvQtMwCp50KnMa1ZL7.woff2"} {"level":"debug","message":"Browser request finished","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/public/build/1537.caf8c5d1430033307ef5.js"} {"level":"debug","message":"Browser request finished","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/public/build/147.73fef960675c84aa9a84.js"} {"level":"debug","message":"Browser request finished","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/public/build/app.5134ec4fafe46667d3cf.js"} {"level":"debug","message":"Browser request finished","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/public/img/grafana_icon.svg"} {"level":"debug","message":"Browser request finished","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/public/fonts/inter/UcC73FwrK3iLTeHuS_fvQtMwCp50KnMa1ZL7.woff2"} {"level":"debug","message":"Browser request finished","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/public/build/226.6820fd439963e5465b6a.js"} {"level":"debug","message":"Browser request finished","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/public/build/1486.9f5c58b5413b0650af69.js"} {"level":"debug","message":"Browser request","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/public/build/7424.afad9d5bcb701f31d890.js"} {"level":"debug","message":"Browser request","method":"GET","url":"blob:https://eu-metrics-monitoring.livepeer.monster/5c258dde-0ad4-4160-b88a-4f0b4569d4e9"} {"level":"debug","message":"Browser request finished","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/public/build/7424.afad9d5bcb701f31d890.js"} {"level":"debug","message":"Browser request finished","method":"GET","url":"blob:https://eu-metrics-monitoring.livepeer.monster/5c258dde-0ad4-4160-b88a-4f0b4569d4e9"} {"level":"debug","message":"Browser request","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/public/build/1189.846540cbca3eb55c18a1.js"} {"level":"debug","message":"Browser request","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/public/build/8695.c23c9961ab344f38b174.js"} {"level":"debug","message":"Browser request","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/public/build/3633.acef4a1394f4c10cf087.js"} {"level":"debug","message":"Browser request","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/public/build/AngularApp.cd93fabea0d7a3dbc811.js"} {"level":"debug","message":"Browser request finished","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/public/build/AngularApp.cd93fabea0d7a3dbc811.js"} {"level":"debug","message":"Browser request finished","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/public/build/8695.c23c9961ab344f38b174.js"} {"level":"debug","message":"Browser request finished","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/public/build/3633.acef4a1394f4c10cf087.js"} {"level":"debug","message":"Browser request finished","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/public/build/1189.846540cbca3eb55c18a1.js"} {"level":"debug","line":224,"message":"Browser console warning","msg":"The keyword 'inner-spin-button' specified to an 'appearance' property is not standardized. It will be removed in the future.","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/public/build/1486.9f5c58b5413b0650af69.js"} {"level":"debug","message":"Browser request","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/public/img/g8_login_dark.svg"} {"level":"debug","message":"Browser request","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/public/img/icons/unicons/google.svg"} {"level":"debug","message":"Browser request","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/public/img/icons/unicons/github.svg"} {"level":"debug","message":"Browser request finished","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/public/img/g8_login_dark.svg"} {"level":"debug","message":"Browser request finished","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/public/img/icons/unicons/google.svg"} {"level":"debug","message":"Browser request finished","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/public/img/icons/unicons/github.svg"} {"level":"debug","message":"Waiting for dashboard/panel to load","timeout":"60s"} {"level":"debug","message":"Setting zoom level","zoomLevel":1} {"filePath":"/tmp/58f5bb1f.png","level":"debug","message":"Taking screenshot"} {"file":"/tmp/58f5bb1f.png","level":"debug","message":"Deleting temporary file"} {"level":"debug","message":"::ffff:127.0.0.1 - - [16/Oct/2023:07:33:38 +0000] \"GET /render?deviceScaleFactor=1.000000&domain=localhost&encoding=&height=500&renderKey=LUxPUCf1d6Ft5jCGgecye5nuK7DvD5IP&timeout=60&timezone=Asia%2FCalcutta&url=http%3A%2F%2Flocalhost%3A3000%2Fd-solo%2FL7BdzGh4z%2Fapp-versions%3ForgId%3D1%26refresh%3D5s%26from%3D1697438015780%26to%3D1697441615781%26panelId%3D5%26width%3D1000%26height%3D500%26tz%3DAsia%252FCalcutta%26render%3D1&width=1000 HTTP/1.1\" 200 62351 \"-\" \"Grafana/10.1.2\"\n"} {"level":"debug","message":"Connection closed","url":"http://localhost:3000/d-solo/L7BdzGh4z/app-versions?orgId=1&refresh=5s&from=1697438015780&to=1697441615781&panelId=5&width=1000&height=500&tz=Asia%2FCalcutta&render=1"} |
Thanks! This is surprising to have nothing more in the Grafana server logs but it looks like an authentication issue (the grafana-image-renderer can't login to Grafana when taking the screenshot). Sorry for the back and forth but could you also enable debug logging on the Grafana server (GF_LOG_LEVEL = debug) and share these logs? Also, after getting the logs with the current configuration, could you try enabling JWT authentication for the rendering feature (GF_FEATURE_TOGGLES = renderAuthJWT)? This a new feature (still in public preview) and this would make the rendering work if there is anything wrong in the remote cache configuration. |
Logs after enabling debug logs in grafana:
and from image-renderer: {"level":"debug","message":"Render request received","url":"http://localhost:3000/d-solo/L7BdzGh4z/app-versions?orgId=1&refresh=5s&from=1697442694384&to=1697446294384&panelId=14&width=1000&height=500&tz=Asia%2FCalcutta&render=1"}
[1016/085140.246932:ERROR:zygote_host_impl_linux.cc(273)] Failed to adjust OOM score of renderer with pid 119: Permission denied (13)
{"deviceScaleFactor":1,"height":"500","level":"debug","message":"Setting viewport for page","width":"1000"}
{"domain":"localhost","level":"debug","message":"Setting cookie for page","renderKey":"eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJSZW5kZXJVc2VyIjp7Im9yZ19pZCI6MSwidXNlcl9pZCI6Miwib3JnX3JvbGUiOiJBZG1pbiJ9LCJleHAiOjE2OTc0NDY2MDB9.SKlILocddAq7T_2koyko7WkIJkL26xAPsuxDRp4Oog_6b-_F7-YfmbbaXwil_SGv2wcvdyicK4MJxEt0HKEAWg"}
{"level":"debug","message":"Moving mouse on page","x":1000,"y":500}
{"level":"debug","message":"Navigating and waiting for all network requests to finish","url":"http://localhost:3000/d-solo/L7BdzGh4z/app-versions?orgId=1&refresh=5s&from=1697442694384&to=1697446294384&panelId=14&width=1000&height=500&tz=Asia%2FCalcutta&render=1"}
{"level":"debug","message":"Browser request","method":"GET","url":"http://localhost:3000/d-solo/L7BdzGh4z/app-versions?orgId=1&refresh=5s&from=1697442694384&to=1697446294384&panelId=14&width=1000&height=500&tz=Asia%2FCalcutta&render=1"}
{"level":"debug","message":"Browser request finished","method":"GET","url":"http://localhost:3000/d-solo/L7BdzGh4z/app-versions?orgId=1&refresh=5s&from=1697442694384&to=1697446294384&panelId=14&width=1000&height=500&tz=Asia%2FCalcutta&render=1"}
{"level":"debug","message":"Browser request","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/d-solo/L7BdzGh4z/app-versions?orgId=1&refresh=5s&from=1697442694384&to=1697446294384&panelId=14&width=1000&height=500&tz=Asia%2FCalcutta&render=1"}
{"level":"debug","message":"Browser request finished","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/d-solo/L7BdzGh4z/app-versions?orgId=1&refresh=5s&from=1697442694384&to=1697446294384&panelId=14&width=1000&height=500&tz=Asia%2FCalcutta&render=1"}
{"level":"debug","message":"Browser request","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/login"}
{"level":"debug","message":"Browser request","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/public/build/grafana.dark.886efb710af4d17a895d.css"}
{"level":"debug","message":"Browser request","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/public/build/runtime.7e82923cb533bc3576d2.js"}
{"level":"debug","message":"Browser request","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/public/build/147.73fef960675c84aa9a84.js"}
{"level":"debug","message":"Browser request","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/public/build/1486.9f5c58b5413b0650af69.js"}
{"level":"debug","message":"Browser request","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/public/build/1537.caf8c5d1430033307ef5.js"}
{"level":"debug","message":"Browser request","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/public/build/226.6820fd439963e5465b6a.js"}
{"level":"debug","message":"Browser request","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/public/build/app.5134ec4fafe46667d3cf.js"}
{"level":"debug","message":"Browser request finished","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/login"}
{"level":"debug","message":"Browser request finished","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/public/build/grafana.dark.886efb710af4d17a895d.css"}
{"level":"debug","message":"Browser request finished","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/public/build/runtime.7e82923cb533bc3576d2.js"}
{"level":"debug","message":"Browser request finished","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/public/build/1537.caf8c5d1430033307ef5.js"}
{"level":"debug","message":"Browser request","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/public/img/grafana_icon.svg"}
{"level":"debug","message":"Browser request","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/public/fonts/inter/UcC73FwrK3iLTeHuS_fvQtMwCp50KnMa1ZL7.woff2"}
{"level":"debug","message":"Browser request finished","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/public/build/147.73fef960675c84aa9a84.js"}
{"level":"debug","message":"Browser request finished","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/public/build/app.5134ec4fafe46667d3cf.js"}
{"level":"debug","message":"Browser request finished","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/public/img/grafana_icon.svg"}
{"level":"debug","message":"Browser request finished","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/public/fonts/inter/UcC73FwrK3iLTeHuS_fvQtMwCp50KnMa1ZL7.woff2"}
{"level":"debug","message":"Browser request finished","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/public/build/226.6820fd439963e5465b6a.js"}
{"level":"debug","message":"Browser request finished","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/public/build/1486.9f5c58b5413b0650af69.js"}
{"level":"debug","message":"Browser request","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/public/build/7424.afad9d5bcb701f31d890.js"}
{"level":"debug","message":"Browser request","method":"GET","url":"blob:https://eu-metrics-monitoring.livepeer.monster/7da67e69-1be8-456c-be0a-5c32762869b4"}
{"level":"debug","message":"Browser request finished","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/public/build/7424.afad9d5bcb701f31d890.js"}
{"level":"debug","message":"Browser request finished","method":"GET","url":"blob:https://eu-metrics-monitoring.livepeer.monster/7da67e69-1be8-456c-be0a-5c32762869b4"}
{"level":"debug","message":"Browser request","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/public/build/1189.846540cbca3eb55c18a1.js"}
{"level":"debug","message":"Browser request","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/public/build/8695.c23c9961ab344f38b174.js"}
{"level":"debug","message":"Browser request","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/public/build/3633.acef4a1394f4c10cf087.js"}
{"level":"debug","message":"Browser request","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/public/build/AngularApp.cd93fabea0d7a3dbc811.js"}
{"level":"debug","message":"Browser request finished","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/public/build/AngularApp.cd93fabea0d7a3dbc811.js"}
{"level":"debug","message":"Browser request finished","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/public/build/8695.c23c9961ab344f38b174.js"}
{"level":"debug","message":"Browser request finished","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/public/build/3633.acef4a1394f4c10cf087.js"}
{"level":"debug","message":"Browser request finished","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/public/build/1189.846540cbca3eb55c18a1.js"}
{"level":"debug","line":224,"message":"Browser console warning","msg":"The keyword 'inner-spin-button' specified to an 'appearance' property is not standardized. It will be removed in the future.","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/public/build/1486.9f5c58b5413b0650af69.js"}
{"level":"debug","message":"Browser request","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/public/img/g8_login_dark.svg"}
{"level":"debug","message":"Browser request","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/public/img/icons/unicons/google.svg"}
{"level":"debug","message":"Browser request","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/public/img/icons/unicons/github.svg"}
{"level":"debug","message":"Browser request finished","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/public/img/g8_login_dark.svg"}
{"level":"debug","message":"Browser request finished","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/public/img/icons/unicons/google.svg"}
{"level":"debug","message":"Browser request finished","method":"GET","url":"https://eu-metrics-monitoring.livepeer.monster/grafana/public/img/icons/unicons/github.svg"}
{"level":"debug","message":"Waiting for dashboard/panel to load","timeout":"60s"}
{"level":"debug","message":"Setting zoom level","zoomLevel":1}
{"filePath":"/tmp/f75fa494.png","level":"debug","message":"Taking screenshot"}
{"file":"/tmp/f75fa494.png","level":"debug","message":"Deleting temporary file"}
{"level":"debug","message":"::ffff:127.0.0.1 - - [16/Oct/2023:08:51:41 +0000] \"GET /render?deviceScaleFactor=1.000000&domain=localhost&encoding=&height=500&renderKey=eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJSZW5kZXJVc2VyIjp7Im9yZ19pZCI6MSwidXNlcl9pZCI6Miwib3JnX3JvbGUiOiJBZG1pbiJ9LCJleHAiOjE2OTc0NDY2MDB9.SKlILocddAq7T_2koyko7WkIJkL26xAPsuxDRp4Oog_6b-_F7-YfmbbaXwil_SGv2wcvdyicK4MJxEt0HKEAWg&timeout=60&timezone=Asia%2FCalcutta&url=http%3A%2F%2Flocalhost%3A3000%2Fd-solo%2FL7BdzGh4z%2Fapp-versions%3ForgId%3D1%26refresh%3D5s%26from%3D1697442694384%26to%3D1697446294384%26panelId%3D14%26width%3D1000%26height%3D500%26tz%3DAsia%252FCalcutta%26render%3D1&width=1000 HTTP/1.1\" 200 64828 \"-\" \"Grafana/10.1.2\"\n"}
{"level":"debug","message":"Connection closed","url":"http://localhost:3000/d-solo/L7BdzGh4z/app-versions?orgId=1&refresh=5s&from=1697442694384&to=1697446294384&panelId=14&width=1000&height=500&tz=Asia%2FCalcutta&render=1"} |
Enabled feature toggles now: GF_FEATURE_TOGGLES_ENABLE: panelTitleSearch topnav lokiDataframeApi accessTokenExpirationCheck dataConnectionsConsole autoMigrateOldPanels publicDashboards correlations autoMigrateOldPanels nestedFolders live-service-web-worker lokiLive canvasPanelNesting traceToMetrics scenes renderAuthJWT |
Hi, did the feature toggle change anything? This is really weird that the logs on the Grafana server side indicate nothing going wrong. |
hey, no! the logs provided above were from after both |
Sorry as there is nothing indicating something going wrong in the logs and I can't reproduce this locally, I don't know how to help. I think it's related to your configuration though as nobody else has reported this issue. Can you maybe share your whole setup configuration so I can try to reproduce? |
Hi! Adding another data point as we're seeing the very same issue and logs after upgrading Grafana from grafana.ini:
users:
viewers_can_edit: true
auto_assign_org_role: Viewer
database:
# Host, database and credentials defined using a secret
type: "postgres"
server:
domain: "grafana.example.com"
root_url: "https://%(domain)s/grafana"
protocol: "http"
serve_from_sub_path: true
auth.okta:
name: Okta
enabled: true
allow_sign_up: true
skip_org_role_sync: true
client_id: ""
scopes: ""
auth_url: ""
token_url: ""
api_url: ""
imageRenderer:
enabled: true
image:
tag: 3.8.4 A peculiarity I noticed was that the link that the |
Dear @AgnesToulet , I met similar issue, got the login pic file using curl cmd to download pic. See here to learn details and reproduce grafana/grafana#84797 |
@AgnesToulet May I know if we have any progres/plan on it? thanks in advance. |
i think i've figured out the cause. it seems that when grafana is deployed behind a reverse proxy, with the value of GF_RENDERING_CALLBACK_URL: http://localhost:3000/ the 302 redirect is missing |
In the Helm chart, the above translates to setting the following value, which fixed the issue for me. Thank you, @hjpotter92! imageRenderer:
grafanaSubPath: grafana # must match grafana.ini.server.root_url |
my case is casued by my own customized code, which has some conflicts on 10.x/11.0. |
I can confirm that there is an issue with login screen shown in the following situation:
Changing the Using Grafana v11.2.0 and Grafana image render 3.11.5. |
What happened:
After bumping our grafana-image-renderer deployment (in kubernetes); the images rendered are of the login screen only:
What you expected to happen:
Expecting the charts to be rendered instead
How to reproduce it (as minimally and precisely as possible):
not sure. we had given up on image renderer working since feb. and were surprised to see the rendering happen at all with the recent 3.8.2 bump.
Anything else we need to know?:
env vars. configured for grafana:
and env vars. for grafana-image-renderer container (on same pod as grafana; hence localhost callback url):
the values for
AUTH_TOKEN
andGF_RENDERING_RENDERER_TOKEN
is the same, generated through a service account with viewer role:Environment:
grafana/grafana-image-renderer:3.8.2
The text was updated successfully, but these errors were encountered: