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
Percy
Percy2y ago
Project ID: 0ee68194-4729-4be6-abc5-38998747b9d5
colinsonfire
colinsonfireOP2y ago
0ee68194-4729-4be6-abc5-38998747b9d5 Should we use this? https://github.com/ryannono/Puppeteer-Railway-Buildpack or this? https://railway.app/template/browserless
Brody
Brody2y ago
cant hurt to try
colinsonfire
colinsonfireOP2y ago
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?
Brody
Brody2y ago
it will deploy the repo as a new service
colinsonfire
colinsonfireOP2y ago
can you elaborate Will it change my deployment?
Brody
Brody2y ago
no, deploy now is for deploying a new service, it has absolutely nothing to do with any already running services / deployments
colinsonfire
colinsonfireOP2y ago
Ok thank you Just tested https://github.com/ryannono/Puppeteer-Railway-Buildpack and it fixed it for me
Brody
Brody2y ago
awsome
Want results from more Discord servers?
Add your server