Bamboo Agent Installer ignoring port in URL

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: PKIX path building failed: 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

1 accepted

This widget could not be displayed.

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. 

This widget could not be displayed.

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

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted yesterday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

54 views 1 0
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you