Unable to create PDF using CreatePDF Utility, HTMLToPDF Activity
When using the CreatePDF SmartShape to generate a PDF from the content of an email, HTMLtoPDF fails for a few image URLs.
In the logs:
Email - Caught PRException while fetching content
HTTP GET failed for https://myurl.com/mydirectory/myimage.png
Steps to Reproduce
- Capture email content information.
- Store the information in the Properties.
- Reference these properties on a Section rule.
- Pass the Section rule to the CreatePDF SmartShape.
A defect in Pegasystems’ code or rules.
The REST call that fetched the image did not consider the JVM Proxy settings. As a result, the request failed to connect and timed out.