browser rendering
Trying to experiment with https://developers.cloudflare.com/browser-rendering/get-started/reuse-sessions/ have a paid plan and only 1 worker when across my account..
When i deploy locally i keep getting this error
โ [ERROR] Uncaught (in response) Error: Unable to create new browser: code: 429: message: Too many browsers already running
I understand what it means but dont understand why its is happening and hitting the browser limit...I am unable to even invoke the worker once it always keeps showing the same error
2 Replies
Cloudflare has some pretty strict limits about how many browsers you can spin up each minute, which is two. Fortunately you can reuse browser sessions.
More on limits: https://developers.cloudflare.com/browser-rendering/platform/limits/
I'm working around this by attempting to connect to a random available session, or else spinning up a new browser.
Cloudflare Docs
Limits ยท Browser Rendering docs
Control and interact with a headless browser instance programmatically.
Right the example I am using seem to be using that https://developers.cloudflare.com/browser-rendering/get-started/reuse-sessions/ it's showing one active session in the dashboard and still getting that error too many browsers already running
Tried your code, it worked thanks a lot ๐