The most recent version of Ultimate PDF is built using version 20.2.0 of PuppeteerSharp. This version has a compatibility issue with more modern versions of Chrome, namely that if you try to use one to generate your PDFs you will get the following error:
Protocol error (Page.navigate): Invalid referrerPolicy
This error was addressed in July with the release of 20.2.1, which you can see in the release notes here: https://github.com/hardkoded/puppeteer-sharp/releases/tag/v20.2.1
I was able to open up the extension and update the NuGet package version and it fixed it. Using a modern version of Chrome for Testing may be vital for some users that need more up to date browser features like new CSS styles. In my case, I needed to use the `writing-mode: sideways-lr` to get vertical text, a feature which was not released until January this year.
This isn't really a question, just encouraging the team to upload a new version using a PuppeteerSharp version >= 20.2.1 to so devs can use whichever version of Chrome they need. Thanks for the great plugin!
Is it why its affecting performance as well ?
For me it takes a while to generate PDFs
This doesn't have anything to do with performance, it's a flat incompatibility so if you are being impacted by this bug it simply fails to generate a PDF. I have noticed the first PDF generation after publishing takes a minute, but once you generate one it seems to pick up the pace a bit.
Hi everyone,
Any news about this component update?
After restarting the server, we started getting the following error when using the component:
Could not load type 'PuppeteerSharp.RevisionInfo' from assembly 'PuppeteerSharp, Version=20.2.0.0, Culture=neutral, PublicKeyToken=db12f80f85d8ba23'.
at OutSystems.NssUltimatePDF.CssUltimatePDF.MssSetupLocalBrowser(String ssTemporaryFolder, Int32 ssBrowserRevision)
at ssUltimatePDF.RssExtensionUltimatePDF.MssSetupLocalBrowser(HeContext heContext, String inParamTemporaryFolder, Int32 inParamBrowserRevision)
Thanks in advance,
Vitor Rocha