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

Elastic Agents cannot connect if the Bamboo Server is unable to connect to its own Base URL

    • 4
    • 48
    • 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.

      Problem Definition

      Traffic between the Bamboo Server and Elastic agents is tunneled. HTTP traffic from the Elastic Agent arrives on the Bamboo Server via the tunnel and it is routed by the tunnel client to the Base URL (Bamboo Administration >> Overview >> General Configuration >> Base URL) of the Bamboo Server.

      If the Base URL of the instance cannot be reached from the Bamboo Server (e.g. the address is a load balancer or reverse proxy and the Bamboo Server has no outbound access), the HTTP connection cannot be established.

      Suggested Solution

      Programmatically add a separate Tomcat HTTP connector for receiving HTTP traffic from the tunnel client that binds to loopback. Prioritize connection attempts as follows:

      1. Value of bamboo.ec2.agent.endpoint override argument
      2. New HTTP connector
      3. Fallback to Base URL

      Workaround

            [BAM-19870] Elastic Agents cannot connect if the Bamboo Server is unable to connect to its own Base URL

            The referenced workaround got our system up and running, but there really needs to be a real fix provided that doesn't require modifying the install dir, which will get blown away each time the system is upgraded.

            Dan Rossiter added a comment - The referenced workaround got our system up and running, but there really needs to be a real fix provided that doesn't require modifying the install dir, which will get blown away each time the system is upgraded.

              Unassigned Unassigned
              jowen@atlassian.com Jeremy Owen
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: