Hello,
I am working with the plugin to generate reports from opendistro 1.12.0.0, it seems to work fine until I click on download and this generates a 500 error with the following message:
TimeoutError: waiting for selector \ ". VisEditor__content " failed: timeout 60000ms exceeded \ n at new WaitTask.
Also trying to download the report from the api using the following resources:
GET http: // host: 5601 / api / reporting / generateReport / jqMsyHkBpPJLJaVCtHD8? Timezone = Europe% 2FMadrid
I get the error:
{
âstatusCodeâ: 500,
âerrorâ: âInternal Server Errorâ,
âmessageâ: "waiting for selector ". visEditor__content \ âfailed: timeout 60000ms exceededâ
}
If I use the POST resource
http://10.140.88.72:5601/api/reporting/generateReport
with the body:
{
âquery_urlâ: "/app/visualize#/edit/81aaea80-c1dc-11eb-978e-ebc3474004c6?_g=(time:(from:â2021-05-29T22:00:07.180Zâ,to:'2021-06 -01T15: 24: 03.707Z ')) ",
âtime_fromâ: 1622325607180,
âtime_toâ: 1622561043707,
âlast_updatedâ: 1622561043707,
âtime_createdâ: 1622561043707,
âstateâ: âCreatedâ,
âreport_definitionâ: {
âreport_paramsâ: {
âreport_nameâ: âfirecrackerâ,
âreport_sourceâ: âVisualizationâ,
âdescriptionâ: ââ,
âcore_paramsâ: {
âbase_urlâ: â/ app / visualize # / edit / 81aaea80-c1dc-11eb-978e-ebc3474004c6â,
âreport_formatâ: âpdfâ,
âheaderâ: ââ,
âfooterâ: ââ,
âtime_durationâ: âPT65H23M56.527Sâ,
âoriginâ: âhttp: // host: 5601â,
âwindow_widthâ: 1600,
âwindow_heightâ: 800
}
}
}
}
I get the error:
{
âstatusCodeâ: 400,
âerrorâ: âBad Requestâ,
âmessageâ: â[report_definition.report_params.core_params.origin]: expected value of type [string] but got [undefined].â
}
As additional information, I am using the readonlyrest security plugin.
Do you know why this is happening to me?
Thank you very much and greetings