# Reporting\_Plugin error when generating reports

**URL:** <https://forum.opensearch.org/t/reporting-plugin-error-when-generating-reports/4609>\
**Category:** Reporting Plugin\
**Created:** [January 18, 2021, 12:25pm UTC](https://forum.opensearch.org/t/reporting-plugin-error-when-generating-reports/4609 "2021-01-18T12:25:28Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![HeiDri](https://avatars.discourse-cdn.com/v4/letter/h/7ba0ec/32.png) [@HeiDri](https://forum.opensearch.org/u/HeiDri)\
**Post date:** [January 18, 2021, 12:25pm UTC](https://forum.opensearch.org/t/reporting-plugin-error-when-generating-reports/4609/1 "2021-01-18T12:25:28Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![CyberGod](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/cybergod/32/617_2.png) [@CyberGod](https://forum.opensearch.org/u/CyberGod)\
**Post date:** [February 3, 2021, 6:27pm UTC](https://forum.opensearch.org/t/reporting-plugin-error-when-generating-reports/4609/2 "2021-02-03T18:27:39Z")

</div>

Hi it seems you are on windows, and chromium failed to launch, are you using the headless Chrome Windows artifacts that we released for reporting? You can find it here [Release headless-chrome dependencies for puppeteer-core version 1.19.0 · opendistro-for-elasticsearch/kibana-reports · GitHub](https://github.com/opendistro-for-elasticsearch/kibana-reports/releases/tag/chromium-1.12.0.0)

---

<div class="post-metadata">

**Author:** ![HeiDri](https://avatars.discourse-cdn.com/v4/letter/h/7ba0ec/32.png) [@HeiDri](https://forum.opensearch.org/u/HeiDri)\
**Post date:** [February 5, 2021, 10:05am UTC](https://forum.opensearch.org/t/reporting-plugin-error-when-generating-reports/4609/3 "2021-02-05T10:05:53Z")

</div>

hi @CyberGod thanks for the reply ,just a silly question where should i put those artifacts?

---

<div class="post-metadata">

**Author:** ![HeiDri](https://avatars.discourse-cdn.com/v4/letter/h/7ba0ec/32.png) [@HeiDri](https://forum.opensearch.org/u/HeiDri)\
**Post date:** [February 5, 2021, 11:46am UTC](https://forum.opensearch.org/t/reporting-plugin-error-when-generating-reports/4609/4 "2021-02-05T11:46:16Z")

</div>

@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’)](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’)](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’)](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

---

<div class="post-metadata">

**Author:** ![CyberGod](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/cybergod/32/617_2.png) [@CyberGod](https://forum.opensearch.org/u/CyberGod)\
**Post date:** [February 5, 2021, 5:48pm UTC](https://forum.opensearch.org/t/reporting-plugin-error-when-generating-reports/4609/5 "2021-02-05T17:48:11Z")

</div>

> [@HeiDri](#):
>
> net::ERR\_CONNECTION\_REFUSED at

No question is silly, we love to hear feedback from people who are using our products!  
You are right about the error you got. It’s actually related to this issue on github. [Access kibana.yml from plugin to read server.host, server.port and server.basePath · Issue #98 · opendistro-for-elasticsearch/kibana-reports · GitHub](https://github.com/opendistro-for-elasticsearch/kibana-reports/issues/98)

We just delivered a fix to the `dev` branch. Please take a look

---

<div class="post-metadata">

**Author:** ![HeiDri](https://avatars.discourse-cdn.com/v4/letter/h/7ba0ec/32.png) [@HeiDri](https://forum.opensearch.org/u/HeiDri)\
**Post date:** [February 6, 2021, 7:25pm UTC](https://forum.opensearch.org/t/reporting-plugin-error-when-generating-reports/4609/6 "2021-02-06T19:25:29Z")

</div>

thanks for the reply , glad to hear that a fix has been delivered , btw i managed to bypass that by putting 0.0.0.0 in my server host.
