SYMPTOM
When attempting to export to PDF using the PDF Export Engine in Strategy Secure Enterprise users may encounter the following errors on the PDF or within the NewExportEngine.log
Error: <message>
Rendering timeout: x seconds
or
Failed to open PDF template URL in x ms. Error Code: <error code>
CAUSEThese errors indicate that either the rendering timeout or resource timeout was hit during the export request. In some cases the failure may be due to some other error which caused these timeouts to occur first. These timeouts are separate from the more frequently encountered execution timeout. In most circumstances, they should not need to be modified.
ACTIONIn order to increase these timeouts, the application.properties file (<MSTR_HOME>\IntelligenceServer\PDFExportService\) needs to be modified to increase the value for the following two settings:
exporter.phantomjs.rendering.timeout = <value in seconds>
exporter.phantomjs.resource.timeout = <value in seconds>
In Strategy Secure Enterprise 10.6-10.9, there is a typo that needs to be corrected before this can take effect:
exporter.phantoms.rendering.timeout = 60
exporter.phantoms.resource.timeout = 60
Once the timeout values have been changed the PDFExport Service needs to be restarted for the changes to take effect.
KB440497