Remote triggers from Git, to Bamboo working - not allowed, even when in allowed list

We are have having trouble getting remote triggers from Git, to Bamboo working.

 

The message LOGGED IS:

2016-02-19 04:42:21,952 INFO [http-bio-8085-exec-287] [TriggerRemoteBuild] Build request for plan "PLAYGROUND - Deploy using Curl To Strategic BAMS Artifactory (runs but artifact does not appear)" originated from unknown,10.52.132.2 which is not an allowed address (one of[, 10.52.132.2]).

Bamboo version is 5.9.4 build 5919 - 15 Aug 15

 

This is of course odd, as the IP address is in the list of allowed addresses. Can I get this exact version of source code of this class and surounding classes? Or could someone suggest other methods of resolving this.

 

many thanks

 

Dwane

 

 

 

 

 

 

 

 

 

2 answers

1 accepted

0 votes

It seems to me that your request comes from through a proxy with "unknown" origin. Since "unknown" is not host trusted by Bamboo, it will not let the request go through.

If you use proxy for remote triggers both proxy and origin server's IP must be allowed in Bamboo.

Some more digging gave us the following cause and solution

There was a squid proxy between github and bamboo who's x-forwarded settings were changing the headers in the request to:

X-forwarded-for [unknown]

This proxy could not be changed, so a NEW squid reverse proxy (just for github webhooks) was installed on the bamboo server, which could override this setting, and then the webhooks were successfully

 

 

 

 

Suggest an answer

Log in or Join to answer
Community showcase
Renan Battaglin
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,069 views 0 5
Read article

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot