Bamboo receiving 401 when trying to publish build status to Stash

Hi,

I have tried seaching for any information relating to this issue. I am running the download version of Bamboo and Stash.

Application links seem to be set up correctly with Basic Auth (a user with full admin). I have also given the user full admin to the Project on Stash, however, when trying to push results to Stash I get the following error on the build.

"401 Unauthorized" received while attempting to store build status against Stash instance `Stash', check your application link configuration.

I should also mention that I have another instance running for open source projects with pretty much the same set up and that works perfectly.

Any help on this matter would be greatly appreciated.

Thanks

Phil

4 answers

Hi Phil,

I'm not sure about this. It may be related to a known regression in applinks:

https://ecosystem.atlassian.net/browse/APL-1135

But I'm not sure if that affects Bamboo in this instance.

If you haven't already I would recommend you raising a support ticket and attach your Bamboo (and Stash) logs so we can help.

Cheers,

Charles

Hi Phil,

Please review the following KB article and follow the resolution steps.

If the problem doesn't get resolved, please open a support ticket:

https://confluence.atlassian.com/display/BAMKB/Unable+to+see+Bamboo+build+results+in+Stash

Thank you.

Best,

Sepideh

I have exactly the same Problem and followed the guide you provided - unfortunately without success :-( In Stash I have ssh with ssh-key activated - might this cause trouble when bamboo tries to access the stash repository without having valid key?

what is the resolution of this? 

We get several of these every night.  I have deleted and re-created all application links a few times - but to no avail.  The Application link health checks all get a tick.

So why does this error occur and what are the consequences of it having occurred?

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn 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,790 views 0 6
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