Reporting pdf generation error

Hi - I am trying to generate a pdf report from Kibana7 and I am on Centos7.

Error I am getting is -

Unable to generate report
Error: Error spawning Chromium browser: Error: socket hang up

From kibana logs:

{"type":"error","@timestamp":"2019-10-21T18:19:55Z","tags":["warning","process"],"pid":2216,"level":"error","error":{"message":"Error: socket hang up\n    at createHangUpError (_http_client.js:323:15)\n    at Socket.socketOnEnd (_http_client.js:426:23)\n    at Socket.emit (events.js:194:15)\n    at endReadableNT (_stream_readable.js:1103:12)\n    at process._tickCallback (internal/process/next_tick.js:63:19)","name":"UnhandledPromiseRejectionWarning","stack":"UnhandledPromiseRejectionWarning: Error: socket hang up\n    at createHangUpError (_http_client.js:323:15)\n    at Socket.socketOnEnd (_http_client.js:426:23)\n    at Socket.emit (events.js:194:15)\n    at endReadableNT (_stream_readable.js:1103:12)\n    at process._tickCallback (internal/process/next_tick.js:63:19)\n    at emitWarning (internal/process/promises.js:81:15)\n    at emitPromiseRejectionWarnings (internal/process/promises.js:120:9)\n    at process._tickCallback (internal/process/next_tick.js:69:34)"},"message":"Error: socket hang up\n    at createHangUpError (_http_client.js:323:15)\n    at Socket.socketOnEnd (_http_client.js:426:23)\n    at Socket.emit (events.js:194:15)\n    at endReadableNT (_stream_readable.js:1103:12)\n    at process._tickCallback (internal/process/next_tick.js:63:19)"}
{"type":"error","@timestamp":"2019-10-21T18:19:55Z","tags":["warning","process"],"pid":2216,"level":"error","error":{"message":"Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 159641)","name":"UnhandledPromiseRejectionWarning","stack":"Error: socket hang up\n    at createHangUpError (_http_client.js:323:15)\n    at Socket.socketOnEnd (_http_client.js:426:23)\n    at Socket.emit (events.js:194:15)\n    at endReadableNT (_stream_readable.js:1103:12)\n    at process._tickCallback (internal/process/next_tick.js:63:19)"},"message":"Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 159641)"}

Hi @sushmamagesh, unfortunately reporting errors aren't great at the moment. Kibana 7.5 will be released soon and contains a fix to improve these messages. Until then, there is a troubleshooting guide in the docs you can look at. If you search that page for "CentOS" you'll find some info on dependencies that may be missing in your current installation.

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