Hi guys , i’m facing a problem downloading reports using the reporting plugin , when i click on dowloand(PDF or PNG) it generates this error , [opendistroReportsKibana][plugins] Error: Failed to launch chrome! spawn C:\Elastic\kibana-7.10.0\kibana-7.10.0\plugins\opendistroReportsKibana\server\routes\utils/../../../.chromium/headless_shell ENOENT
Any idea what’s wrong ?
PS : i’m using the admin user
@CyberGod i’ve put the chromium artifacts in the reporting plugin folder ad i manged to bypass that error and now it gives me this error :
log [11:44:04.935] [info][opendistroReportsKibana][plugins] domain enables security, use session cookie to access
log [11:44:04.954] [info][opendistroReportsKibana][plugins] original queryUrl http://localhost:5601/app/dashboards#/view/7adfa750-4c81-11e8-b3d7-01146121b73d?_g=(time:(from:‘2018-01-03T13:43:53.641Z’,to:‘2021-02-05T11:44:04.302Z’))
log [11:44:06.986] [error][opendistroReportsKibana][plugins] Failed to generate report from reportDefinition id dc8alXYBE6qZdmOasM6g : Error: net::ERR_CONNECTION_REFUSED at http://localhost:5601/app/dashboards#/view/7adfa750-4c81-11e8-b3d7-01146121b73d?_g=(time:(from:‘2018-01-03T13:43:53.641Z’,to:‘2021-02-05T11:44:04.302Z’))
log [11:44:06.987] [error][opendistroReportsKibana][plugins] Error: net::ERR_CONNECTION_REFUSED at http://localhost:5601/app/dashboards#/view/7adfa750-4c81-11e8-b3d7-01146121b73d?_g=(time:(from:‘2018-01-03T13:43:53.641Z’,to:‘2021-02-05T11:44:04.302Z’))
at navigate (C:\Elastic\kibana-7.10.0\kibana-7.10.0\plugins\opendistroReportsKibana\node_modules\puppeteer-core\lib\FrameManager.js:120:37)
at process._tickCallback (internal/process/next_tick.js:68:7)
– ASYNC –
at Frame. (C:\Elastic\kibana-7.10.0\kibana-7.10.0\plugins\opendistroReportsKibana\node_modules\puppeteer-core\lib\helper.js:111:15)
at Page.goto (C:\Elastic\kibana-7.10.0\kibana-7.10.0\plugins\opendistroReportsKibana\node_modules\puppeteer-core\lib\Page.js:674:49)
at Page.goto (C:\Elastic\kibana-7.10.0\kibana-7.10.0\plugins\opendistroReportsKibana\node_modules\puppeteer-core\lib\helper.js:112:23)
at createVisualReport (C:\Elastic\kibana-7.10.0\kibana-7.10.0\plugins\opendistroReportsKibana\server\routes\utils\visual_report\visualReportHelper.ts:83:14)
at process._tickCallback (internal/process/next_tick.js:68:7)
error [11:44:04.291] Error: Internal Server Error
at HapiResponseAdapter.toError (C:\Elastic\kibana-7.10.0\kibana-7.10.0\src\core\server\http\router\response_adapter.js:132:19)
at HapiResponseAdapter.toHapiResponse (C:\Elastic\kibana-7.10.0\kibana-7.10.0\src\core\server\http\router\response_adapter.js:86:19)
at HapiResponseAdapter.handle (C:\Elastic\kibana-7.10.0\kibana-7.10.0\src\core\server\http\router\response_adapter.js:81:17)
at Router.handle (C:\Elastic\kibana-7.10.0\kibana-7.10.0\src\core\server\http\router\router.js:164:34)
at process._tickCallback (internal/process/next_tick.js:68:7)
i think it’s due to the fact i changed the server host to my ip address in the kibana.conf but the plugin is pointing on localhost and not the ip address