WindmillWWindmill
Powered by
ZZ
Windmill•16mo 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,388Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?
Recent Announcements
henri-c

We're live here https://discord.com/channels/930051556043276338/1278977038430240813

henri-c · 2d ago

rubenf

Infrastructure as code

rubenf · 3w ago

rubenf

As we're preparing for a new Windmill sandbox SDK, we took the opportunity **to open-source NSJAIL sandboxing** and make it available in CE and easier to set. In 1.634.0, just set nsjail to benefit from the tightest security and isolation per job. It's constraining so no need to use it unless you need but now you won't be restricted in security for CE if you need to.

rubenf · 4w ago

Similar Threads

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