|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,218
|
I apologize we have been waiting for you to let us know that you have updated the code and the problem has occurred again. We will check again.
|
|
Rank: Advanced Member Groups: Member
Joined: 12/14/2018 Posts: 31
|
One of app service which is running the html to pdf generator code worked fine after idle for 2 days but for few requests it is taking more time to respond and few times its returning the exception.
Exception Message : 'Child process exited unexpectedly'. Exception Type : EO.Internal.js+f
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,218
|
Hi,
These are different problems:
1. The original "child process not ready problem". We have been trying with the test server you provided and so far have not been able to see the problem. We waited for a few days and today we got a different problem: "unable to load load or assembly 'AP!PDF' or one of its dependencies". This is odd to us since the DLL is there; 2. A few request takes more time to respond. This is normal because the engine has been unloaded after being idle for a while. So next time the engine will need to be reinitialized; 3. "Child process exited unexpected". This problem is new. We still need to reproduce it;
We will reply here again when we have any update.
Thanks!
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,218
|
Hi,
This is just to let you know that we have made some progress on this issue --- we have managed to reproduce issue #3 multiple times by constantly switching the app service between 32 bit and 64 bit and making request to the app service at the same time. Switching bit mode would cause w3wp.exe to be restarted and it appears that this is causing some issues. We are able to collect logs when this occurs and we noticed abnormal entries in the logs. However we still can not explain why yet. We will add more log entries and continue testing.
The "unable to load load or assembly 'AP!PDF' or one of its dependencies" issue mentioned previously is not an issue. It's simply due to a bit mode mismatch.
Thanks!
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,218
|
Hi,
We have found the problem that caused "Child process exited unexpected". This may be the same issue that caused the original problem.
We have a single "book keeping" process that servers all other child processes started by us. However the mechanism that ensures there is only one such book keeping process running at any given time is failing on your server. We have changed our code to use a different mechanism and this seems to be working fine on your server. The server has been updated with version 19.0.96. We will continue to test to see if we still see any problems.
Thanks!
|
|
Rank: Advanced Member Groups: Member
Joined: 12/14/2018 Posts: 31
|
Thanks for the update.
Please let us know once the stable build is ready after your testing.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,218
|
Hi,
This is just to let you know that we have posted the stable build (19.0.97) that contains this fix. Your test server is still running the internal test build (.96) and we did not find any problems during our further testings. So you may want to update to the .97 build and see if you still see any problems.
Thanks!
|
|
Rank: Advanced Member Groups: Member
Joined: 12/14/2018 Posts: 31
|
Verified with .97 version dlls and worked fine without any issues. Thanks for resolving it.
Observed one small issue related to Footer content, filed a new support ticket.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,218
|
Great to hear that this issue is fixed. We will continue the discussion on the other issue in the other thread.
|
|
Rank: Member Groups: Member
Joined: 5/27/2015 Posts: 12
|
We are seeing a similar error in our app periodically. The app generates a 3-4 page PDF that is mostly text, some colored headers and an small picture. Output file size is in the 100-150 KB range. I can provide an example privately if needed, they contain customer personal information. Here is one on the errors that is logged (see below). To remedy the issue, we have to log into the affected web server (Windows Server 2016) and either kill the worker process or stop/start the app pool. We notice when the issue has occurred that the Essentials Object Helper is still running in the task manager (usually two copies) and needs to be manually stopped. On the last occurrence, we simply stopped those two helper processes without killing the IIS worker or restarting the app pool. There is another error that occurs that takes down the app pool and requires a stop/start - can post that once it is logged again. We started seeing these errors in the past 2-3 weeks, not sure if they are version related. The EO packages were last updated in our app on 04/01/2019 as part of a maintenance upgrade (not related to PDF issues). Running: <package id="EO.Pdf" version="19.0.97" targetFramework="net462" /> Thanks! Pat ************************************************ Error Message: Exception of type 'System.Web.HttpUnhandledException' was thrown. Child process not ready. Details:
Code: C#
EO.Internal.js+f: Child process not ready.
at EO.Internal.js.a(Exception A_0, Boolean A_1)
at EO.Internal.js.a(p3 A_0)
at EO.Internal.js.a(Boolean& A_0, bam[] A_1, String A_2, String A_3)
at EO.Internal.js.a(bam[] A_0, String A_1, String A_2)
at EO.Internal.av9.b()
at EO.Internal.av9.a(WindowsIdentity A_0)
at EO.WebEngine.Engine.Start(WindowsIdentity user)
at EO.Internal.sw.b()
at EO.Internal.nr.a(sw& A_0)
at EO.Internal.alx.a(az A_0, sw& A_1)
at EO.Internal.pb..ctor(az A_0, HtmlToPdfOptions A_1)
at EO.Pdf.HtmlToPdfSession.a(HtmlToPdfOptions A_0)
at EO.Pdf.HtmlToPdfSession..ctor(HtmlToPdfOptions A_0, Boolean A_1)
at EO.Pdf.HtmlToPdf.ConvertHtml(String html, PdfDocument doc, HtmlToPdfOptions options)
at EO.Pdf.HtmlToPdf.ConvertHtml(String html, String pdfFileName, HtmlToPdfOptions options)
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,218
|
Hi Patrick, We do not have much information about this issue yet. If possible, you can try to start remote debug monitor in your app: https://www.essentialobjects.com/doc/eo.base.runtime.startdebugmonitor.aspxThis will allow us to examine internal running logs of your application (The logs are sent to our server which only we have access so it's safe). You can keep it running until the problem occurs and then let us know, we will then examine the logs to see if we can find anything. If this does not yield anything, we may need you to set up a testing server that we can access similar to the original user of this thread. It took a while but we were able to trace down their issue. Thanks!
|
|
Rank: Member Groups: Member
Joined: 5/27/2015 Posts: 12
|
Thanks for the quick reply - I will setup the debug monitor and let you know via post when we see additional errors logged.
Pat
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,218
|
In the future please start a new thread for such issues. You can post a link to reference other issues that you think maybe related. This way the user who posted the original issue won't be unnecessarily notified on every communication between you and us.
|
|