Timed out after 30000 ms while trying to connect to Chrome
I'm trialing jsreport and has created a sample template/report on the cloud. Now I'm trying to setup jsreport locally on Windows WSL Ubuntu 20.04.2 LTS.
I've followed the steps on https://jsreport.net/learn/ubuntu to setup on WSL and here https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md to setup chrome sandbox.
When I run a report with chrome-pdf recipe I get the following error:
TimeoutError: Timed out after 30000 ms while trying to connect to Chrome! The only Chrome revision guaranteed to work is r706915 at Timeout.onTimeout (/home/bruce/jsreportapp/node_modules/puppeteer/lib/Launcher.js:359:14) at ontimeout (timers.js:436:11) at tryOnTimeout (timers.js:300:5) at listOnTimeout (timers.js:263:5) at Timer.processTimers (timers.js:223:10)
Is there anything I missed?
Thanks in advance
An update on this issue.
The error went away once I upgraded WSL to WSL2 on Windows 10. The report renders without error now.