[BUG] The version manager does not respect the NO_PROXY environment variable.
@kay-schecker já está trabalhando nisso.
Desde 20/6/2022.
Avaliação
Esta issue ainda não foi avaliada.
Descrição
🐛 Bug Report:
Describe the bug
The version manager does not respect the NO_PROXY environment variable. When using the openapi-generator-cli behind a corporate proxy (i.e. HTTP_PROXY & HTTPS_PROXY are set) while trying to download a version of openapi generator from a private maven repository (which is within the corporate network, i.e. the download should not go through the proxy), the NO_PROXY environment variable is ignored.
Steps to Reproduce
Steps to reproduce the behavior:
- Use the openapi-generator-cli version manager to download a version from a private repository within a corporate network, which is separated from the internet by a proxy.
- openapi-generator-cli respects HTTP_PROXY & HTTPS_PROXY (which are needed for requests from within the corporate network to the internet, but fails to download from the internal maven repo, as it still tries to go through the proxy:
> openapi-generator-cli generate
Download 6.0.0 ...
Download failed, because of: "socket hang up"
- Only by explicitly un-setting the HTTP_PROXY & HTTPS_PROXY environment variables as a work-around it is possible to download from the private repo.
Expected behavior
The openapi-generator-cli version manager should respect the NO_PROXY environment variable and download the version of openapi generator from the private repo without going through the proxy.
Additional context
- Linguagem predominante
- TypeScript
- Estrelas
- 2k
- Forks
- 210
- Merge médio
- 7h
- PRs com merge (30d)
- 3
Preparar o ambiente
Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de OpenAPITools/openapi-generator-cli
-
[FEATURE] consider using caret ranges instead of pinned exact versions for runtime dependenciesAberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
OpenAPITools/openapi-generator-cli#1277 · 1 comentário · 2 reações ·
-
[BUG] JAVA_OPTS is incorrectly evaluatedTalvez livre de novo @kay-schecker assumiu há 136 dias e não há nenhum pull request aberto. Abertabug
OpenAPITools/openapi-generator-cli#1213 · 1 responsável ·
-
[BUG] Proxy configuration of NPM not used when downloading .jar via version managerTalvez livre de novo @kay-schecker assumiu há 190 dias e não há nenhum pull request aberto. Abertabug
OpenAPITools/openapi-generator-cli#1190 · 1 responsável ·
-
[BUG] openapiGeneratorIgnoreList is missing from schemaTalvez livre de novo @kay-schecker assumiu há 241 dias e não há nenhum pull request aberto. Abertabug
OpenAPITools/openapi-generator-cli#1138 · 1 comentário · 1 responsável ·
-
[BUG] Environment variable not found (missing .env loading)Talvez livre de novo @kay-schecker assumiu há 279 dias e não há nenhum pull request aberto. Abertabug
OpenAPITools/openapi-generator-cli#1094 · 1 comentário · 1 responsável ·
Todas as issues de OpenAPITools/openapi-generator-cli
Issues semelhantes
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 80/100
aws/agentcore-cli#2606 ·
Mantenedores costumam responder em até 1 dia
-
ai-driven-qa bug Cosmetic
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 74/100
Mantenedores costumam responder em até 1 dia
-
ai-driven-qa bug claude Minor
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 64/100
linagora/twake-mail-admin#301 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
Mantenedores costumam responder em até 1 dia
-
reproduced
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
anomalyco/opencode#56038 · 1 comentário ·
Mantenedores costumam responder em até 1 dia