-
Notifications
You must be signed in to change notification settings - Fork 101
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
Regression for assume role example #130
Comments
All the other aspects of the demo seem to be working fine except this. |
The problem is that we've got a shared threadpool of 1 for credentials providers here: aws-api/src/cognitect/aws/credentials.clj Line 42 in 2d57c12
assumed-role-credentials-provider issues its request first, which triggers a request to the inner sts 's client, except that one queues up, waiting for the first one to return before the pool will give it a thread to work with.
I'm working on a workaround (until we fix it properly) and will post it here. |
I couldn't come up with a good workaround, so I just fixed it in release 0.8.445. |
Thank you for your interest in helping to improve Cognitect's aws-api!
Dependencies
When I run the example for assume role with the following set of dependencies:
it works fine
But when I use the more recent dependencies
It hangs seemingly forever (I let it run a few minutes) on:
The code example is the one provided in the repo that I linked above.
Stack traces
No stack trace
@dchelimsky FYI
The text was updated successfully, but these errors were encountered: