Puppeteer recently failing, did something change?
Ive had a puppeteer integration for a while now and it had been working fine to generate pdfs. However, recently I've discovered by adding logs that its failing when calling
const page = await browser.newPage();
Ive confirmed puppeteer and pdf generation works locally no problem. Only in production does it timeout and never finish.
Any ideas if there needs to be an update to a buildpack? Or to puppeteer?10 Replies
Project ID:
0ee68194-4729-4be6-abc5-38998747b9d5
You might find these helpful:
- Error when using puppeteer on railway
- Puppeteer error crash: Failed to launch the browser process!
- Puppeteer doesn't work
⚠️ experimental feature
0ee68194-4729-4be6-abc5-38998747b9d5
Should we use this? https://github.com/ryannono/Puppeteer-Railway-Buildpack
or this? https://railway.app/template/browserless
cant hurt to try
yea Im trying it out right now
you have experience with the railway template?
What does clicking Deploy Now do exactly? Will it auto integrate into my app?
it will deploy the repo as a new service
can you elaborate
Will it change my deployment?
no, deploy now is for deploying a new service, it has absolutely nothing to do with any already running services / deployments
Ok thank you
Just tested https://github.com/ryannono/Puppeteer-Railway-Buildpack
and it fixed it for me
awsome