HTTP_PROXY and HTTPS_PROXY are not used during "uv pip install" #46

Closed
opened 2026-02-16 00:19:22 -05:00 by yindo · 0 comments
Owner

Originally created by @kurokobo on GitHub (Mar 18, 2025).

In the environment under corporate proxy, the plugin daemon should have HTTP_PROXY and HTTPS_PROXY environment variables.

The invalid argument –proxy (issue https://github.com/langgenius/dify-plugin-daemon/issues/102) has been removed by #99; however, neither HTTP_PROXY nor HTTPS_PROXY has been passed to cmd.

https://github.com/langgenius/dify-plugin-daemon/blob/84edb2682d569dca2011564d4d1c13f0a42fdc9f/internal/core/plugin_manager/local_runtime/environment_python.go#L124-L125

This is causing the failure of the dependency installation due to inaccessibility to PyPI. The changes by #99 were correct to suppress argument errors, but they were insufficient to ensure proper behavior in a proxy environment.

Originally created by @kurokobo on GitHub (Mar 18, 2025). In the environment under corporate proxy, the plugin daemon should have `HTTP_PROXY` and `HTTPS_PROXY` environment variables. The invalid argument `–proxy` (issue https://github.com/langgenius/dify-plugin-daemon/issues/102) has been removed by #99; however, neither `HTTP_PROXY` nor `HTTPS_PROXY` has been passed to `cmd`. https://github.com/langgenius/dify-plugin-daemon/blob/84edb2682d569dca2011564d4d1c13f0a42fdc9f/internal/core/plugin_manager/local_runtime/environment_python.go#L124-L125 This is causing the failure of the dependency installation due to inaccessibility to PyPI. The changes by #99 were correct to suppress argument errors, but they were insufficient to ensure proper behavior in a proxy environment.
yindo closed this issue 2026-02-16 00:19:22 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-plugin-daemon#46