bitbucket cloud is not working and bitbucket app password from bamboo server don't authorization
Asked by ???SA:

hi

bitbucket cloud is not working and I have been using an app password successfully on the Bamboo server, but it's no longer working, and I don't know how to fix it.

2024-09-06 14:55:00,878 WARN \[http-nio-8085-exec-277\] \[AuthorizationLoggerListener\] Authorization failed: org.acegisecurity.AccessDeniedException: Access is denied; authenticated principal: org.acegisecurity.providers.anonymous.AnonymousAuthenticationToken@90556c3e: Username: anonymousUser; Password: \[PROTECTED\]; Authenticated: true; Details: org.acegisecurity.ui.WebAuthenticationDetails@1de6: RemoteIpAddress: 10.13.11.148; SessionId: null; Granted Authorities: ROLE_ANONYMOUS; secure object: com.atlassian.bamboo.ww2.actions.build.ChainJsonProviderAction@26f17c3c; configuration attributes: \[WW_READ, GLOBAL_READ\] 2024-09-06 14:55:08,759 WARN \[http-nio-8085-exec-253\] \[AuthorizationLoggerListener\] Authorization failed: org.acegisecurity.AccessDeniedException: Access is denied; authenticated principal: org.acegisecurity.providers.anonymous.AnonymousAuthenticationToken@6faaf9b0: Username: anonymousUser; Password: \[PROTECTED\]; Authenticated: true; Details: org.acegisecurity.ui.WebAuthenticationDetails@ffff8868: RemoteIpAddress: 10.13.12.10; SessionId: null; Granted Authorities: ROLE_ANONYMOUS; secure object: com.atlassian.bamboo.webwork.StarterAction@77c63a51; configuration attributes: \[WW_READ, GLOBAL_READ\] 2024-09-06 14:55:09,549 WARN \[http-nio-8085-exec-279\] \[AuthorizationLoggerListener\] Authorization failed: org.acegisecurity.AccessDeniedException: Access is denied; authenticated principal: org.acegisecurity.providers.anonymous.AnonymousAuthenticationToken@6faaf9b0: Username: anonymousUser; Password: \[PROTECTED\]; Authenticated: true; Details: org.acegisecurity.ui.WebAuthenticationDetails@ffff8868: RemoteIpAddress: 10.13.12.10; SessionId: null; Granted Authorities: ROLE_ANONYMOUS; secure object: com.atlassian.bamboo.webwork.StarterAction@673f52c; configuration attributes: \[WW_READ, GLOBAL_READ\]


Answers:
author: Jerrold - Empyra
body: Hi [@???SA](/t5/user/viewprofilepage/user-id/5152256)

There is a active incident in Bitbucket cloud now. you can follow the status of the incident in Atlassian status - <https://status.atlassian.com/>

Bitbucket - <https://bitbucket.status.atlassian.com/>

Thank you.

comments: author: Jerrold - Empyra
body: Hi [@???SA](/t5/user/viewprofilepage/user-id/5152256)

They have informed that the incident has been resolved can you try if you are able to access the bitbucket cloud now

Thank you.


author: ???SA
body: hi [@Jerrold - Empyra](/t5/user/viewprofilepage/user-id/5352480)

it still not working x(

same error log


author: Jerrold - Empyra
body: Hi [@???SA](/t5/user/viewprofilepage/user-id/5152256)

Can i get more information like when you are getting this particular error while logging into the bitbucket cloud or to perform any other action because based on the error log it seems like your Bamboo server is trying to perform actions that require more privileges than those granted to an anonymous user. can you update the app password and try again.

Thank you.


author: ???SA
body: \<screenshot_removed\>

Hi [@Jerrold - Empyra](/t5/user/viewprofilepage/user-id/5352480)

i try new one. but it still not work   
Thank you


author: ???SA
body: additional, It was an app password that was originally working well, and it is still functioning properly during Bamboo deployments. However, now there's an issue occurring when I register a new repo and perform the test connection.


author: Theodora Boudale
body: Hi [@???SA](/t5/user/viewprofilepage/user-id/5152256),

One thing to check is whether the user, whose username and app password are using, has access to this specific Bitbucket repo. Are you able to clone this repository from a terminal application, outside of Bamboo, using that username and app password?

If that is successful, then I suggest raising a request with the Bamboo support team:

* <https://confluence.atlassian.com/bamboo/raising-a-request-with-atlassian-support-625672748.html>

I don't know what API call Bamboo is making when it tests the connection. There is also no indication of what is the status code of that request; is it a 401 error, a 403 error, or something different? I also see in the output you shared "Username: anonymousUser", so it's not clear if the credentials you provided are used by Bamboo.

Just a heads up, I removed the screenshot from your post for privacy reasons, as the repo details were visible.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud