plugins_daemon failed with squid proxy setup upon "poetry run flask install-plugins --workers=2" #10977

Closed
opened 2026-02-21 18:53:27 -05:00 by yindo · 0 comments
Owner

Originally created by @leeseng-nie on GitHub (Mar 13, 2025).

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.0.1

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

Our Dify environment has no direct internet connection and only Squid proxy.

I have configured following environment parameters correctly for Dify v0.15.3.
HTTPS_PROXY, HTTP_PROXY, NO_PROXY

With similar proxy setup for plugin_daemon, I have following error after "poetry run flask install-plugins --workers=2"

✔️ Expected Behavior

plugins migrated without error

Actual Behavior

docker compose logs -f:

plugin_daemon-1 | 2025/03/14 03:40:35 runtime_lifetime.go:70: [INFO]init environment for plugin langgenius/arxiv:0.0.2
plugin_daemon-1 | 2025/03/14 03:40:35 runtime_lifetime.go:76: [ERROR]init environment failed: failed to install dependencies: exit status 2, output: error
unexpected argument '--proxy' found
plugin_daemon-1 |
plugin_daemon-1 | tip: a similar argument exists: '--prefix'
plugin_daemon-1 |
plugin_daemon-1 | Usage: uv pip install --prefix <PACKAGE|--requirements |--editable >
plugin_daemon-1 |
plugin_daemon-1 | For more information, try '--help'.
plugin_daemon-1 | , retry in 30s
Originally created by @leeseng-nie on GitHub (Mar 13, 2025). ### Self Checks - [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version 1.0.1 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce Our Dify environment has no direct internet connection and only Squid proxy. I have configured following environment parameters correctly for Dify v0.15.3. HTTPS_PROXY, HTTP_PROXY, NO_PROXY With similar proxy setup for plugin_daemon, I have following error after "poetry run flask install-plugins --workers=2" ### ✔️ Expected Behavior plugins migrated without error ### ❌ Actual Behavior docker compose logs -f: ===================== plugin_daemon-1 | 2025/03/14 03:40:35 runtime_lifetime.go:70: [INFO]init environment for plugin langgenius/arxiv:0.0.2 plugin_daemon-1 | 2025/03/14 03:40:35 runtime_lifetime.go:76: [ERROR]init environment failed: failed to install dependencies: exit status 2, output: error : unexpected argument '--proxy' found plugin_daemon-1 | plugin_daemon-1 | tip: a similar argument exists: '--prefix' plugin_daemon-1 | plugin_daemon-1 | Usage: uv pip install --prefix <PREFIX> <PACKAGE|--requirements <REQUIREMENTS>|--editable <EDITABLE>> plugin_daemon-1 | plugin_daemon-1 | For more information, try '--help'. plugin_daemon-1 | , retry in 30s
yindo added the 🐞 bug label 2026-02-21 18:53:27 -05:00
yindo closed this issue 2026-02-21 18:53:27 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#10977