Generate PDF Report Fails

Hello,
I have checked previous posts but still cannot find a solution.
Kibana/Elastic version - 7.9.1
5 Elastic nodes
2 Kibana nodes
Platinum licenses

When I try to generate a pdf report, it fails.
I also have a standalone test env, and there the pdf function works well.

Appreciate your guidance and advise.

The errors I see in Kibana logs

{"type":"error","@timestamp":"2021-02-07T22:39:59Z","tags":["warning","process"],"pid":698,"level":"error","error":{"message":"TimeoutError: waiting for target failed: timeout 30000ms exceeded\n    at Function.waitWithTimeout (/usr/share/kibana/node_modules/puppeteer-core/lib/helper.js:215:26)\n    at Browser.waitForTarget (/usr/share/kibana/node_modules/puppeteer-core/lib/Browser.js:214:27)\n    at Browser.<anonymous> (/usr/share/kibana/node_modules/puppeteer-core/lib/helper.js:112:23)\n    at Launcher.launch (/usr/share/kibana/node_modules/puppeteer-core/lib/Launcher.js:185:21)\n    at process._tickCallback (internal/process/next_tick.js:68:7)","name":"UnhandledPromiseRejectionWarning","stack":"UnhandledPromiseRejectionWarning: TimeoutError: waiting for target failed: timeout 30000ms exceeded\n    at Function.waitWithTimeout (/usr/share/kibana/node_modules/puppeteer-core/lib/helper.js:215:26)\n    at Browser.waitForTarget (/usr/share/kibana/node_modules/puppeteer-core/lib/Browser.js:214:27)\n    at Browser.<anonymous> (/usr/share/kibana/node_modules/puppeteer-core/lib/helper.js:112:23)\n    at Launcher.launch (/usr/share/kibana/node_modules/puppeteer-core/lib/Launcher.js:185:21)\n    at process._tickCallback (internal/process/next_tick.js:68:7)\n    at emitWarning (internal/process/promises.js:97:15)\n    at emitPromiseRejectionWarnings (internal/process/promises.js:143:7)\n    at process._tickCallback (internal/process/next_tick.js:69:34)"},"message":"TimeoutError: waiting for target failed: timeout 30000ms exceeded\n    at Function.waitWithTimeout (/usr/share/kibana/node_modules/puppeteer-core/lib/helper.js:215:26)\n    at Browser.waitForTarget (/usr/share/kibana/node_modules/puppeteer-core/lib/Browser.js:214:27)\n    at Browser.<anonymous> (/usr/share/kibana/node_modules/puppeteer-core/lib/helper.js:112:23)\n    at Launcher.launch (/usr/share/kibana/node_modules/puppeteer-core/lib/Launcher.js:185:21)\n    at process._tickCallback (internal/process/next_tick.js:68:7)"}
{"type":"log","@timestamp":"2021-02-07T22:39:59Z","tags":["error","plugins","reporting","esqueue","queue-worker","error"],"pid":698,"message":"kikaaedb00je07cbf19td7ap - Failure occurred on job kkvqb3ov00ja17d8ab9eql7c: Error: Error spawning Chromium browser: [TimeoutError: waiting for target failed: timeout 30000ms exceeded]\n    at Observable.Rx.Observable.create [as _subscribe] (/usr/share/kibana/x-pack/plugins/reporting/server/browsers/chromium/driver_factory/index.js:126:24)"}
{"type":"log","@timestamp":"2021-02-07T22:39:59Z","tags":["warning","plugins","reporting","esqueue","queue-worker"],"pid":698,"message":"kikaaedb00je07cbf19td7ap - Failing job kkvqb3ov00ja17d8ab9eql7c"}
{"type":"error","@timestamp":"2021-02-07T22:39:59Z","tags":["warning","process"],"pid":698,"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: 197)","name":"UnhandledPromiseRejectionWarning","stack":"TimeoutError: waiting for target failed: timeout 30000ms exceeded\n    at Function.waitWithTimeout (/usr/share/kibana/node_modules/puppeteer-core/lib/helper.js:215:26)\n    at Browser.waitForTarget (/usr/share/kibana/node_modules/puppeteer-core/lib/Browser.js:214:27)\n    at Browser.<anonymous> (/usr/share/kibana/node_modules/puppeteer-core/lib/helper.js:112:23)\n    at Launcher.launch (/usr/share/kibana/node_modules/puppeteer-core/lib/Launcher.js:185:21)\n    at process._tickCallback (internal/process/next_tick.js:68:7)"},"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: 197)"}

Cheers!

Most likely all the needed dependencies are not installed on the server you are running Kibana on See here

Checking with rpm -qa or yum list installed shows none of the packages are installed.
However, the same results on my test environment (where pdf reports work well)
So, how can I check if I am missing these packages or it is something else? i.e. wrong configurations/settings?

That usually means it can not find the required dependencies, I would run through the installs whether they are reported missing or not.

You can also set kibana logs to verbose.

logging.verbose: true