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

EC2 Agents do not support virtual hosts after downloading classpath zip

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • None
    • 3.3
    • Agents, Elastic Bamboo

    Description

      It seems that the AgentContext (responsible for creation of HttpClient) created via reflection during bootstrap process does not inject the Host parameter correctly. Fingerprints/main classpath is loaded OK, but the bundled plugins aren't.
      This is a regression introduced when we added Agent v2 support.
      Workarounds:

      • route all calls with Host header set to 127.0.0.1 directly to Bamboo's virtual host. The workaround cannot be used if the HTTP server fronts more than one Bamboo server.
      • Set the BaseURL directly to non-fronted address. This does not mean that the non-fronted address has to be used for WWW access or exposed to Internet. I haven't tested this, but it will probably work.

      Attachments

        Activity

          People

            pbruski Przemek Bruski
            pbruski Przemek Bruski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: