Bamboo Agent Installer ignoring port in URL

upsampled October 4, 2017

I am running several Atlassian tools behind an Nginx proxy using HTTPS with Mutual TLS (browser needs a valid certificate). This makes it so that the Atlassian products speak to each other over HTTP behind the proxy in order to avoid trying to get them to implement Mutual TLS. I have set up a build sever behind the proxy as well and am trying to set up a remote agent for Bamboo on it. I have downloaded the JAR file to the build server and point toward the bamboo servers HTTP port 8085 with the command:

java -jar atlassian-bamboo-agent-installer-6.1.1.jar http://<private ip address>:8085/bamboo/agentServer/

However I am getting an HTTPS certificate error

Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

 Looking at the logs more I see that the URL is ignoring the port:

Agent bootstrap using endpoint: http://<private ip>/bamboo/agentServer/

How can i get the bamboo agent to recognize the port in the URL? 

2 answers

2 accepted

1 vote
Answer accepted
Przemek Bruski
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 5, 2017

To achieve the same result without deleting the agent dir, you can run
java -jar agent-installer.jar URL install

1 vote
Answer accepted
upsampled October 5, 2017

The solution was to delete the Bambo Agent home directory and run the correct command. I must have initially typed the URL without the port. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events