[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 於 1 天前認領。 未關閉
難度 4/5 3-5 天 新手友好度 32/100
-
[BUG] JAVA_OPTS is incorrectly evaluated可能重新可做 @kay-schecker 於 138 天前認領,目前沒有進行中的 PR。 未關閉bug
OpenAPITools/openapi-generator-cli#1213 · 已指派 1 人 ·
-
[BUG] Proxy configuration of NPM not used when downloading .jar via version manager可能重新可做 @kay-schecker 於 193 天前認領,目前沒有進行中的 PR。 未關閉bug
OpenAPITools/openapi-generator-cli#1190 · 已指派 1 人 ·
-
[BUG] openapiGeneratorIgnoreList is missing from schema可能重新可做 @kay-schecker 於 243 天前認領,目前沒有進行中的 PR。 未關閉bug
OpenAPITools/openapi-generator-cli#1138 · 1 則留言 · 已指派 1 人 ·
查看 OpenAPITools/openapi-generator-cli 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 76/100
paperclipai/paperclip#16785 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 82/100
code-yeongyu/senpi#3661 ·
維護者通常 1 天內回覆
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
難度 1/5 1 小時以內 新手友好度 78/100
lingdojo/kana-dojo#32731 · 1 則留言 · 5 個 reaction ·
維護者通常 1 天內回覆
-
bug status: needs triage
難度 2/5 1-3 小時 新手友好度 76/100
mastra-ai/mastra#27538 · 1 則留言 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 72/100
Yeachan-Heo/oh-my-codex#3822 ·
維護者通常 1 天內回覆