You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i observe latency every 5 - 15 minutes or so when for example trying to make a dynamodb call and the token is expired and AssumeRoleWithWebIdentity is called to the regional aws sts endpoint with a average latency of around 100ms - 200ms
Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.
Describe the bug
Encountered interesting issue with GetCredentialsAsync() + "slow" AssumeRoleWithWebIdentityCredentials + tight timeout on calls to our app.
https://github.com/aws/aws-sdk-net/blob/master/sdk/src/Core/Amazon.Runtime/Credentials/RefreshingAWSCredentials.cs#L146
Unfortunately don't have statistics from aws .net sdk, but have from aws nodejs sdk. Assume this slow call is about the same
we tried to implement simple wrapper
that works pretty well, because number of timeout errors goes down after deploying this fix (24th)
Expected Behavior
background refreshing token
Current Behavior
global lock
Reproduction Steps
do not apply
Possible Solution
No response
Additional Information/Context
No response
AWS .NET SDK and/or Package version used
AWSSDK.Core 3.7.8.2
Targeted .NET Platform
.NET 6.0
Operating System and version
aws eks, docker, Debian 11, mcr.microsoft.com/dotnet/aspnet:6.0
The text was updated successfully, but these errors were encountered: