Welcome Guest Search | Active Topics | Sign In | Register

EO.Pdf (20.0.25) "The request was canceled." error Options
id informed decisions
Posted: Sunday, January 19, 2020 9:16:00 PM
Rank: Member
Groups: Member

Joined: 10/29/2019
Posts: 13
Hi there,

I am testing the new release before upgrade the production and I am getting this error: "The request was canceled." for the below code snippet:

PdfDocument doc1 = new PdfDocument();
string url = $"https://profile.id.com.au/monash";
HtmlToPdf.ConvertUrl(url, doc1);

The stack trace for the error is:

" at EO.Internal.oe.a(ab4 A_0, String A_1, String A_2, String A_3, Int32 A_4, Int32 A_5, String A_6, Boolean A_7)\r\n at EO.Internal.oe.b(ab4 A_0, String A_1, String A_2, String A_3, Int32 A_4, Int32 A_5, String A_6, Boolean A_7)\r\n at EO.Pdf.HtmlToPdfSession.a(ab4 A_0, String A_1, String A_2, Int32 A_3, Int32 A_4, String A_5, Boolean A_6)\r\n at EO.Pdf.HtmlToPdf.b.a()\r\n at EO.Internal.aka.a[a](ao0 A_0)\r\n at EO.Pdf.HtmlToPdf.ConvertUrl(String url, PdfDocument doc, HtmlToPdfOptions options)\r\n at EO.Pdf.HtmlToPdf.ConvertUrl(String url, PdfDocument doc)\r\n at EO2020Test.Program.Main(String[] args) in C:\\Users\\ahmad.IDC\\source\\repos\\EO2020Test\\Program.cs:line 24"

Any idea?
eo_support
Posted: Monday, January 20, 2020 2:30:59 PM
Rank: Administration
Groups: Administration

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

We have confirmed this to be an issue. This will be fixed in our next build and we will post here again once the new build is posted.

Thanks!
id informed decisions
Posted: Monday, January 20, 2020 6:16:12 PM
Rank: Member
Groups: Member

Joined: 10/29/2019
Posts: 13
Thanks for confirming! Now, as we are blocked on v20 for this issue and we are blocked on v19 for the issue of "child process is not ready" issue, could you please update us when is the next build?
eo_support
Posted: Monday, January 20, 2020 6:17:10 PM
Rank: Administration
Groups: Administration

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

The new build should be out later this week.

Thanks!
eo_support
Posted: Friday, January 24, 2020 10:48:29 AM
Rank: Administration
Groups: Administration

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

This is just to let you know that the new build is out (20.0.33). You can download it from our download page. Please take a look and let us know how it goes.

Thanks!
id informed decisions
Posted: Monday, January 27, 2020 9:44:12 PM
Rank: Member
Groups: Member

Joined: 10/29/2019
Posts: 13
This issue has been fixed in the new version (20.0.33). However, the original issue of "child process is not ready", that was logged in a different support ticket, still occurs.
eo_support
Posted: Tuesday, January 28, 2020 1:28:19 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,071
Great. Thanks for confirming the fix for this issue. We are working on the other issue and we will update there as soon as we find anything.
Dylan Lopes
Posted: Friday, August 18, 2023 7:23:17 AM
Rank: Newbie
Groups: Member

Joined: 8/18/2023
Posts: 2
Hello,

I've read this tread and I think we've a similar problem.

So, when I try to convert html to PDF, using both ConvertUrl and ConvertHtml, I get the same error 'The request was canceled'.

This only happens when I run the webApp inside a docker container.

However, when I test the same webApp without any containers, then it runs successfully .

We're using version 23.2.65.0

Any idea?
Thanks, Dylan.
eo_support
Posted: Sunday, August 20, 2023 2:41:47 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,071
Hi Dylan,

What OS image does your docker container use?

Thanks
Dylan Lopes
Posted: Monday, August 21, 2023 4:28:07 AM
Rank: Newbie
Groups: Member

Joined: 8/18/2023
Posts: 2
Hi,

The container is running on a windows server 2022. And the docker image's using windows server core: windowsservercore-ltsc2022

Thanks,
Dylan.
eo_support
Posted: Tuesday, August 22, 2023 9:18:35 AM
Rank: Administration
Groups: Administration

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

Please check if you have fonts installed in your server core container. See here for more discussion about this issue:

https://www.essentialobjects.com/forum/postsm48539_Converting-HTML-to-PDF-fails-when-running-in-docker-container-Win-2019.aspx

You can find more information on how to install fonts to your container here:

https://techcommunity.microsoft.com/t5/itops-talk-blog/adding-optional-font-packages-to-windows-containers/ba-p/3559761

Please let us know if this works 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.