Node option --use-openssl-ca
causes artifact upload errors
#33935
Replies: 1 comment 2 replies
-
The flag was added by @viceice in #30347 That was in response to someone's GitLab problem, which appeared to be caused by #30324 According to ChatGPT: The Flag: The Problem in Node v22: javascript ChatGPT also suggestions something like Related Node issues: |
Beta Was this translation helpful? Give feedback.
-
How are you running Renovate?
Self-hosted Renovate
If you're self-hosting Renovate, tell us which platform (GitHub, GitLab, etc) and which version of Renovate.
GitHub
Please tell us more about your question or problem
We originally used the Mend.io-hosted Renvoate App but recently migrated to self-hosted. We already faced the issue of artifact upload errors of
yarn.lock
files before, but now the errors became "more clear".We are using Node.js v22.13.1 and Yarn 4.6.0 and it works fine in updating the
package.json
files, but it fails to install the dependencies and update theyarn.lock
files.In particular this error appears for all packages:
The reason this flag is set seems to be the explicit argument in the Docker script:
renovate/tools/docker/bin/renovate
Line 13 in 97ace64
I was able to reproduce the error by creating a simple
package.json
and trying to install it in the Docker image39.144-full
:I do not have enough understanding to propose a fix, because I do not know the
--use-openssl-ca
flag.Logs (if relevant)
This is the GitHub comment created by Renovate:
GitHub Comment
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below:
File name: yarn.lock
Beta Was this translation helpful? Give feedback.
All reactions