Hello,
We are having issues with HtmlToPdf conversion crashing/failing in different scenarios. We load the HTML directly, rather than using LoadUrl, and set the base URL. We've noticed this usually happens with large HTML, but also happens on shorter HTML. Below are a few examples:
URL:
https://www.wealthsimple.com/en-us/magazineHTML:
https://pastebin.com/gWxPJh5ZError: Conversion failed. Browser engine failed to render page. WebView is closed. Reason: RenderCrash
Stack:
EO.Pdf.HtmlToPdfException.b(Exception A_0):32
EO.Internal.a3a.a(agc A_0):3236
EO.Pdf.HtmlToPdfSession.RenderAsPDF(PdfDocument doc):202
EO.Pdf.HtmlToPdf.ConvertHtml(String html, PdfDocument doc, HtmlToPdfOptions options):54
EO.Pdf.HtmlToPdf.ConvertHtml(String html, Stream stream, HtmlToPdfOptions options):1
URL:
https://www.facebook.com/scott.byrd.395/timeline/2014HTML: Too large to post, roughly 20MB
Error: Conversion failed. Browser engine failed to render page. Failed on command 4
Stack:
EO.Pdf.HtmlToPdfException.b(Exception A_0):32
EO.Internal.a3a.a(agc A_0):3236
EO.Pdf.HtmlToPdfSession.RenderAsPDF(PdfDocument doc):202
EO.Pdf.HtmlToPdf.ConvertHtml(String html, PdfDocument doc, HtmlToPdfOptions options):54
EO.Pdf.HtmlToPdf.ConvertHtml(String html, Stream stream, HtmlToPdfOptions options):1
URL:
https://twitter.com/RogueFitnessHTML: Too large to post
Stack:
EO.Pdf.HtmlToPdfException.b(Exception A_0):32
EO.Internal.a3a.a(agc A_0):3236
EO.Pdf.HtmlToPdfSession.RenderAsPDF(PdfDocument doc):202
EO.Pdf.HtmlToPdf.ConvertHtml(String html, PdfDocument doc, HtmlToPdfOptions options):54
EO.Pdf.HtmlToPdf.ConvertHtml(String html, Stream stream, HtmlToPdfOptions options):1