Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-60043

Application Link Status page fails to load due to Case-sensitive checks for Headers

    XMLWordPrintable

Details

    Description

      Note: this is a clone of the original JRASERVER-70602 issue for JIRA. It affects Confluence also, but this ticket will allow to us to track the release and fix.

      Issue Summary

      Trying to configure a new application link or loading the Application link page to list the status of existing Applinks will show "NETWORK ERROR" in red.
      The REST client atlassian-rest-module:3.2.16 while reading headers (eg. Content-Type) does a case-sensitive lookup for them (headers name should be case-insensitive). So when headers are in lower case it can't parse them properly. The problem is triggered by the proxy server, which is converting all HTTP header names to lower-case.

      Steps to Reproduce

      1. Setup two Atlassian applications behind a proxy
      2. Setup HAProxy with HTX enabled on one of the application
      3. Configure Application link between the two applications

      Expected Results

      The application link can be configured and established

      Actual Results

      The application link is not configured correctly with "NETWORK ERROR" due to wrong headers.

      Workaround

      On the proxy side, disable the handling of headers to all lowercase:

      • Example HAProxy, set no option http-use-htx
      • Example for Envoy - header_casing

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kmacleod Kenny MacLeod
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: