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

ERR_OSSL_UNSUPPORTED library: 'DECODER routines' | Self-hosted Windows runner #212

Open
sijjay opened this issue Mar 17, 2025 · 2 comments

Comments

@sijjay
Copy link

sijjay commented Mar 17, 2025

Hello team,

here the error of using v1 on self-hosted Windows runner:

repositories not set, creating token for all repositories for given owner "Tractor-Supply-Enterprise-Reliability"
Failed to create token for "Tractor-Supply-Enterprise-Reliability" (attempt 1): error:1E08010C:DECODER routines::unsupported
Failed to create token for "Tractor-Supply-Enterprise-Reliability" (attempt 2): error:1E08010C:DECODER routines::unsupported
Failed to create token for "Tractor-Supply-Enterprise-Reliability" (attempt 3): error:1E08010C:DECODER routines::unsupported
Failed to create token for "Tractor-Supply-Enterprise-Reliability" (attempt 4): error:1E08010C:DECODER routines::unsupported
Error: error:1E08010C:DECODER routines::unsupported
    at createPrivateKey (node:internal/crypto/keys:632:12)
    at convertPrivateKey (E:\actions-runner\_work\_actions\actions\create-github-app-token\v1\dist\main.cjs:41368:50)
Error: error:1E08010C:DECODER routines::unsupported
    at getToken (E:\actions-runner\_work\_actions\actions\create-github-app-token\v1\dist\main.cjs:41376:31)
    at githubAppJwt (E:\actions-runner\_work\_actions\actions\create-github-app-token\v1\dist\main.cjs:41426:23)
    at getAppAuthentication (E:\actions-runner\_work\_actions\actions\create-github-app-token\v1\dist\main.cjs:41589:37)
    at hook4 (E:\actions-runner\_work\_actions\actions\create-github-app-token\v1\dist\main.cjs:41887:37)
    at newApi (E:\actions-runner\_work\_actions\actions\create-github-app-token\v1\dist\main.cjs:40702:36)
    at getTokenFromOwner (E:\actions-runner\_work\_actions\actions\create-github-app-token\v1\dist\main.cjs:42197:26)
    at E:\actions-runner\_work\_actions\actions\create-github-app-token\v1\dist\main.cjs:42176:13
    at RetryOperation._fn (E:\actions-runner\_work\_actions\actions\create-github-app-token\v1\dist\main.cjs:42080:30) {
  library: 'DECODER routines',
  reason: 'unsupported',
  code: 'ERR_OSSL_UNSUPPORTED',
  attemptNumber: 4,
  retriesLeft: 0
}

Is windows OS supported by this action or not? Thank in advance

@RobinMaas95
Copy link

I got the same error on a linux runner when my private key was not correct (unintentional linebreak).
Generating a new one in the app settings (just to be sure) and using that fixed my problem.

@sijjay
Copy link
Author

sijjay commented Mar 20, 2025

@RobinMaas95
thank you for your feedback! The thing is the same key works fine on Linux machine. I have to run some jobs on Linux, some on windows due to some dependencies. And the key doesn't work properly on windows. I had to create a python script to generate it instead, and it works. So, pretty sure, something might be wrong with this action

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants