Error When Previewing Status Report (HTTPS, HTTP/2 and Firefox)
search cancel

Error When Previewing Status Report (HTTPS, HTTP/2 and Firefox)

book

Article ID: 450013

calendar_today

Updated On:

Products

Clarity FedRAMP Clarity PPM On Premise Clarity PPM SaaS

Issue/Introduction

Using Firefox with HTTPS and HTTP/2, receiving an error when trying to preview a status report.

Steps to Reproduce

  1. Enable HTTP/2 in Clarity and HTTPS in Clarity.
    Add to <Service name="Catalina"> in the server.xml inside Tomcat's conf folder:
    <Connector secure="true">
      <UpgradeProtocol className="org.apache.coyote.http2.Http2Protocol" />
    </Connector>
  2. Restart Clarity app service: service stop start app
  3. Using Google Chrome and HTTPS URL, navigate to a project instance Status tab.
  4. Preview the status report.
  5. The PDF will be generated and previewed in the preview pop-up.
  6. Using Firefox and HTTPS URL, repeat steps 3-4.

Expected Results: The PDF will be generated and previewed in the preview pop-up.

Actual Results: Error 'EXP-01000: Error generating PDF export'.

app-ca.log will show an error containing a line similar to: "net::ERR_INVALID_ARGUMENT at http://example.com/pm/#/project/5012345/status/5123456?print=true"

Environment

Clarity 16.4.2

Cause

As of Clarity 16.4.2, HTTP/2 is not supported.

Resolution

Disable HTTP/2 and use HTTP/1.1 instead.

HTTP/2 is not necessarily enabled at Tomcat level as described in the Steps to Reproduce - for example, it may be enabled at a Load Balancer or a Reverse Proxy.

Additional Information

Questions or suggestions regarding the future Clarity roadmap? Product Management Office Hours details