How to bypass the server proxy on remote agent connection

Still need help?

The Atlassian Community is here for you.

Ask the community


It is possible to avoid agent communication problems bypassing the reverse proxy Bamboo uses.

If you are attempting this in order to fix artifact transfer problems (rejections, timeouts, etc.). Make sure the proxy server supports HTTP/1.1:  Agent upload of artifacts fails to set Content-Length in HTTP/1.1. Guiding questions:

  • Is HTTP/1.0 compatibility turned on? 
  • Are there any configuration options turned on related to chunked transfer encoding?


Remote agents

  1. Stop Bamboo
  2. Edit the <Bamboo_Install>/conf/server.xml file
  3. Add a new connector without the attributes (proxyName and proxyPort)
  4. Start Bamboo
  5. Stop the remote agent

  6. Update the <URL:PORT> used by your agent to match new connector added (How to update the Bamboo server URL on an installed agent)
  7. Restart the agent

Elastic agents

  1. Stop the Bamboo server
  2. Add the following system property in your Bamboo startup JVM (more details on  Configuring your system properties)

    (warning) Make sure you update the 8085 to match the Tomcat port configured in your Bamboo instance to receive HTTP connections. 
    (warning) You may need to update to match the non-proxied URL.

  3. Restart your EC2 agent

Last modified on Dec 6, 2019

Was this helpful?

Provide feedback about this article
Powered by Confluence and Scroll Viewport.