Skip to content
This repository has been archived by the owner on Apr 12, 2022. It is now read-only.

No PDF Reports since 6.5.2 #71

Open
cebor opened this issue Dec 15, 2018 · 2 comments
Open

No PDF Reports since 6.5.2 #71

cebor opened this issue Dec 15, 2018 · 2 comments

Comments

@cebor
Copy link

cebor commented Dec 15, 2018

Hello,

since 6.5.2 PDF reports timeout with the following error:

TimeoutError: waiting for selector "[data-shared-item],[data-shared-items-count]" failed: timeout 30000ms exceeded

Is disabled all services except kibana and elasticsearch in docker-compose.yml.

Docker runs on Linux.

Logs:

{"type":"response","@timestamp":"2018-12-15T08:33:38Z","tags":[],"pid":1,"method":"post","statusCode":200,"req":{"url":"/api/reporting/generate/printablePdf?jobParams=(browserTimezone%3AEurope%2FBerlin%2Clayout%3A(dimensions%3A(height%3A1268%2Cwidth%3A1228)%2Cid%3Apreserve_layout)%2CobjectType%3Adashboard%2CrelativeUrls%3A!('%2Fapp%2Fkibana%23%2Fdashboard%2F63fbdd30-f89b-11e8-b6ae-93487c46f2e0%3F_g%3D(refreshInterval%3A(pause%3A!!t%2Cvalue%3A0)%2Ctime%3A(from%3Anow-7d%2Cmode%3Aquick%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!'2be74ec0-f8d2-11e8-b6ae-93487c46f2e0!'%2CpanelIndex%3A!'1!'%2Ctype%3Avisualization%2Cversion%3A!'6.3.0!')%2C(embeddableConfig%3A()%2CgridData%3A(h%3A15%2Ci%3A!'2!'%2Cw%3A24%2Cx%3A24%2Cy%3A0)%2Cid%3A!'2e0f4260-f8d3-11e8-b6ae-93487c46f2e0!'%2CpanelIndex%3A!'2!'%2Ctype%3Avisualization%2Cversion%3A!'6.3.0!')%2C(embeddableConfig%3A()%2CgridData%3A(h%3A15%2Ci%3A!'3!'%2Cw%3A24%2Cx%3A0%2Cy%3A15)%2Cid%3Ac8d52580-f8d3-11e8-b6ae-93487c46f2e0%2CpanelIndex%3A!'3!'%2Ctype%3Avisualization%2Cversion%3A!'6.3.0!')%2C(embeddableConfig%3A()%2CgridData%3A(h%3A15%2Ci%3A!'4!'%2Cw%3A24%2Cx%3A24%2Cy%3A15)%2Cid%3Ab89c2970-f8d3-11e8-b6ae-93487c46f2e0%2CpanelIndex%3A!'4!'%2Ctype%3Avisualization%2Cversion%3A!'6.3.0!')%2C(embeddableConfig%3A()%2CgridData%3A(h%3A15%2Ci%3A!'5!'%2Cw%3A24%2Cx%3A0%2Cy%3A30)%2Cid%3A!'0d88e270-f8d4-11e8-b6ae-93487c46f2e0!'%2CpanelIndex%3A!'5!'%2Ctype%3Avisualization%2Cversion%3A!'6.3.0!'))%2Cquery%3A(language%3Alucene%2Cquery%3A!'!')%2CtimeRestore%3A!!f%2Ctitle%3A!'Testa%2BOverview!'%2CviewMode%3Aview)')%2Ctitle%3A'Testa%20Overview')","method":"post","headers":{"host":"stkn.org:5601","connection":"keep-alive","content-length":"0","origin":"http://stkn.org:5601","kbn-version":"6.5.3","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36","content-type":"application/json","accept":"*/*","referer":"http://stkn.org:5601/app/kibana","accept-encoding":"gzip, deflate","accept-language":"de,de-DE;q=0.9,en;q=0.8,en-US;q=0.7"},"remoteAddress":"192.168.48.1","userAgent":"192.168.48.1","referer":"http://stkn.org:5601/app/kibana"},"res":{"statusCode":200,"responseTime":121,"contentLength":9},"message":"POST /api/reporting/generate/printablePdf?jobParams=(browserTimezone%3AEurope%2FBerlin%2Clayout%3A(dimensions%3A(height%3A1268%2Cwidth%3A1228)%2Cid%3Apreserve_layout)%2CobjectType%3Adashboard%2CrelativeUrls%3A!('%2Fapp%2Fkibana%23%2Fdashboard%2F63fbdd30-f89b-11e8-b6ae-93487c46f2e0%3F_g%3D(refreshInterval%3A(pause%3A!!t%2Cvalue%3A0)%2Ctime%3A(from%3Anow-7d%2Cmode%3Aquick%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!'2be74ec0-f8d2-11e8-b6ae-93487c46f2e0!'%2CpanelIndex%3A!'1!'%2Ctype%3Avisualization%2Cversion%3A!'6.3.0!')%2C(embeddableConfig%3A()%2CgridData%3A(h%3A15%2Ci%3A!'2!'%2Cw%3A24%2Cx%3A24%2Cy%3A0)%2Cid%3A!'2e0f4260-f8d3-11e8-b6ae-93487c46f2e0!'%2CpanelIndex%3A!'2!'%2Ctype%3Avisualization%2Cversion%3A!'6.3.0!')%2C(embeddableConfig%3A()%2CgridData%3A(h%3A15%2Ci%3A!'3!'%2Cw%3A24%2Cx%3A0%2Cy%3A15)%2Cid%3Ac8d52580-f8d3-11e8-b6ae-93487c46f2e0%2CpanelIndex%3A!'3!'%2Ctype%3Avisualization%2Cversion%3A!'6.3.0!')%2C(embeddableConfig%3A()%2CgridData%3A(h%3A15%2Ci%3A!'4!'%2Cw%3A24%2Cx%3A24%2Cy%3A15)%2Cid%3Ab89c2970-f8d3-11e8-b6ae-93487c46f2e0%2CpanelIndex%3A!'4!'%2Ctype%3Avisualization%2Cversion%3A!'6.3.0!')%2C(embeddableConfig%3A()%2CgridData%3A(h%3A15%2Ci%3A!'5!'%2Cw%3A24%2Cx%3A0%2Cy%3A30)%2Cid%3A!'0d88e270-f8d4-11e8-b6ae-93487c46f2e0!'%2CpanelIndex%3A!'5!'%2Ctype%3Avisualization%2Cversion%3A!'6.3.0!'))%2Cquery%3A(language%3Alucene%2Cquery%3A!'!')%2CtimeRestore%3A!!f%2Ctitle%3A!'Testa%2BOverview!'%2CviewMode%3Aview)')%2Ctitle%3A'Testa%20Overview') 200 121ms - 9.0B"}
{"type":"response","@timestamp":"2018-12-15T08:33:41Z","tags":[],"pid":1,"method":"get","statusCode":200,"req":{"url":"/api/reporting/jobs/list?page=0&ids=jpp7fnkl00012ac5d34hmx78","method":"get","headers":{"host":"stkn.org:5601","connection":"keep-alive","kbn-system-api":"true","kbn-version":"6.5.3","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36","content-type":"application/json","accept":"*/*","referer":"http://stkn.org:5601/app/kibana","accept-encoding":"gzip, deflate","accept-language":"de,de-DE;q=0.9,en;q=0.8,en-US;q=0.7"},"remoteAddress":"192.168.48.1","userAgent":"192.168.48.1","referer":"http://stkn.org:5601/app/kibana"},"res":{"statusCode":200,"responseTime":80,"contentLength":9},"message":"GET /api/reporting/jobs/list?page=0&ids=jpp7fnkl00012ac5d34hmx78 200 80ms - 9.0B"}
{"type":"response","@timestamp":"2018-12-15T08:33:51Z","tags":[],"pid":1,"method":"get","statusCode":200,"req":{"url":"/api/reporting/jobs/list?page=0&ids=jpp7fnkl00012ac5d34hmx78","method":"get","headers":{"host":"stkn.org:5601","connection":"keep-alive","kbn-system-api":"true","kbn-version":"6.5.3","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36","content-type":"application/json","accept":"*/*","referer":"http://stkn.org:5601/app/kibana","accept-encoding":"gzip, deflate","accept-language":"de,de-DE;q=0.9,en;q=0.8,en-US;q=0.7"},"remoteAddress":"192.168.48.1","userAgent":"192.168.48.1","referer":"http://stkn.org:5601/app/kibana"},"res":{"statusCode":200,"responseTime":28,"contentLength":9},"message":"GET /api/reporting/jobs/list?page=0&ids=jpp7fnkl00012ac5d34hmx78 200 28ms - 9.0B"}
{"type":"response","@timestamp":"2018-12-15T08:34:01Z","tags":[],"pid":1,"method":"get","statusCode":200,"req":{"url":"/api/reporting/jobs/list?page=0&ids=jpp7fnkl00012ac5d34hmx78","method":"get","headers":{"host":"stkn.org:5601","connection":"keep-alive","kbn-system-api":"true","kbn-version":"6.5.3","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36","content-type":"application/json","accept":"*/*","referer":"http://stkn.org:5601/app/kibana","accept-encoding":"gzip, deflate","accept-language":"de,de-DE;q=0.9,en;q=0.8,en-US;q=0.7"},"remoteAddress":"192.168.48.1","userAgent":"192.168.48.1","referer":"http://stkn.org:5601/app/kibana"},"res":{"statusCode":200,"responseTime":29,"contentLength":9},"message":"GET /api/reporting/jobs/list?page=0&ids=jpp7fnkl00012ac5d34hmx78 200 29ms - 9.0B"}
{"type":"response","@timestamp":"2018-12-15T08:34:11Z","tags":[],"pid":1,"method":"get","statusCode":200,"req":{"url":"/api/reporting/jobs/list?page=0&ids=jpp7fnkl00012ac5d34hmx78","method":"get","headers":{"host":"stkn.org:5601","connection":"keep-alive","kbn-system-api":"true","kbn-version":"6.5.3","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36","content-type":"application/json","accept":"*/*","referer":"http://stkn.org:5601/app/kibana","accept-encoding":"gzip, deflate","accept-language":"de,de-DE;q=0.9,en;q=0.8,en-US;q=0.7"},"remoteAddress":"192.168.48.1","userAgent":"192.168.48.1","referer":"http://stkn.org:5601/app/kibana"},"res":{"statusCode":200,"responseTime":26,"contentLength":9},"message":"GET /api/reporting/jobs/list?page=0&ids=jpp7fnkl00012ac5d34hmx78 200 26ms - 9.0B"}
{"type":"response","@timestamp":"2018-12-15T08:34:21Z","tags":[],"pid":1,"method":"get","statusCode":200,"req":{"url":"/api/reporting/jobs/list?page=0&ids=jpp7fnkl00012ac5d34hmx78","method":"get","headers":{"host":"stkn.org:5601","connection":"keep-alive","kbn-system-api":"true","kbn-version":"6.5.3","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36","content-type":"application/json","accept":"*/*","referer":"http://stkn.org:5601/app/kibana","accept-encoding":"gzip, deflate","accept-language":"de,de-DE;q=0.9,en;q=0.8,en-US;q=0.7"},"remoteAddress":"192.168.48.1","userAgent":"192.168.48.1","referer":"http://stkn.org:5601/app/kibana"},"res":{"statusCode":200,"responseTime":34,"contentLength":9},"message":"GET /api/reporting/jobs/list?page=0&ids=jpp7fnkl00012ac5d34hmx78 200 34ms - 9.0B"}
{"type":"response","@timestamp":"2018-12-15T08:34:22Z","tags":[],"pid":1,"method":"get","statusCode":200,"req":{"url":"/api/reporting/jobs/output/jpp7fnkl00012ac5d34hmx78","method":"get","headers":{"host":"stkn.org:5601","connection":"keep-alive","kbn-system-api":"true","kbn-version":"6.5.3","user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36","content-type":"application/json","accept":"*/*","referer":"http://stkn.org:5601/app/kibana","accept-encoding":"gzip, deflate","accept-language":"de,de-DE;q=0.9,en;q=0.8,en-US;q=0.7"},"remoteAddress":"192.168.48.1","userAgent":"192.168.48.1","referer":"http://stkn.org:5601/app/kibana"},"res":{"statusCode":200,"responseTime":31,"contentLength":9},"message":"GET /api/reporting/jobs/output/jpp7fnkl00012ac5d34hmx78 200 31ms - 9.0B"}
@fxdgear
Copy link
Contributor

fxdgear commented Jan 14, 2019

@cebor Thanks for the issue. I'm curious if this is an issue with elasticsearch/kibana and not stack-docker.

Unfortunately I'm going to need a bit more information from the logs to understand what's going on here.

your first error, where is that being displayed? In kibana itself?
the second logs, that looks like kibana logs. Can you show me the logs from Elasticsearch?

Thanks

@cebor
Copy link
Author

cebor commented Jan 15, 2019

@fxdgear

Yes, first erros shows up in kibana admin itself in the report section.
Second are logs printed to stdout by kibana docker container.

es does not produce any logs when generating a pdf report.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants