vault-action icon indicating copy to clipboard operation
vault-action copied to clipboard

[BUG] Intermittant: "Error message: Failed to get ID Token."

Open klemmster opened this issue 1 year ago • 2 comments

Before I invest time in this, would you be open to contributions here?

Vault server version

1.15.2

vault-action version

v2.8.0

Describe the bug

In the last two weeks we've seen more occurrences of this. https://github.com/hashicorp/vault-action/blob/9f522b85981b491eab9a52c144d15aedbd0bf371/src/auth.js#L38 This line is failing.

Error: Error message: Failed to get ID Token. 
 
        Error Code : undefined
 
        Error Message: 

To Reproduce

It's likely an underlying github issue and happens more frequently recently.

Expected behavior

Just retry the idToken retrieval.

Log Output

Additional context

Add any other context about the problem here. Others have implemented retries, too: https://github.com/aws-actions/configure-aws-credentials/issues/469 https://github.com/aws-actions/configure-aws-credentials/blob/a5dceb9b44a45021a99d8625cf6bc63214e8114c/src/index.ts#L112

klemmster avatar Feb 12 '24 11:02 klemmster

somewhat related PR: #442

klemmster avatar Feb 16 '24 14:02 klemmster

same problem for me as well

moudgalya1223 avatar Aug 09 '24 07:08 moudgalya1223