saraf0509S
Windmill17mo ago
38 replies
saraf0509

Running scheduled reports - chromium not working

Hey team, I'm trying to run scheduled reports of the app - but for some reason, chromium is not working.

On the default puppeteer code - the browser is setup, but it gets stuck on the .newPage() command, and eventually errors out with the following

ProtocolError: Network.enable timed out. Increase the 'protocolTimeout' setting in launch/connect calls for a higher timeout if needed.


I then tried rewriting the script in playwright, and selenium, but neither of those work.On selenium, exits with

WebDriverException: Message: Service /usr/bin/chromium unexpectedly exited. Status code was: 1


This is already running on the default reports worker - which is why the code is able to discover the chromium executable - but for some reason, no page is able to open

What could I be doing wrong?
Was this page helpful?