-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Long loading time when initializing Aws::Auth::AWSCredentials #3004
Comments
I can't seem to reproduce the same loading time that you're seeing. I modified your sample slightly to get it to run by itself, but I'm only seeing 1 millisecond elapse:
Can you provide more details on reproducing this. (a docker container would be great). It it possible something else in your test is causing this to take 5 seconds? Something in your environment? |
Hi, im really new to the aws cpp sdk. I just download it from homebrew, put the lib and headers in my project and run it. |
Can you try building this sdk from source and see if you can document your reproduction steps. Here are the steps for how to do this. Please let me know if you have any problems/questions while trying to do this. |
I've tried to compile the sdk myself. but I keep getting runtime missing dylib errors. the homebrew version only needs a few dylibs, but when I build the sdk myself. it seem to ask for a lot of other dylibs. |
if only someone could provide a cpp binary package that works on all platform with instructions on which libraries are meant for which. |
This issue is now closed. Comments on closed issues are hard for our team to see. |
I sorry that you were unable to build this sdk without running into missing dylibs. We provide many different configuration options when building this sdk and there are many difference platforms that this sdk can be build for. So for those reasons and many others we don't provide a binary package. If you share the errors that you are currently running into I can try to help you build this sdk. |
Describe the bug
Expected Behavior
I Expected no or minimal delays between printing the log
CAWSManager::InitFunctions 1
CAWSManager::InitFunctions 2
CAWSManager::InitFunctions 3
CAWSManager::InitFunctions 4
but in between "CAWSManager::InitFunctions 2" and "CAWSManager::InitFunctions 3"
it takes around 5 seconds to finish constructing the Aws::Auth::AWSCredentials
may I know how should I eliminate this problem?
I saw a similar problem in the past where adding disableIMDS = true solves it, but this time it doesn't
Current Behavior
but in between "CAWSManager::InitFunctions 2" and "CAWSManager::InitFunctions 3"
it takes around 5 seconds to finish constructing the Aws::Auth::AWSCredentials
may I know how should I eliminate this problem?
I saw a similar problem in the past where adding disableIMDS = true solves it, but this time it doesn't
Reproduction Steps
Possible Solution
im looking for the solution...
Additional Information/Context
No response
AWS CPP SDK version used
1.11.330 from homebrew
Compiler and Version used
Apple clang in Xcode latest
Operating System and version
macOS 14.5 (23F79)
The text was updated successfully, but these errors were encountered: