Set distinct HTTP_PROXY & HTTPS_PROXY varenv doesnt work #36566
Unanswered
lildadou
asked this question in
Request Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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.
gitlab
Please tell us more about your question or problem
keywords: proxy, GLOBAL_AGENT.HTTP_PROXY, https_proxy
I encountered and resolved this issue. Here is my workaround:
Problem
In order for the renovate-bot to access the web, I created a docker image with these environment variables:
When renovate-bot attempts to connect to the Maven repositories (https://repo.maven.apache.org/maven2/***/maven-metadata.xml), the following error appears:
Solution
Even though I didn't understand this commit, I noticed that the two proxy variables were not being treated completely separately.
With varenv defined as follows, I managed to solve my problem:
Logs (if relevant)
Logs
Beta Was this translation helpful? Give feedback.
All reactions