[BUG] The version manager does not respect the NO_PROXY environment variable.
@kay-schecker 已经在做这个了。
开始于 2022年6月20日。
评估
这个 Issue 还没有评估数据。
描述
🐛 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
- 主要语言
- TypeScript
- 星标
- 2k
- 派生
- 210
- 平均合并
- 55 分钟
- 30 天内合并 PR
- 1
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
OpenAPITools/openapi-generator-cli 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
OpenAPITools/openapi-generator-cli#1277 · 1 条评论 · 2 个 reaction ·
-
[FEATURE] Add a side-effect-free command to resolve version tags可能已有人在做 @c19yamamoto 于 2 天前认领。 未关闭
难度 4/5 3-5 天 新手友好度 32/100
-
[BUG] JAVA_OPTS is incorrectly evaluated可能重新可做 @kay-schecker 于 139 天前认领,目前没有进行中的 PR。 未关闭bug
OpenAPITools/openapi-generator-cli#1213 · 已指派 1 人 ·
-
[BUG] Proxy configuration of NPM not used when downloading .jar via version manager可能重新可做 @kay-schecker 于 194 天前认领,目前没有进行中的 PR。 未关闭bug
OpenAPITools/openapi-generator-cli#1190 · 已指派 1 人 ·
-
[BUG] openapiGeneratorIgnoreList is missing from schema可能重新可做 @kay-schecker 于 244 天前认领,目前没有进行中的 PR。 未关闭bug
OpenAPITools/openapi-generator-cli#1138 · 1 条评论 · 已指派 1 人 ·
查看 OpenAPITools/openapi-generator-cli 的全部 Issue
相似的 Issue
-
[Android] Nested transforms are composed in reverse order可能已有人在做 @Danyalo 今天认领。 未关闭Repro provided
难度 2/5 1-3 小时 新手友好度 74/100
software-mansion/react-native-svg#3090 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
radix-ui/primitives#4228 ·
维护者通常 1 天内回复
-
bug
难度 1/5 1 小时以内 新手友好度 95/100
rocketride-org/rocketride-server#2705 · 1 条评论 ·
维护者通常 1 天内回复
-
archon-ready archon-size-s archon-type-bug area: web
难度 2/5 1-3 小时 新手友好度 82/100
coleam00/Archon#4707 · 1 条评论 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 70/100
HarperFast/grafana-datasource#177 ·