Welcome Guest Search | Active Topics | Sign In | Register

HtmlToPdf.ConvertHtml Time out expired before the page can be loaded. Options
Venkat
Posted: Tuesday, October 16, 2018 7:21:44 PM
Rank: Newbie
Groups: Member

Joined: 10/16/2018
Posts: 1
Hi,

I am using EO HTML to PDF conversion method to convert my HTML content into a PDF document. Seems like recent past we have been getting lot of timeout errors in our prod server.

I am already using the maxloadwaittime option

var options = new HtmlToPdfOptions()
{
MaxLoadWaitTime = 120000
};

Stack Trace: at EO.Base.ThreadRunnerBase.c.a(Int32 A_0, Boolean& A_1)

at EO.Base.ThreadRunnerBase.Send(Action action, Int32 timeoutInMS)

at EO.Internal.o3.a(adv A_0, String A_1, String A_2, String A_3, Int32 A_4, Int32 A_5, String A_6, Boolean A_7)

at EO.Pdf.HtmlToPdfSession.a(adv A_0, String A_1, String A_2, Int32 A_3, Int32 A_4, String A_5, Boolean A_6)

at EO.Pdf.HtmlToPdf.ConvertHtml(String html, PdfDocument doc, HtmlToPdfOptions options)

Can you please suggest to fix the error. we are loosing documents because of this. please provide the next steps at the earliest.

Thanks,
Venkat.
eo_support
Posted: Wednesday, October 17, 2018 10:09:51 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,067
Hi,

We can't tell exactly what causes the time out. You can check a number of things:

1. Make sure you are running the latest build. There were issues with older builds on newer Windows. So make sure you try the latest build first;
2. Check whether you have DNS issue explained in this page:

https://www.essentialobjects.com/doc/web/aspxtopdf/troubleshoot.aspx

3. Try to set EO.Base.Runtime.EnableEOWP to true and see if it resolves the issue for you:

https://www.essentialobjects.com/doc/common/eowp.aspx

Please let us know if this resolves the issue for you.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.