Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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: 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

0 votes
Answer accepted

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. 

0 votes
Answer accepted

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
TAGS
Community showcase
Published in Bamboo

Bamboo 7.1 is here and is packed with value!

I'm happy to announce that Bamboo 7.1 has been released and it’s overflowing with awesome new features. Top-voted issues First and foremost, a bunch of JAC top voted issues has been delivered - y...

673 views 1 6
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you