Puppeteer Could not resolve the browser instance. Using /usr/bin/chromium-browser

According to the docs here: Deploy a Web Scraper using Puppeteer, Node.js and Docker on Koyeb - Koyeb

We are suppose to use the chromium that is already installed:

executablePath: '/usr/bin/chromium-browser',

Unfortunately I am facing the following issue

Could not resolve the browser instance => TimeoutError: Navigation timeout of 30000 ms exceeded

When I run it locally I don’t have any issues.

As per @Sebastian here Failed to launch the browser process in puppeteer - #4 by Sebastian_Wiewiora

I redeployed your Docker image on Micro instance and it worked, so it looks like Nano has not enough resources to run it.

3 Likes

After updating the instance size everything is working as intended.
Thanks to @Sebastian!

2 Likes