Skip to content
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

using an AWS connection with a profile with invalid creds leads to unresponsive CLI #4040

Open
kaidaguerre opened this issue Dec 20, 2023 · 2 comments
Labels
needs reproduction Reproduction steps are not defined for this issue

Comments

@kaidaguerre
Copy link
Contributor

query retries multiple times; :

  1703072076118: BackoffDelay: attempt=6, retryTime=18.225s, err=failed to sign request: failed to retrieve credentials: failed to refresh cached credentials, no EC2 IMDS role found, operation error ec2imds: GetMetadata, exceeded maximum number of attempts, 3, request send failed, Get "http://169.254.169.254/latest/meta-data/iam/security-credentials/": dial tcp 169.254.169.254:80: i/o timeout

If I then delete the connection and try to shut down, the shutdown stalls until the plugin GetMetadata call completes its retries

2023-12-20 11:35:33.564 UTC [INFO]  execute connection queries
2023-12-20 11:35:33.565 UTC [INFO]  execute 1 delete query
2023-12-20 11:35:37.738 UTC [INFO]  PluginManager Shutdown
2023-12-20 11:35:37.738 UTC [INFO]  PluginManager closing pool
2023-12-20 11:36:24.656 UTC [INFO]  steampipe-plugin-aws.plugin: [INFO]  1703072076118: BackoffDelay: attempt=8, retryTime=3m2.06775s, err=failed to sign request: failed to retrieve credentials: failed to refresh cached credentials, no EC2 IMDS role found, operation error ec2imds: GetMetadata, exceeded maximum number of attempts, 3, request send failed, Get "http://169.254.169.254/latest/meta-data/iam/security-credentials/": dial tcp 169.254.169.254:80: i/o timeout
@kaidaguerre
Copy link
Contributor Author

maybe a plugin issue?

@kaidaguerre kaidaguerre changed the title using a profile with invalid creds leads to unresponsive CLI using an AWS connection with a profile with invalid creds leads to unresponsive CLI Dec 22, 2023
Copy link

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.

@github-actions github-actions bot added the stale No recent activity has been detected on this issue/PR and it will be closed label Feb 21, 2024
@kaidaguerre kaidaguerre added the needs reproduction Reproduction steps are not defined for this issue label Mar 21, 2024
@github-actions github-actions bot removed the stale No recent activity has been detected on this issue/PR and it will be closed label Mar 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs reproduction Reproduction steps are not defined for this issue
Projects
None yet
Development

No branches or pull requests

1 participant