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

Bamboo doesn't see Bitbucket Server mirrors when using outbound HTTP(S) proxy

      Issue Summary

      When Bamboo is configured to use an outbound HTTP(S) proxy, whenever a Bitbucket Server-type repository is being added or edited in Bamboo, Bamboo is unable to obtain a list of Bitbucket Server mirrors, thus forcing the user to choose the primary mirror.

      Environment

      Bamboo with outbound HTTP or HTTPS proxy, Bitbucket Server with Smart Mirrors.
      https://confluence.atlassian.com/kb/how-to-configure-outbound-http-and-https-proxy-for-your-atlassian-application-834000120.html
      https://confluence.atlassian.com/bitbucketserver/smart-mirroring-776640046.html

      Steps to Reproduce

      1. Create or edit a Bitbucket Server repository
      2. Go to advanced options
      3. Try to select a Bitbucket Server mirror

      Expected Results

      The mirror is available and can be selected.

      Actual Results

      No mirrors are available, except for the primary server.

      The below is logged if log level DEBUG is set for package com.atlassian.bamboo.plugins.stash:

      [BitbucketSeverMirrorClient] Error connecting to mirror: <mirrorName>
      [BitbucketSeverMirrorClient] java.lang.UnsupportedOperationException
      

      Notes

      Without the outbound proxy, system behaves as expected.

      Workaround

      Use primary BbS server or disable outbound HTTP(S) proxy.

            [BAM-20478] Bamboo doesn't see Bitbucket Server mirrors when using outbound HTTP(S) proxy

            There are no comments yet on this issue.

              moles Marcin Oles
              moles Marcin Oles
              Affected customers:
              0 This affects my team
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: