Skip to content

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

@klemmster

Description

@klemmster

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.

jwt = await core.getIDToken(githubAudience)

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:
aws-actions/configure-aws-credentials#469
https://github.com/aws-actions/configure-aws-credentials/blob/a5dceb9b44a45021a99d8625cf6bc63214e8114c/src/index.ts#L112

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions