We are getting an error in our onprem prod environment that we are not seeing in any other environment.
As far as we can tell our pre-prod and prod environments are set up exactly the same but the issue only occurs in prod.
In prod if the .pdf is generated using the hostname of the server everything works as expected however if we attempt to generate the .pdf using a cname we get the error ERR_NAME_NOT_RESOLVED
The cname works to access all other parts of the application without error and only appears to be an issue when attempting to use ultimatepdf
I've attempted to download the execution log zip file using both the working and non-working URLS are both return the error 'an error occurred while generating the pdf'
Hi Jo Hall
The PDF is executed from one of the front-end environments. So the DNS resolution of the cname might not be set up to work in the front-end's network, it could certainly lead to different results when compared to the user's browser.
I recommend simply using a relative URL such as "/Module/Screen" (for a reactive screen).
I would like to understand the error that is happening in the management console, when trying to download the execution log. Please share the error logs, including the stack trace. Note that there might be several errors logged. Thank you.
Hi Jo Hall.
Were you able to overcome this issue?
I had a closer look, and from the symptoms you describe, it looks like the error might be caused by an incorrect deployment zone configuration. In this case, any service action might fail with that same error, so the problem is not limited to Ultimate PDF.
Please check the reference below on how to configure the deployment zone address:
https://success.outsystems.com/documentation/11/managing_the_applications_lifecycle/deploy_applications/selective_deployment_using_deployment_zones/deployment_zones_reference/