Kibana Report issu

HI team,

I have upgrade the Kibana into latest version to check to kibana report plugin . When i try to download I am getting 500 internal server error.

Below is the error details
core.entry.js:6 GET https://nodename.com/api/reporting/generateReport/UEtV-3YB8OAt_0U5Vfwe?timezone=Asia%2FCalcutta 500 (Internal Server Error)
_callee3$ @ core.entry.js:6
tryCatch @ opendistroQueryWorkbenchKibana.plugin.js:1
invoke @ opendistroQueryWorkbenchKibana.plugin.js:1
forEach.prototype. @ opendistroQueryWorkbenchKibana.plugin.js:1
fetch_asyncGeneratorStep @ core.entry.js:6
_next @ core.entry.js:6
(anonymous) @ core.entry.js:6
(anonymous) @ core.entry.js:6
fetchResponse @ core.entry.js:6
_callee$ @ core.entry.js:6
tryCatch @ opendistroQueryWorkbenchKibana.plugin.js:1
invoke @ opendistroQueryWorkbenchKibana.plugin.js:1
forEach.prototype. @ opendistroQueryWorkbenchKibana.plugin.js:1
fetch_asyncGeneratorStep @ core.entry.js:6
_next @ core.entry.js:6
Promise.then (async)
fetch_asyncGeneratorStep @ core.entry.js:6
_next @ core.entry.js:6
(anonymous) @ core.entry.js:6
(anonymous) @ core.entry.js:6
(anonymous) @ core.entry.js:6
_callee2$ @ core.entry.js:6
tryCatch @ opendistroQueryWorkbenchKibana.plugin.js:1
invoke @ opendistroQueryWorkbenchKibana.plugin.js:1
forEach.prototype. @ opendistroQueryWorkbenchKibana.plugin.js:1
fetch_asyncGeneratorStep @ core.entry.js:6
_next @ core.entry.js:6
(anonymous) @ core.entry.js:6
(anonymous) @ core.entry.js:6
(anonymous) @ core.entry.js:6
(anonymous) @ core.entry.js:6
_callee6$ @ opendistroReportsKibana.plugin.js:1
tryCatch @ opendistroQueryWorkbenchKibana.plugin.js:1
invoke @ opendistroQueryWorkbenchKibana.plugin.js:1
forEach.prototype. @ opendistroQueryWorkbenchKibana.plugin.js:1
asyncGeneratorStep @ opendistroReportsKibana.plugin.js:1
_next @ opendistroReportsKibana.plugin.js:1
(anonymous) @ opendistroReportsKibana.plugin.js:1
(anonymous) @ opendistroReportsKibana.plugin.js:1
generateReportById @ opendistroReportsKibana.plugin.js:1
_callee$ @ opendistroReportsKibana.chunk.2.js:1
tryCatch @ opendistroQueryWorkbenchKibana.plugin.js:1
invoke @ opendistroQueryWorkbenchKibana.plugin.js:1
forEach.prototype. @ opendistroQueryWorkbenchKibana.plugin.js:1
reports_table_asyncGeneratorStep @ opendistroReportsKibana.chunk.2.js:1
_next @ opendistroReportsKibana.chunk.2.js:1
(anonymous) @ opendistroReportsKibana.chunk.2.js:1
(anonymous) @ opendistroReportsKibana.chunk.2.js:1
onDemandDownload @ opendistroReportsKibana.chunk.2.js:1
onClick @ opendistroReportsKibana.chunk.2.js:1
g @ kbn-ui-shared-deps.js:434
Show 35 more frames
opendistroReportsKibana.plugin.js:1 error on generating report by id: Error: Internal Server Error
at Fetch._callee3$ (core.entry.js:6)
at tryCatch (opendistroQueryWorkbenchKibana.plugin.js:1)
at Generator.invoke [as _invoke] (opendistroQueryWorkbenchKibana.plugin.js:1)
at Generator.

I am using the port is 5061 not the 5601 is this the issue for downloading the reports ??
Thanks
DILIP B K

Check the logs - you will find the reason for your error. And yes, reports work only on default URL (localhost:5601).

It’s related to this issue, we’ll deliver a fix in next ODFE release. Access kibana.yml from plugin to read server.host, server.port and server.basePath · Issue #98 · opendistro-for-elasticsearch/kibana-reports · GitHub

Hi, the issue is fixed recently and merged in the dev branch. Please give it try and let us know if that solves your issue.

Thanks,
Zhongnan

HI team,

Is there any specific reason that to have only limited number of dashboards to download on the reporting section ?? Because on the visualization all are there , but in the dashboard only 10 are there.

Please let me know is there any fix are planned for this ?

thanks
DILIP B K

Hi,

I didn’t get your point. Reporting doesn’t control the creation of dashboard. It just show you the dashboadrs that’s availiable to a user/tenant. Maybe some screenshots will help to clarify your issue.

HI ,

Thanks for the reply and the issue fixed in the new version