-
Notifications
You must be signed in to change notification settings - Fork 466
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Credentials could not be loaded" issue #188
Comments
I'm getting the same issue, and it always seems whenever I re-run the jobs manually the issue goes away. |
Having the same problem here, any news of an official workaround? Re-running the job doesn't fix it for me. This is a major issue for us. Raised on the SDK too to hopefully get a better idea about when this error could potentially be triggered. EDIT So I assume this error means the SDK failed to find credentials on any of the credential sources listed in this link in the order provided (I assume the SDKs are consisnt with this regardless of language) EDIT Context, we are using this action on an EKS cluster with IRSA, the role is successfully bootstraps and the |
Thank you for reporting this issue, we have started to take a look into it. We will update you as soon as we find a solution/workaround for this issue. |
😳😳😳 this occured for me due to workflows being assigned to incorrect runners due to a misconfiguration on our side. Workflows were being assigned to some Mac minis instead of our Linux machines. Apologies!!!!!!!! Please ignore my comments 😳. |
We were having this issue as well, it may be related to the Github secrets and read-only token changes. There is more details in this article. Basically Github secrets are no longer visible to pull requests coming from forks, in addition the |
@chenrui333 thanks for reaching out, I had a couple questions that would help us to debug your issue. Are you able to get it to succeed at any point, or is it consistantly failing all the time? Also, based on the previous comment, are you using a fork which has Github Secrets defined in the parent repo, or does your repo itself have the secrets defined? Which Secrets do you have defined (I'm just looking for the Secret Keys, not the actual secret values)? |
@piradeepk It sounds like my issue (and likely @chenrui333's too) has to do with the changes @lharress mentioned. If anyone else having the same issue and is wondering how to add secrets to Dependabot, check out this GitHub blog post. |
@chenrui333 are you still facing this issue? Is it intermittent or continuously occurring? |
@paragbhingre this is happening for me for 100% (or almost 100%) of the builds triggered by |
@johnpeb it sounds like this comment/article may be the issue that's impacting you. If you could try suggestions in this article, and let us know if you're still having issues. |
Looks like this issue is occurring because of changes mentioned in this article. Closing this issue for now. Feel free to reopen if required. |
I am gonna check the above suggestions, yes, this is only happened for me with dependabot PRs. |
I had the same Problem, see #202 My problem was caused by a Dependabot changed. dependabot/dependabot-core#3253 helped my to solve my problem. Hopefully it will spare some time for somebody having the same issue. |
I get this error message when I do a pull request from a fork: |
Was the role set up to use OIDC? Can you share that configuration? |
The role was set up using this stack: https://github.com/aws-samples/aws-codeguru-reviewer-cicd-cdk-sample
|
…349) Github secrets are not visible to pull requests coming from a fork, and in this case dependabot is considered a fork. As we are not dependent to have the snapshot updated with dependabot's changes, we'll skip these steps for those branches. Ref: aws-actions/configure-aws-credentials#188 (comment) Ref: https://dintero.slack.com/archives/G7ESUNQ0Z/p1710881795866189 [skip release] as workflow code is not necessary to make a release for
It looks like it happens more often than before. Not quite sure what would be the workaround solution for it.
The text was updated successfully, but these errors were encountered: