WindmillWWindmill
Powered by
saraf0509S
Windmill•2y 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.
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
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?
WindmillJoin
3,362Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?
Recent Announcements
henri-c

Weekly kenote to tell you about our latest updates https://discord.com/channels/930051556043276338/1278977038430240813 https://youtube.com/live/2dGd9TdT8xs?feature=share

henri-c · 4d ago

Pyra

### HTTP tracing (EE) Capture HTTP requests made by job scripts as observability spans Features: - View HTTP request traces (method, URL, status, timing) in the job details UI - Auto-instrumentation for Native TypeScript, MITM proxy for other languages - Integrates with external OpenTelemetry collectors changelog: https://www.windmill.dev/changelog/http-tracing docs: https://www.windmill.dev/docs/advanced/instance_settings#http-tracing Additionally jobs memory metrics are now fully OSS!

Pyra · 2w ago

henri-c

First keynote of the year here https://discord.com/channels/930051556043276338/1278977038430240813 🙂

henri-c · 4w ago

Similar Threads

playwright chromium could not be successfully closed
joetongJjoetong / help
2y ago
Scheduled job caching
baptisteaBbaptistea / help
13mo ago
Windmill Worker Chromium Installation Failure
giyuGgiyu / help
15mo ago