Navigation timeout of 30000 ms exceeded

I am using the browser rendering tech which has its limitations, but has stood up pretty well, with the exception of one thing. I am getting the above error. Here is the use case. I have the HTML of an email that I am trying to render as a screenshot. The files can be big but not enormous especially compared to other pagesizes. Images have remote call to get them, but even they are smaller because the standard protocol for emails it to keep filesize small. I am using:
await page.setContent(message.html);`
let ss = await page.screenshot({ fullPage: true });
await page.setContent(message.html);`
let ss = await page.screenshot({ fullPage: true });
In a loop it works intermittently so that I can reuse the Pupeteer instance. Any idea why this is happening and what I can do to handle the underlying cause.
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?