Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-21028

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


    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 7.2.0, 7.1.2
    • allversions
    • Installation
    • None

      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.


      Generate HAR file in the process of configuring or loading the Application link page.

      • On Application link page load, locate /rest/applinks-oauth/latest/applicationlink/<applinkid>/authentication and see UNEXPECTED_RESPONSE in its body.



      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

            achystoprudov Alexey Chystoprudov
            achystoprudov Alexey Chystoprudov
            0 Vote for this issue
            3 Start watching this issue