[Reporting] Generate PNG for only one visualization from a dashboard

Hi,

I'm trying to generate a PNG for only one visualization from a dashboard, but i'm getting the same error :

TimeoutError: waiting for selector "[data-test-subj="euiToastHeader"]" failed: timeout 30000ms exceeded

The payload is :

curl -X POST
'https://mykibana/kibana-reporting/api/reporting/generate/png?jobParams=(browserTimezone:Europe/Berlin,layout:(dimensions:(height:1185.3499755859375,width:2380),id:preserve_layout),objectType:dashboard,relativeUrl:'%2Fapp%2Fkibana%23%2Fdashboard%2Fb9546e10-bdb1-11e9-a91e-9bfd1e406bc1%3F_g%3D(refreshInterval%3A(pause%3A!!t%2Cvalue%3A10000)%2Ctime%3A(from%3Anow-12y%2Cmode%3Arelative%2Cto%3Anow))%26_a%3D(description%3A!'!'%2Cfilters%3A!!()%2CfullScreenMode%3A!!f%2Coptions%3A(darkTheme%3A!!f%2ChidePanelTitles%3A!!f%2CuseMargins%3A!!t)%2Cpanels%3A(embeddableConfig%3A()%2CgridData%3A(h%3A15%2Ci%3A!'1!'%2Cw%3A24%2Cx%3A0%2Cy%3A0)%2Cid%3A!'49ad5c90-be9a-11e9-a91e-9bfd1e406bc1!'%2CpanelIndex%3A!'1!'%2Ctype%3Avisualization%2Cversion%3A!'6.6.0!')%2Cquery%3A(language%3Alucene%2Cquery%3A!'!')%2CtimeRestore%3A!!t%2Ctitle%3A!'Test%20Dashboard!'%2CviewMode%3Aview)',title:'Test%20Dashboard')'
-H 'kbn-version: 6.6.0'

This appears to have been a known issue with older Kibana versions. Some folks have had luck with setting a longer reporting timeout (e.g. xpack.reporting.queue.timeout: 120000). But that may not always work.

If possible, you may try upgrading to 6.8. There was a change to the timeouts that should have resolved this.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.