Bamboo and Stash application link requires Trusted Application, builds work, updates to stash don't

I'm setting up Bamboo and Stash on a single Windows server with IIS proxying so that the urls look like http://<servername>/stash and http://<servername>/bamboo

User authentication is from AD via Crowd.

When I try to create the Application link from Bamboo, it fails to create the reciprocal link and the pop-up just says ACT. 

When I try to create the Application link from Stash, it works (and successfully creates the reciprocal link), but Bamboo can't see the repositories until Trusted Application is turned on.

Builds complete but report a '"401 Unauthorized" received while attempting to store build status against Stash instance' error

I suspect the 401 is related to the ACT failure to create reciprocal links if the link creation starts from Bamboo. The page on troubleshooting links is not very helpful because it does not provide hints for getting from symptoms to which layers are likely to be a problem.

3 answers

Eventually got the links to connect even with link creation from Bamboo. However, the 401 still happens. Nothing shows up in the stash logs at all. Bamboo just records the fact that it received 401s from Stash. 401 - 21 "-" "Atlassian-VS-Connector" 172.16.10.160 [31/Jul/2015:12:09:09 -0700] "GET /bamboo/api/rest/login.action?os_authType=basic HTTP/1.1" 401 1073 27 "-" "Atlassian-VS-Connector"

Upgraded Stash and Bamboo to latest versions (Crowd had no later available). Behavior continues. Bamboo linked repositories only access Stash when Trusted application links are configured. Bamboo attempt to notify Stash of builds fails with 401 with Trusted application with any (or none) of OAuth and Base.

0 vote

Hello Elyse, please create request at support.atlassian.com, our Support team will help you

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
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,499 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