HTML to PDF conversion failing
Using the code exactly as it is in sample 4 from that link and also setting the timeout to 1200000 which is approximately 3 hours and 20 minutes.
settings := pdftron.NewWebPageSettings() settings.SetTimeout(120000 * 100)
The conversion fails after about an hour when trying to create a PDF with over 3000 pages from html string. The only message after failing that is printed in the console is:
Conversion failed. HTTP Code: 0 Missing output file /var/folders/vf/nds_73vn6hqfcm33jtlz7bj80000gn/T/pdftron/Trn-45350-1673012661-ef11cfd6-55f4-45da-aa08-ca539cd163c0
Does somebody have an idea why this might be happening? It works fine with around 2000 pages.