-
Notifications
You must be signed in to change notification settings - Fork 612
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
operation error SQS: ReceiveMessage, get identity: get credentials Failed #2449
Comments
Hi @berlin-mfv , The error you are getting is when the credential chain cannot find a valid source of credentials. Can you tell me which method of setting credentials are you using? Thanks, |
@RanVaknin we hit the same issue with 1.24.1 on IMDS and I created the client with default settings:
|
Likely the same type of module incompatibility issue as seen in #2370. Ensure all your modules under
|
This issue has not received a response in 1 week. If you want to keep this issue open, please just leave a comment below and auto-close will be canceled. |
We hit the same issue in github.com/aws/aws-sdk-go-v2/service/eventbridge ac, err := defaultConfig, err = config.LoadDefaultConfig(
context.Background(),
config.WithRegion("ap-northeast-1"),
config.WithSharedConfigProfile("our-sso-profile"),
)
if err != nil {
panic(err)
}
ec := eventbridge.NewFromConfig(ac)
_, err = ec.PutEvents(ctx, &eventbridge.PutEventsInput{
Entries: reqs, // reqs []types.PutEventsRequestEntry
}) In github.com/aws/aws-sdk-go-v2 v1.24.1, it returns same error. |
|
Describe the bug
I just updated sdk version like belows:
Then my application got error message:
operation error SQS: ReceiveMessage, get identity: get credentials: failed to refresh cached credentials, failed to retrieve credentials, not found, Signing
Expected Behavior
My application running normally without any error message from AWS sdk.
Current Behavior
Then my application got error message:
operation error SQS: ReceiveMessage, get identity: get credentials: failed to refresh cached credentials, failed to retrieve credentials, not found, Signing
Reproduction Steps
I just updated sdk version like belows:
Possible Solution
No response
Additional Information/Context
No response
AWS Go SDK V2 Module Versions Used
github.com/aws/aws-sdk-go-v2/service/sqs v1.29.7
github.com/aws/aws-sdk-go-v2 v1.24.1
Compiler and Version used
1.21.3
Operating System and version
Linux AMD
The text was updated successfully, but these errors were encountered: