[Html2PdfConverter] GeneratePDF: Exception Handling

[Html2PdfConverter] GeneratePDF: Exception Handling

  
Forge Component
(49)
Published on 21 Mar by Guilherme Pereira
49 votes
Published on 21 Mar by Guilherme Pereira

Hi

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