-
Bug
-
Resolution: Fixed
-
Medium
-
None
-
2.5.3, 5.5, 5.5.1
-
Severity 2 - Major
-
The validation fails if a IPv6 address is entered. Also, having IPv6 enabled, breaks Bamboo IP Whitelisting.
The following error is returned when the build is triggered:
<errors> <error>Build request for plan "My Plan" originated from 127.0.0.1,0:0:0:0:0:0:0:1 which is not an allowed address (one of[, 127.0.0.1]).</error> </errors>
Workaround
If IPv6 is enabled on the Bamboo server, it can be disabled to workaround this issue.
This bug is critical for me since it does not allow to add any trigger.
When I call curl http://127.0.0.1/api/rest/updateAndBuild.action?buildKey=ABC-DEFG I always get the message:
<error>Build request for plan "Dummy - Dummy Plan" originated from 127.0.0.1,0:0:0:0:0:0:0:1 which is not an allowed address (one of[, 127.0.0.1]).</error>
But I am unable to add 127.0.0.1,0:0:0:0:0:0:0:1 to the IP addresses list ("Trigger IP addresses" field under "Plan configuration >> Triggers" tab). I have the problem when I add an IP from any network (at home, work, customer, other server etc.)
This completely blocks the usage of hooks since it does not work for any configuration and there is no workaround.