Status report export to PDF fails with Timeout (On Premise)
search cancel

Status report export to PDF fails with Timeout (On Premise)

book

Article ID: 377533

calendar_today

Updated On:

Products

Clarity PPM On Premise

Issue/Introduction

While trying to export any status report to PDF, it fails with below error in app-ca.log

ERROR 2024-09-09 22:35:41,448 [http-nio-80-exec-19] playwright.PWPooledObject (clarity:USER:5468592__C32BBA2B-B00C-439E-ADFD-CF3DA853ED2A:PPM_REST_API) (e3bc8868-4423-4699-a23f-265dc8515484) Error while exporting PDF for url : about:blank

ERROR 2024-09-09 22:35:41,457 [http-nio-80-exec-19] playwright.PWPooledObject (clarity:USER:5468592__C32BBA2B-B00C-439E-ADFD-CF3DA853ED2A:PPM_REST_API) (e3bc8868-4423-4699-a23f-265dc8515484) Timeout while waiting for loading page /project/5101108/status/5041042

ERROR 2024-09-09 22:35:41,510 [http-nio-80-exec-19] function.ExportAPI (clarity:USER:5468592__C32BBA2B-B00C-439E-ADFD-CF3DA853ED2A:PPM_REST_API) (e3bc8868-4423-4699-a23f-265dc8515484) Export Exception:

com.ca.ppm.export.ExportException: api.export.01010

at com.ca.ppm.export.playwright.PWPooledObject.export2DMS(PWPooledObject.java:193)

at com.ca.ppm.export.playwright.PlaywrightImpl.export2DMS(PlaywrightImpl.java:157)

ERROR 2024-09-09 22:36:40,639 [http-nio-80-exec-17] security.CustomConfigCORSFilter (clarity:USER:-1:none) (9673721b-c7fe-43cb-a33e-32ccec5ea026) Failed to determine cors class java.lang.String cannot be cast to class java.util.List (java.lang.String and java.util.List are in module java.base of loader 'bootstrap')

Environment

Any Supported Clarity Releases On Premise

Cause

With investigation it is observed that the Clarity instance is behind the Load Balancer (LB) and the scheduler entry URL and internal URL on NSA > Application Server is not set, which is resulting in the request to the LB, resulting in blank URL

 

Resolution

  • In the NSA > Application set below to Clarity URL with IP/Hostname of the Application server example http://APP-SERVER-HOSTNAME:PORT
    • Internal URL
  • Restart the app service

Additional Information