Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-5501

Outbound Proxy is bypassed when connecting to external Crowd Directory

    XMLWordPrintable

Details

    Description

      Steps to reproduce

      1. Set up Stash using an outbound proxy. In my case, Stash is set to go through Charles proxy setup in the same machine with the following parameter, nonproxyhost is unset to force all connection through the proxy:
        -Dhttp.proxyHost=localhost -Dhttp.proxyPort=8888 -Dhttps.proxyHost=localhost -Dhttps.proxyPort=8888
      2. Add a Crowd Directory in Stash

      Expected Results

      The request should go through the outgoing proxy set

      Actual Results

      The request bypasses the proxy. This is proven by the absence of the request from Charles proxy logging. All other connection such as UPM and Application link goes through the proxy, as in Charles proxy logs:

      The crowd server used for testing is located at http://10.60.3.44:8095/crowd which is absent from the proxy logs

      When using an invalid proxy, connection to Marketplace would fail as expected but connection to Crowd directory will still work as another test to prove that the proxy is being bypassed when adding a directory

      Attachments

        Issue Links

          Activity

            People

              khughes@atlassian.com Kristy
              dlee@atlassian.com Deric Lee (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: