You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What happened:
I have configured icingaweb2 to show grafana dashboards inplace to have a nice overview incinga. But when I open a page which should show grafana graphs I get an errormessage which says: "Cannot fetch graph with curl: Operation timed out after 5001 milliseconds with 0 bytes received. When I click on the link the grafana webpage opens and shows the expected graph just fine!
The grafana environment is running as docker containers in a docker swarm. the definition is like that:
{"level":"info","message":"HTTP Server started, listening at http://localhost:8081"},
{"msg":"WebSocket connection to 'wss://grafana_grafana:3000/api/live/ws' failed: HTTP Authentication failed; no valid credentials available","url":"https://grafana_grafana:3000/public/build/vendors~app.7f5a241f55df4a1c66ae.js","line":1,"level":"error","message":"Browser console error"},
{"msg":"Failed to load resource: the server responded with a status of 401 ()","url":"https://grafana_grafana:3000/api/dashboards/uid/ZK27sqXmz","level":"error","message":"Browser console error"},
{"msg":"Failed to load resource: the server responded with a status of 401 ()","url":"https://grafana_grafana:3000/api/login/ping","level":"error","message":"Browser console error"},
{"url":"https://grafana_grafana:3000/public/build/grafanaPlugin.7f5a241f55df4a1c66ae.js","method":"GET","failure":"net::ERR_ABORTED","level":"error","message":"Browser request failed"},
{"msg":"Failed to load resource: the server responded with a status of 401 ()","url":"https://grafana_grafana:3000/d-solo/ZK27sqXmz/icinga2-default?var-hostname=mon01.mydomain&var-service=hostalive&var-command=hostalive&panelId=1&orgId=1&width=640&height=280&theme=light&from=now-6h&to=now&render=1","level":"error","message":"Browser console error"},
{"url":"/render?deviceScaleFactor=1.000000&domain=grafana_grafana&encoding=&height=280&renderKey=4w1c1YCO6uDfxF30gZrPEWyBdL8QJN9v&timeout=60&timezone=&url=https%3A%2F%2Fgrafana_grafana%3A3000%2Fd-solo%2FZK27sqXmz%2Ficinga2-default%3Fvar-hostname%3Dmon01.mydomain%26var-service%3Dhostalive%26var-command%3Dhostalive%26panelId%3D1%26orgId%3D1%26width%3D640%26height%3D280%26theme%3Dlight%26from%3Dnow-6h%26to%3Dnow%26render%3D1&width=640","stack":"TimeoutError: waiting for function failed: timeout 60000ms exceeded\n at new WaitTask (/usr/src/app/node_modules/puppeteer/lib/DOMWorld.js:388:34)\n at DOMWorld.waitForFunction (/usr/src/app/node_modules/puppeteer/lib/DOMWorld.js:303:16)\n at Frame.waitForFunction (/usr/src/app/node_modules/puppeteer/lib/FrameManager.js:402:32)\n at Page.waitForFunction (/usr/src/app/node_modules/puppeteer/lib/Page.js:805:33)\n at Browser.<anonymous> (/usr/src/app/build/browser/browser.js:195:24)\n at Generator.next (<anonymous>)\n at fulfilled (/usr/src/app/build/browser/browser.js:5:58)\n at processTicksAndRejections (internal/process/task_queues.js:95:5)","level":"error","message":"Request failed"},
{"msg":"WebSocket connection to 'wss://grafana_grafana:3000/api/live/ws' failed: HTTP Authentication failed; no valid credentials available","url":"https://grafana_grafana:3000/public/build/vendors~app.7f5a241f55df4a1c66ae.js","line":1,"level":"error","message":"Browser console error"},
{"msg":"Failed to load resource: the server responded with a status of 401 ()","url":"https://grafana_grafana:3000/api/dashboards/uid/ZK27sqXmz","level":"error","message":"Browser console error"},
{"msg":"Failed to load resource: the server responded with a status of 401 ()","url":"https://grafana_grafana:3000/api/login/ping","level":"error","message":"Browser console error"},
{"url":"https://grafana_grafana:3000/public/build/grafanaPlugin.7f5a241f55df4a1c66ae.js","method":"GET","failure":"net::ERR_ABORTED","level":"error","message":"Browser request failed"},
{"msg":"Failed to load resource: the server responded with a status of 401 ()","url":"https://grafana_grafana:3000/d-solo/ZK27sqXmz/icinga2-default?var-hostname=mon01.mydomain&var-service=hostalive&var-command=hostalive&panelId=1&orgId=1&width=640&height=280&theme=light&from=now-6h&to=now&render=1","level":"error","message":"Browser console error"},
{"url":"/render?deviceScaleFactor=1.000000&domain=grafana_grafana&encoding=&height=280&renderKey=xBdaRNxyW6AWgoLYa2ELDErIwfTcPAGG&timeout=60&timezone=&url=https%3A%2F%2Fgrafana_grafana%3A3000%2Fd-solo%2FZK27sqXmz%2Ficinga2-default%3Fvar-hostname%3Dmon01.amydomain%26var-service%3Dhostalive%26var-command%3Dhostalive%26panelId%3D1%26orgId%3D1%26width%3D640%26height%3D280%26theme%3Dlight%26from%3Dnow-6h%26to%3Dnow%26render%3D1&width=640","stack":"TimeoutError: waiting for function failed: timeout 60000ms exceeded\n at new WaitTask (/usr/src/app/node_modules/puppeteer/lib/DOMWorld.js:388:34)\n at DOMWorld.waitForFunction (/usr/src/app/node_modules/puppeteer/lib/DOMWorld.js:303:16)\n at Frame.waitForFunction (/usr/src/app/node_modules/puppeteer/lib/FrameManager.js:402:32)\n at Page.waitForFunction (/usr/src/app/node_modules/puppeteer/lib/Page.js:805:33)\n at Browser.<anonymous> (/usr/src/app/build/browser/browser.js:195:24)\n at Generator.next (<anonymous>)\n at fulfilled (/usr/src/app/build/browser/browser.js:5:58)\n at processTicksAndRejections (internal/process/task_queues.js:95:5)","level":"error","message":"Request failed"},,
I think you need to find a way to increase the timeout on icingaweb2 because 5s can be too short for the rendering requests depending on the requests you are doing. We are looking into ways to improve performance but it's a different issue (see #124).
What happened:
I have configured icingaweb2 to show grafana dashboards inplace to have a nice overview incinga. But when I open a page which should show grafana graphs I get an errormessage which says: "Cannot fetch graph with curl: Operation timed out after 5001 milliseconds with 0 bytes received. When I click on the link the grafana webpage opens and shows the expected graph just fine!
The grafana environment is running as docker containers in a docker swarm. the definition is like that:
The containerlogs show the following:
grafana_renderer:
grafana
grafana.ini looks like this:
What you expected to happen:
I would love to see the beautyful grafana graphs to be displayed in icingaweb2
How to reproduce it (as minimally and precisely as possible):
see description above
Anything else we need to know?:
don't no. you are welcome to give me some advice which further information I can provide to help solve the issue...
Environment:
Thanks in advance!
The text was updated successfully, but these errors were encountered: