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 Sign up to answer
Community showcase
Posted Monday in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

154 views 3 4
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