HTML to PDF conversion issue

Hello. We have encountered a strange issue with a HTML to PDF conversion on a simple document(test-fail.html). Groupdocs online convertor is failing as well - screenshots attached in the archive. With a small change to HTML document(adding β€œ123” in test-success.html) everything is working as expected.

Can you please clarify what might be the case?
Thanks

test.7z (233.6 KB)

1 Like

@IhorC

We cannot reproduce this issue using back-end API. Please take a look at the output.pdf (169.0 KB). However, it’s been reproduced using the free web app. We’ve created a thread on your behalf at apps forum. Please keep track of it.

Forgot to mention - it’s reproducible only on Linux(Docker image). Local debug of .NET core app on Windows works fine.
Conversion 22.5.0

@IhorC

Could you please share the Docker Image file?

Attached Dockerfile as requested. Most of the conversions that we are using(doc, xlsx, html etc to PDF/PNG) are working fine with a few minor issues.

Dockerfile.7z (960 Bytes)

1 Like

@IhorC

This issue is under investigation. Your investigation ticket ID is CONVERSIONNET-5370.

@IhorC

You have to create a runtimeconfig.template.json file in the root directory of your project:

{
   "configProperties": {
      "System.Drawing.EnableUnixSupport": true,
   }
}

Let us know if issue persists.

We had EnableUnixSupport enabled. Issue is still reproducible with Conversion 22.7. 22.8 fixed an issue. Thanks.

1 Like

@IhorC

Glad to know that the issue is fixed.