Unable to Export to PDF on Legacy SSO

book

Article ID: 241782

calendar_today

Updated On:

Products

Clarity PPM On Premise Clarity PPM SaaS

Issue/Introduction

When trying to preview Status report in Modern UX getting following error in UI: EXP-01000: Error generating PDF export.

This is on legacy SSO setup with Clarity, using a custom cookie (where additional Cookie information is needed for establishing a valid session). If we take SSO out, it works with no issue. 

The app log shows following error,

ERROR 2022-03-21 19:23:06,235 [ajp-nio-127.0.0.1-8009-exec-9] playwright.PWPooledObject (clarity:user:35309018__45A7864B-FE5F-4644-AE7F-E9CF76892D03:PPM_REST_API) Playwright error during export
com.microsoft.playwright.PlaywrightException: Error {
  message='net::ERR_CONNECTION_TIMED_OUT at https://dev_url/pm/#/project/5226001/status/5396000?print=true
=========================== logs ===========================
navigating to "https://dev_url/pm/#/project/5226001/status/5396000?print=true", waiting until "load"
============================================================
  name='Error
  stack='Error: net::ERR_CONNECTION_TIMED_OUT at https://dev_url/pm/#/project/5226001/status/5396000?print=true
=========================== logs ===========================
navigating to "https://dev_url/pm/#/project/5226001/status/5396000?print=true", waiting until "load"
============================================================
    at FrameSession._navigate (D:\javatmp\playwright-java-17341893639368050182\package\lib\server\chromium\crPage.js:599:35)
    at async D:\javatmp\playwright-java-17341893639368050182\package\lib\server\frames.js:622:30
    at async ProgressController.run (D:\javatmp\playwright-java-17341893639368050182\package\lib\server\progress.js:89:22)
    at async FrameDispatcher.goto (D:\javatmp\playwright-java-17341893639368050182\package\lib\dispatchers\frameDispatcher.js:79:59)
    at async DispatcherConnection.dispatch (D:\javatmp\playwright-java-17341893639368050182\package\lib\dispatchers\dispatcher.js:330:22)
}
 at com.microsoft.playwright.impl.WaitableResult.get(WaitableResult.java:54)

Environment

Release : 16.0.1

Resolution

This is DE65070, in review by Engineering

Workarounds :

Option 1: Switch to SAML 2.0 instead of Legacy SSO

Option 2: Remove the custom Cookie if possible