WindmillWWindmill
Powered by
ZZ
Windmill•15mo ago•
3 replies
Z

puppeteer is failed to start

I had a working browser automation script and from last week it's not working
so I created a new script using this guide https://www.windmill.dev/docs/advanced/browser_automation (bun puppteer version) and still it's not working

Auto scroll took 30929ms mem peak: 79.43MB

job=01936cc7-1afe-a29e-9f85-4833187ffc6d tag=chromium worker=wk-reports-gtcmt-PBOSW hostname=windmill-workers-reports-55475b9c7c-gtcmt


--- BUN INSTALL ---

bun install v1.1.34 (5e5e7c60)
Resolving dependencies
Resolved, downloaded and extracted [0]
Saved lockfile
+ puppeteer-core@23.9.0
90 packages installed [57.00ms]

--- BUN CODE EXECUTION ---

11 | export class PuppeteerError extends Error {
12 | /**
13 | * @internal
14 | */
15 | constructor(message, options) {
16 | super(message, options);
^
TimeoutError: Timed out after waiting 30000ms
at new PuppeteerError (/tmp/bun/node_modules/puppeteer-core/lib/esm/puppeteer/common/Errors.js:16:9)
at new TimeoutError (1:23)
at /tmp/bun/node_modules/puppeteer-core/lib/esm/puppeteer/common/util.js:237:19
at /tmp/bun/node_modules/puppeteer-core/lib/esm/third_party/rxjs/rxjs.js:1936:31
at /tmp/bun/node_modules/puppeteer-core/lib/esm/third_party/rxjs/rxjs.js:993:9
at /tmp/bun/node_modules/puppeteer-core/lib/esm/third_party/rxjs/rxjs.js:696:12
at /tmp/bun/node_modules/puppeteer-core/lib/esm/third_party/rxjs/rxjs.js:2280:20
at /tmp/bun/node_modules/puppeteer-core/lib/esm/third_party/rxjs/rxjs.js:1360:12
at /tmp/bun/node_modules/puppeteer-core/lib/esm/third_party/rxjs/rxjs.js:1349:22



this is the failing line

const browser = await puppeteer.launch({
headless: "new",
executablePath: "/usr/bin/chromium",
args: ["--no-sandbox"],
});
Browser automation | Windmill
Windmill makes it easy to perform browser automation tasks, such as testing or web scraping.
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

Issues with Puppeteer - environment config
hershHhersh / help
6mo ago
Failed to find relative import
EntVlEEntVl / help
14mo ago
Failed to import Python Libaries
LeandroLLeandro / help
15mo ago
Experiencing slow to start scripts
Necrot1cNNecrot1c / help
16mo ago