Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Issue with Bamboo and Bitbucket Cloud Repository Registration Using Shared Credentials

엄성렬SA September 8, 2024

 

Environment

  • Bamboo Server 7.1.4
  • Bitbucket Cloud

Issue Description

While configuring a Bamboo plan environment, the repository to be used was added under the Default plan configuration > Repositories menu.
Currently, the method to connect Bamboo to Bitbucket Cloud involves adding an app password from the Bitbucket Cloud account and then adding this key under the Bamboo Shared Credentials menu, which allowed successful registration.
However, as of September 6th, repository registration is failing for all IDs except for a specific ID's Shared Credentials. My account has admin privileges on both Bitbucket and Bamboo, but I am still unable to register repositories (this was previously working without any issues).
The currently applied plans are still functional, but there is a problem when trying to register additional repositories.
How can this be resolved?

 

Error Details

2024-09-09 14:04:12,477 WARN [http-nio-8085-exec-280] [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.webwork.StarterAction@2acba534; configuration attributes: [WW_READ, GLOBAL_READ]

1 answer

1 vote
Shashank Kumar
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 10, 2024

Hello 엄성렬SA,

Welcome to Atlassian community.

1. Can you provide a screen shot of the error which you are seeing ?

2. Is there anything else in the logs apart from the Warning message when you try to save the repository.

Regards,

Shashank Kumar

엄성렬SA September 10, 2024

Hi @Shashank Kumar ,

 

1. screenshot-1.png

2. Here is some additional information.

Error Details
2024-09-11 11:09:31,999 WARN [http-nio-8085-exec-26] [RESTCall] Response from GET https://api.bitbucket.org/2.0/workspaces/sreom/ (404)
2024-09-11 11:09:32,688 WARN [http-nio-8085-exec-26] [RESTCall] Response from GET https://api.bitbucket.org/2.0/users/sreom/ (404)
2024-09-11 11:09:33,378 WARN [http-nio-8085-exec-26] [RESTCall] Response from GET https://api.bitbucket.org/2.0/teams/sreom/ (404)
2024-09-11 11:09:33,636 WARN [http-nio-8085-exec-9] [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.webwork.StarterAction@50dba756; configuration attributes: [WW_READ, GLOBAL_READ]

Shashank Kumar
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 11, 2024

I think you are affected by this bug > BAM-20988 Invalid username when attempting to save a Bitbucket Cloud repository when no workspace exists that matches username 

Either you'll need to upgrade Bamboo or refer the workaround.

Regards,

Shashank Kumar

*please don't forget to Accept the answer if your query was answered**

Like Steffen Opel _Utoolity_ likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events