SVN postcommit trigger redirects to login page

We've updated our SVN postCommit script according to the Bamboo docs here.  However, when a commit triggers this command the request is redirected to the login page.  I've tested the same link in a browser, and if I then login I receive a valid error: "Build request for plan.....originated from....which is not an allowed address...".

Is there a setting we've missed that will avoid this redirect?

2 answers

0 votes

Hello Curtis,

Thank you for your question.

It might be the case where you have specified "Trigger IP addresses" under "Plan Configuration >> Triggers" tab.

Screen Shot 2015-03-03 at 9.40.54 AM.png

Please, refer to Repository triggers the build when changes are committed documentation for further information.

If you find this answer useful, I would kindly ask you to accept it so the same will be visible to others who might be facing the same issue you have inquired.

Thank you for your understanding.

Kind regards,
Rafael P. Sperafico
Atlassian Support

We have defined IPs specific to our repository.  The response to the request is as follows:

Build request for plan "PROJECT - Plan" originated from 172.31.146.59,127.0.0.1 which is not an allowed address (one of[129.83.19.45, 172.31.146.59]). 

This response doesn't make sense to me because the orginating address is included in the allowed addresses.

Hello Curtis, It seems you are experiencing the issue described in here: https://jira.atlassian.com/browse/BAM-1172 — Kind regards, Rafael P. Sperafico Atlassian Support

Yeah, try adding "127.0.0.1" to your list of allowed IPs

That did the trick (adding 127.0.0.1). Thanks for the support Rafael and Krystian!

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,070 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