Skip to content

How to debug credetials not loaded issue? #810

Answered by rcoh
vbmade2000 asked this question in Q&A
Discussion options

You must be logged in to vote

is there a reason you're overriding the credentials provider with the default provider? I don't think that would do anything. If you're trying to get something to work locally, I'd suggest s3_config.builder.credentials_provider(Credentials::for_tests()) in the if testing block.

In general, the best way to debug the SDK is using tracing

tracing_subscriber::fmt::init()

Then, rerun with RUST_LOG=debug set.

However, if the operation timed out, that implies that you aren't able to actually connect to S3–if credentials couldn't be loaded, it would fail-fast with a different error.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@vbmade2000
Comment options

@vbmade2000
Comment options

Answer selected by Velfi
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants