|
Rank: Newbie Groups: Member
Joined: 10/20/2023 Posts: 8
|
Can anyone help me out with this issue? Getting this randomly on Azure App Service Isolated v2 I2V2 Instance!
Error Message : Child process exited unexpectedly. . Inner Exception : . Stacktrace: at EO.Internal.yzay.wvmj(Exception nmy, Boolean nmz) at EO.Internal.yzay.wvmi(yywx nmv) at EO.Internal.yzay.wvlw(Boolean& nlt, Type[] nlu, String nlv, String nlw) at EO.Internal.yzay.ykge(Type[] nlq, String nlr, String nls) at EO.Internal.yyrj.qxgh() at EO.Internal.yywn.bhrs(Action lui) at EO.WebEngine.Engine.Start(WindowsIdentity user) at EO.Internal.cjba.fxqd() at EO.Internal.cjbb.fxqd(cjba& bqu) at EO.Internal.cjbc.fxqd(yyre bqy, cjba& bqz) at EO.Internal.cjbf.ypjn() at EO.Internal.cjbf..ctor(yyre brd, HtmlToPdfOptions bre) at EO.Pdf.HtmlToPdfSession.nwur(HtmlToPdfOptions yk) at EO.Pdf.HtmlToPdfSession..ctor(HtmlToPdfOptions yh, HtmlToPdfSession yi, ResourceHandler yj) at EO.Pdf.HtmlToPdfSession.Create(HtmlToPdfOptions options, ResourceHandler resourceHandler) at EO.Pdf.HtmlToPdf.miug.gvue() at EO.Internal.cjbc.ldfw[a](yywf`1 brc) at EO.Pdf.HtmlToPdf.ConvertHtml(String html, PdfDocument doc, HtmlToPdfOptions options) at EO.Pdf.HtmlToPdf.ConvertHtml(String html, Stream stream, HtmlToPdfOptions options) at EO.Pdf.HtmlToPdf.ConvertHtml(String html, Stream stream) at Web.Transactions.SaveNotes(String PGID, String PatID, String Receipt) in D:\a\1\s\PoW\ASPX\Utilities\Code.aspx.vb:line 851. TemUploadPath: consenttemp\. destinationFile: Receipt.pdf
|
|
Rank: Newbie Groups: Member
Joined: 10/20/2023 Posts: 8
|
Also this stack trace
System.OutOfMemoryException: at EO.Base.Runtime.ypin (EO.Base, Version=23.0.51.0, Culture=neutral, PublicKeyToken=e92353a6bf73fffc) at EO.Base.ThreadRunnerBase.blgy (EO.Base, Version=23.0.51.0, Culture=neutral, PublicKeyToken=e92353a6bf73fffc) at EO.Internal.yywr.blgy (EO.Base, Version=23.0.51.0, Culture=neutral, PublicKeyToken=e92353a6bf73fffc) at System.Threading.ExecutionContext.RunInternal (mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089) at System.Threading.ExecutionContext.Run (mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089) at System.Threading.ExecutionContext.Run (mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089) at System.Threading.ThreadHelper.ThreadStart (mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)
|
|
Rank: Newbie Groups: Member
Joined: 10/20/2023 Posts: 8
|
Anyone?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Hi,
We are working on this issue. We have seen this sporadically in our Azure test environment as well but we still do not have a way to reproduce it consistently. If you have any tips to reproduce it faster please share with us.
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 10/20/2023 Posts: 8
|
Thanks for the reply.
We also do not know how to reproduce it, it is happening randomly.
Is there an ETA for this issue as it's creating a problem for the users?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Unfortunately we do not have an ETA yet because we have not yet found out the root cause. As we working on the issue, we will reply here again as soon as we have any update.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Hi, We have tracked down this to low memory error and created a new build that can recover from low memory situation better. Please see your private message for the download link to the new build. However ultimately there is no way to completely avoid crashes caused by memory restrains. Since your system is an I2V2 system which has 16GB memory, it is unlikely that a single conversion would hit this limit. As such the issue most likely occurs when you have multiple concurrent conversions. So you may want to try to reduce this value: https://www.essentialobjects.com/doc/eo.pdf.htmltopdf.maxconcurrenttaskcount.htmlThis property serves as a "circuit breaker" that would fail the conversion right away if the number of concurrent conversion tasks reaches the limit. In this case a HtmlToPdfException would throw with its ErrorCode set to EngineBusy. You can detect this case in your code and act accordingly (for example, display a "server busy, please try again later" message). If you continue to experience crashes please try to capture runtime log and send the runtime logs to us. The code would be something like this:
Code: C#
try
{
HtmlToPdf.ConvertHtml(....);
}
catch
{
string log = EO.Base.Runtime.GetLogs();
//save log into a text file and send it to us
}
See here for more information on sending test file to us: https://www.essentialobjects.com/forum/test_project.aspxMake sure you update to the new build we send to you first. We will investigate further once we receive the logs. Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 10/20/2023 Posts: 8
|
Thanks.
Please send the new build link. We will update it.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Hi,
We have already sent it to your through private message. Please click "Inbox" on top of the forum to view the link.
Thanks!
|
|
Rank: Advanced Member Groups: Member
Joined: 8/26/2021 Posts: 47
|
The file in the inbox is 2023.4.8.0,
Question is: is that a "newer" version? Because the current public release version is 2023.4.26.0. And while trying to install the 2023.4.8.0 on a dev box with 2023.4.26.0 already installed, the setup will complain that a "newer" version is already installed.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
grchen168 wrote:The file in the inbox is 2023.4.8.0,
Question is: is that a "newer" version? Because the current public release version is 2023.4.26.0. And while trying to install the 2023.4.8.0 on a dev box with 2023.4.26.0 already installed, the setup will complain that a "newer" version is already installed.
The new build was sent to Shanto. Not to you. We have now sent the new build to you.
|
|
Rank: Advanced Member Groups: Member
Joined: 8/26/2021 Posts: 47
|
Got it, thanks.
BTW, does this build also address the performance degrdation issue reflected awhile ago by other member in converting html to pdf?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
grchen168 wrote:Got it, thanks.
BTW, does this build also address the performance degrdation issue reflected awhile ago by other member in converting html to pdf? No. This build does not address performance issue. There have been various performance related issues, some were resolved in previous builds, some were not reproduced/confirmed, some were closed as non issue. If you can point to a specific forum post, we should be able to give you a more definitive answer about the outcome of that particular issue.
|
|
Rank: Newbie Groups: Member
Joined: 10/20/2023 Posts: 8
|
Thank you. I will let you know the update.
|
|