Kibana Reporting - There was an error generating this report

Hello,

I have ELK - 7.10.2 - OSS version and standalone opendistro plugins. I have an issue with reporting plugin. Whenever, I try download report, it always gives error “Error Downloading Report”. Reports contains PNG of dashboard.

Also, I found following logs in kibana log file.

{"type":"log","@timestamp":"2021-09-15T08:23:41Z","tags":["error","plugins","opendistroReportsKibana"],"pid":31335,"message":"Failed to generate report: TimeoutError: waiting for selector \"#dashboardViewport\" failed: timeout 60000ms exceeded"}
{"type":"log","@timestamp":"2021-09-15T08:23:41Z","tags":["error","plugins","opendistroReportsKibana"],"pid":31335,"message":"{ TimeoutError: waiting for selector \"#dashboardViewport\" failed: timeout 60000ms exceeded\n    at new WaitTask (/app/program/kibana-7.10.2/plugins/opendistroReportsKibana/node_modules/puppeteer-core/lib/DOMWorld.js:549:28)\n    at DOMWorld._waitForSelectorOrXPath (/app/program/kibana-7.10.2/plugins/opendistroReportsKibana/node_modules/puppeteer-core/lib/DOMWorld.js:478:22)\n    at DOMWorld.waitForSelector (/app/program/kibana-7.10.2/plugins/opendistroReportsKibana/node_modules/puppeteer-core/lib/DOMWorld.js:432:17)\n    at Frame.waitForSelector (/app/program/kibana-7.10.2/plugins/opendistroReportsKibana/node_modules/puppeteer-core/lib/FrameManager.js:627:47)\n    at Frame.<anonymous> (/app/program/kibana-7.10.2/plugins/opendistroReportsKibana/node_modules/puppeteer-core/lib/helper.js:112:23)\n    at Page.waitForSelector (/app/program/kibana-7.10.2/plugins/opendistroReportsKibana/node_modules/puppeteer-core/lib/Page.js:1095:29)\n    at createVisualReport (/app/program/kibana-7.10.2/plugins/opendistroReportsKibana/server/routes/utils/visual_report/visualReportHelper.ts:129:18) name: 'TimeoutError' }"}

How can I download reports ? My dashboard has only one chart

The Open Distro Reporting docs have some tips on this:

1 Like