[Html2PdfConverter] GeneratePDF: Exception Handling

Forge Component
Published on 17 May by Guilherme Pereira
60 votes
Published on 17 May by Guilherme Pereira


I am using SimpleReports to design templates for my dynamic reports and then calling Html2PDF Converter to generate PDF files.

On occasion my documents have failed to convert to PDF format but instead of getting an exception I get a 502 server error on the front-end…

and  the wkhtmltopdf process continues to run on environment consuming all resources on server until eventually the environment is brought down. 

Has anybody experienced this ?  Any ideas on what can I do to better handle this behavior?

Kind regards,

Nomusa Ntuli