99designs / aws-vault

A vault for securely storing and accessing AWS credentials in development environments

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

net/http: TLS handshake timeout

flintkr opened this issue · comments

  • I am using the latest release of AWS Vault
  • I have provided my .aws/config (redacted if necessary)
  • I have provided the debug output using aws-vault --debug (redacted if necessary)

I recently started getting the error aws-vault: error: login: profile identity: operation error IAM: GetUser, exceeded maximum number of attempts, 3, https response error StatusCode: 0, RequestID: , request send failed, Post "https://iam.amazonaws.com/": net/http: TLS handshake timeout after upgrading to MacOS Moneterey and the latest version of aws-vault. I am still able to run commands when using the same credentials using just the AWS cli. Any help would be appreciated.

Full --debug log:

aws-vault login identity --debug
aws-vault v6.6.0
[keyring] Considering backends: [keychain]
Loading config file /Users/flintkr/.aws/config
Parsing config file /Users/flintkr/.aws/config
[keyring] Querying keychain for service="aws-vault", keychain="aws-vault.keychain"
[keyring] Found 2 results
Looking up keyring for 'identity'
[keyring] Querying keychain for service="aws-vault", account="identity", keychain="aws-vault.keychain"
[keyring] Found item "aws-vault (identity)"
Looking up keyring for 'identity'
[keyring] Querying keychain for service="aws-vault", account="identity", keychain="aws-vault.keychain"
[keyring] Found item "aws-vault (identity)"
Looking up keyring for 'identity'
[keyring] Querying keychain for service="aws-vault", account="identity", keychain="aws-vault.keychain"
[keyring] Found item "aws-vault (identity)"
aws-vault: error: login: profile identity: operation error IAM: GetUser, exceeded maximum number of attempts, 3, https response error StatusCode: 0, RequestID: , request send failed, Post "https://iam.amazonaws.com/": net/http: TLS handshake timeout

Aws config:

[profile identity]
region=us-east-1
output=json

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.