-
-
Notifications
You must be signed in to change notification settings - Fork 431
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PdfDataAsync timeout in IIS #2657
Comments
Hi, The base PuppeteerSharp package would need an extra package to work in IIS, but that package isn't compatible with the last version of it: |
Thanks kjenova, the PuppeteerExtraSharp works for me! But I would like to know why puppeteer-sharp does not support this feature now? |
Thank you for the report. I'm on vacation right now. I'll take a look at it on Monday! |
Thanks @kjenova, I ran into the same issue. But it only stopped working when I upgraded to Puppeteer 18, it worked fine in 17. |
I bet that PuppeteerExtraSharp works because the last version is one year old, and it must be using an old Chrome version. |
I would recommend using the Chromium browser till this issue is solved in Chrome for testing. |
Hi, my project's print function has been running smoothly for the past few weeks and no code updates have been made, but since May 27th it is suddenly not working properly. When the print button is pressed, PdfDataAsync gets stuck until it times out.
I have tried upgrading to the latest version (18.0.1) or downgrading to other versions of PuppeteerSharp to no avail, and I have noticed that PdfDataAsync works when debugging in Visual Studio, but gets stuck if publishing to IIS.
I also created a new project and published to another server and it still happens.
Here is the code of the printing function:
And here is the error message get from event viewer:
The text was updated successfully, but these errors were encountered: