dify - 💡(How to fix) Fix failed to launch plugin

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

I deployed Dify on my cloud server, but encountered the following error when accessing the web installer to add a vendor model. I've tested both Dify versions 1.13.3 and 1.13.2, and the error occurs in both cases. My cloud server configuration is 2 vCPUs / 8GB RAM, the network is working properly, and I've retried multiple times with the same error. I hope someone can help me out. I've retried multiple times with the same error. I hope someone can help me out.

Root Cause

failed to launch plugin: failed to install dependencies: failed to install dependencies: exit status 1, output: DEBUG uv 0.10.10 DEBUG Found project root: /app/storage/cwd/langgenius/minimax-0.0.14@38f89e65d3575f79514dfee49b93f858e8fb9301665a36aeffe800a248a48717 DEBUG No workspace root found, using project root DEBUG No Python version file found in workspace: /app/storage/cwd/langgenius/minimax-0.0.14@38f89e65d3575f79514dfee49b93f858e8fb9301665a36aeffe800a248a48717 DEBUG Using Python request >=3.12 from...f5a69493943ec3f6a384bdc792deb2/httpx-0.28.1-py3-none-any.whl × Failed to download httpx==0.28.1 ╰─▶ Network connectivity is disabled, but the requested data wasn't found in the cache for: https://files.pythonhosted.org/packages/2a/39/e50c7c3a983047577ee07d2a9e53faf5a69493943ec3f6a384bdc792deb2/httpx-0.28.1-py3-none-any.whl help: httpx (v0.28.1) was included because minimax (v0.1.0) depends on dify-plugin (v0.7.4) which depends on httpx failed to init environmen

RAW_BUFFERClick to expand / collapse

Self Checks

  • I have read the Contributing Guide and Language Policy.
  • 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, otherwise it will be closed.
  • 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.13.2

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

I deployed Dify on my cloud server, but encountered the following error when accessing the web installer to add a vendor model. I've tested both Dify versions 1.13.3 and 1.13.2, and the error occurs in both cases. My cloud server configuration is 2 vCPUs / 8GB RAM, the network is working properly, and I've retried multiple times with the same error. I hope someone can help me out.

failed to launch plugin: failed to install dependencies: failed to install dependencies: exit status 1, output: DEBUG uv 0.10.10 DEBUG Found project root: /app/storage/cwd/langgenius/minimax-0.0.14@38f89e65d3575f79514dfee49b93f858e8fb9301665a36aeffe800a248a48717 DEBUG No workspace root found, using project root DEBUG No Python version file found in workspace: /app/storage/cwd/langgenius/minimax-0.0.14@38f89e65d3575f79514dfee49b93f858e8fb9301665a36aeffe800a248a48717 DEBUG Using Python request >=3.12 from...f5a69493943ec3f6a384bdc792deb2/httpx-0.28.1-py3-none-any.whl × Failed to download httpx==0.28.1 ╰─▶ Network connectivity is disabled, but the requested data wasn't found in the cache for: https://files.pythonhosted.org/packages/2a/39/e50c7c3a983047577ee07d2a9e53faf5a69493943ec3f6a384bdc792deb2/httpx-0.28.1-py3-none-any.whl help: httpx (v0.28.1) was included because minimax (v0.1.0) depends on dify-plugin (v0.7.4) which depends on httpx failed to init environmen

<img width="322" height="209" alt="Image" src="https://github.com/user-attachments/assets/ff67cd95-bdf7-4692-81f5-d89d835ec109" />

✔️ Expected Behavior

I've retried multiple times with the same error. I hope someone can help me out.

❌ Actual Behavior

No response

extent analysis

TL;DR

The issue is likely due to network connectivity issues or caching problems when installing dependencies, and a workaround may involve checking network settings or adjusting dependency installation.

Guidance

  • Check the network connectivity of the cloud server to ensure it can access the required repositories for dependency installation.
  • Verify that the httpx package version 0.28.1 is available and can be downloaded from the specified URL or if it's cached locally.
  • Consider adjusting the dify-plugin version to one that depends on a different version of httpx if the specified version is not accessible.
  • Review the Docker configuration to ensure that network connectivity is properly enabled for the container.

Example

No specific code snippet is provided as the issue seems related to dependency installation and network connectivity rather than code syntax.

Notes

The issue might be specific to the network environment or the version of dependencies used. Ensuring that the server has proper network connectivity and that the required packages are accessible is crucial.

Recommendation

Apply workaround: Adjust network settings or dependency versions to resolve connectivity or caching issues, as the problem does not seem to be directly related to the Dify version itself.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING