We intermittently failed to generate PDF on production environment, and the message is " : "Execution context was destroyed, most likely because of navigation".
But this message shown even when the application is generating PDF and the users wait on that screen.
Can you point what is the cause for this error ?
Hi @Toto
Check this out https://www.outsystems.com/forums/discussion/105273/ultimate-pdf-puppeteersharp-has-a-compatibility-issue-with-modern-chrome-for-te/#Post462309
It seems @Grayson Udstrand already resolved this issue.
Toto's issue and the one I identified a fix for in the post you linked are almost certainly unrelated.
@Toto if you are using an up-to-date version of Ultimate PDF, you could certainly try the fix to upgrade puppeteer sharp and see if perhaps it helps, but to me it seems more like your PDF generation screens are being redirected when the component makes the call to render the screen. I'd perhaps start by checking the following:
Hope this helps.