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

Bitbucket connection with OIDC suddenly stopped working occasionally

Eyal Yaish
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 8, 2024

 

Hello,

I've been utilizing Bitbucket Pipelines for several years without issue. However, recently, I've encountered intermittent connection issues to AWS, specifically when steps in my pipeline attempt to assume roles using OpenID Connect (OIDC). The error message is as follows:

 An error occurred (InvalidIdentityToken) when calling the AssumeRoleWithWebIdentity operation: No OpenID Connect provider found in your account for https://api.bitbucket.org/2.0/workspaces/*****/pipelines-config/identity/oidc

I haven't made any changes to my pipeline configuration or AWS setup that could have led to this issue. Interestingly, the problem isn't consistent: some steps within the same pipeline fail due to this error, while others execute successfully. In a different pipeline, a step might fail with this error on the first attempt but succeed on subsequent retries.

Could this be related to a change in Bitbucket's or AWS's handling of OIDC? Has anyone else experienced similar issues, or does anyone have insights on how to resolve this problem?

Thank you for your assistance,
Eyal Yaish

2 answers

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 9, 2024

Hi @Eyal Yaish and @pepe,

I haven't seen this issue reported before. You can create a ticket with the Bitbucket Cloud support team and provide the URL of a failed build for initial investigation, in case this is caused by something on our side. If it is not, the support team will let you know and you can reach out to AWS support.

You can create a ticket via https://support.atlassian.com/contact/#/, in "What can we help you with?" select "Technical issues and bugs" and then Bitbucket Cloud as product. When you are asked to provide the workspace URL, please make sure you enter the URL of the workspace that is on a paid billing plan to proceed with ticket creation.

Kind regards,
Theodora

Eyal Yaish
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 10, 2024

Thanks, 
I will create the ticket. 

Eyal Yaish

Like Theodora Boudale likes this
0 votes
pepe February 8, 2024

Same situation

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events