• Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Description

      When creating AppLinks between Bamboo and another Atlassian application going through a proxy set up with SNI, the AppLinks won't work properly.

      This issue is caused by the commons-httpclient version (3.0.1) used by Bamboo, which does not have support for TLS - SNI.

      Environment

      Java version 1.7 or newer (starting from the java version 1.7 TLS 1.1 and 1.2 are disabled by default).

      Expected results

      The AppLink can be successfully created.

      Actual results

      It is not possible to successfully create an AppLink and the following stack trace can be found in the atlassian-bamboo.log

      2015-09-01 17:02:29,222 ERROR [http-bio-8085-exec-11] [CreateApplicationLinkUIResource] ManifestNotFoundException thrown while retrieving manifest
      com.atlassian.applinks.spi.manifest.ManifestNotFoundException: javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)
          at com.atlassian.applinks.core.manifest.AppLinksManifestDownloader.download1(AppLinksManifestDownloader.java:201)
          at com.atlassian.applinks.core.manifest.AppLinksManifestDownloader.access$000(AppLinksManifestDownloader.java:44)
          at com.atlassian.applinks.core.manifest.AppLinksManifestDownloader$1$1.<init>(AppLinksManifestDownloader.java:86)
          at com.atlassian.applinks.core.manifest.AppLinksManifestDownloader$1.apply(AppLinksManifestDownloader.java:79)
          at com.atlassian.applinks.core.manifest.AppLinksManifestDownloader$1.apply(AppLinksManifestDownloader.java:76)
          at com.google.common.collect.ComputingConcurrentHashMap$ComputingValueReference.compute(ComputingConcurrentHashMap.java:355)
          at com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.compute(ComputingConcurrentHashMap.java:184)
      ...
      ...
      

      Notes

      This ticket is about the link from Bamboo to another Atlassian application.
      The improvement related to the connection from JIRA to Bamboo (or any other Atlassian applications) is described here JRA-24515.

      Workarounds

      As this issue is fixed, please consider upgrading before applying any of the following workarounds.

      The following workaround options are alternatives, please choose the best one for your case.

      Workaround - option #1
      Use a newer commons-httpclient jar version (you need at least version 3.1-atlassian-2) by following these steps:

      1. # Shutdown Bamboo
      2. Download this commons-httpclient-3.1-atlassian-2.jar into the machine hosting Bamboo
      3. Backup and delete /opt/atlassian/bamboo/atlassian-bamboo/WEB-INF/lib/commons-httpclient-3.0.1.jar
      4. Move the file commons-httpclient-3.1-atlassian-2.jar into the directory /opt/atlassian/bamboo/atlassian-bamboo/WEB-INF/lib
      5. Restart Bamboo

      Workaround - option #2
      Add the following Java properties to the Bamboo Java properties:

      -Dhttps.protocols=TLSv1.1,TLSv1.2
      

      Workaround - option #3
      Connect the Atlassian applications bypassing the proxy.

      You can find the instructions describing the changes required to your environment, and how to recreate the AppLinks bypassing the proxy here:
      How to create an unproxied Application Link

            [BAM-16239] Bamboo should support the use of TLS - SNI

            Rachel Robins made changes -
            Remote Link Original: This issue links to "Page (Atlassian Documentation)" [ 121632 ]
            Katherine Yabut made changes -
            Workflow Original: JAC Suggestion Workflow [ 3017207 ] New: JAC Suggestion Workflow 3 [ 3596847 ]
            Status Original: RESOLVED [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: Confluence Workflow - Public Facing v4 [ 2702471 ] New: JAC Suggestion Workflow [ 3017207 ]
            Owen made changes -
            Issue Type Original: Improvement [ 4 ] New: Suggestion [ 10000 ]
            Owen made changes -
            Workflow Original: Bamboo Workflow 2016 v1 [ 1422140 ] New: Confluence Workflow - Public Facing v4 [ 2702471 ]
            vkharisma made changes -
            Link New: This issue relates to JRACLOUD-24515 [ JRACLOUD-24515 ]
            Marek Went (Inactive) made changes -
            Workflow Original: Bamboo Workflow 2014 v2 [ 934359 ] New: Bamboo Workflow 2016 v1 [ 1422140 ]
            John Chin made changes -
            Affects Version/s New: 5.6.0 [ 40496 ]
            Caterina Curti made changes -
            Link New: This issue relates to CRUC-7490 [ CRUC-7490 ]
            Caterina Curti made changes -
            Regular Expression Original: No appropriate protocol \(protocol is disabled or cipher suites are inappropriate\) New: com\.atlassian\.applinks\.spi\.manifest\.ManifestNotFoundException: javax\.net\.ssl\.SSLHandshakeException: No appropriate protocol \(protocol is disabled or cipher suites are inappropriate\)

              kbrazulewicz Krystian Brazulewicz
              cbenard Carlen Benard (Inactive)
              Votes:
              6 Vote for this issue
              Watchers:
              18 Start watching this issue

                Created:
                Updated:
                Resolved: