Replies: 3 comments 3 replies
-
I've updated the error messaging to use some more context: let resp = match self.client.get_secret_value().secret_id(name).send().await {
Ok(r) => r,
Err(e) => {
error!("Could not retrieve secret '{}': {:?}", name, e);
...
... The log line now reads
How can there be a timeout (consistent) when running on AWS? |
Beta Was this translation helpful? Give feedback.
3 replies
-
Ok... so all I had to do was move the Lambda out of the VPC it was running in.. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
My Secrets Manager code is failing to retrieve credentials but the error message is just
"dispatch failure"
(log attached below). I see log lines (DEBUG) with stuff likeconfig file not found path=~/.aws/config
andcurrent throughput: 0 B/s is below minimum: 1 B/s
. I would expect that AWS lambda runtime would have all CA certs available so I've been ignoring these errors. If it was an IAM retrieval error, I would expect more detailed logging (as far as I can see, IAM permissions are good).This work fine, on my local, but fails on AWS. What am I doing wrong?
Runtime settings:
Can't share the complete setup but my secrets manager code is the following:
Running with DEBUG set gives me the following log output:
log-events-viewer-result.csv
Beta Was this translation helpful? Give feedback.
All reactions