Skip to content

offline plugin install failed #615

@lakako

Description

@lakako

Self Checks

To make sure we get to you in time, please check the following :)

  • 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."

Versions

  1. dify-plugin-daemon 0.5.3-local
  2. dify-api 1.13.0

Describe the bug
install offline plugin failed, plugin packed by dify plugin repacking

0.5.3 failed, but 0.5.2 works

To Reproduce
Steps to reproduce the behavior:

  1. build openai_api_compatible offline plugin
  2. install plugin

Expected behavior
plugin running successful

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
some log

2026-02-25T03:19:41.155149458Z ERROR dify-plugin-daemon logger.go:24 local runtime start failed plugin=langgenius/openai_api_compatible:0.0.35@c576573b9930c6159584593e83c7b86e96a29fadac70c7c7feb46272f0d9eefe error="failed to install dependencies: failed to install dependencies: exit status 2, output: DEBUG uv 0.9.26\nDEBUG Acquired shared lock for `/root/.cache/uv`\nDEBUG Found project root: `/app/cwd/langgenius/openai_api_compatible-0.0.35@c576573b9930c6159584593e83c7b86e96a29fadac70c7c7feb46272f0d9eefe`\nDEBUG No workspace root found, using project root\nDEBUG Acquired exclusive lock for `/app/cwd/langgenius/openai_api_compatible-0.0.35@c576573b9930c6159584593e83c7b86e96a29fadac70c7c7feb46272f0d9eefe`\nDEBUG Reading Python requests from version file at `/app/cwd/langgenius/openai_api_compatible-0.0.35@c576573b9930c6159584593e83c7b86e96a29fadac70c7c7feb46272f0d9eefe/.python-version`\nDEBUG Using Python request `3.12` from version file at `.python-version`\nDEBUG Checking for Python environment at: `.venv`\nDEBUG The project environment's Python version satisfies the request: `Python 3.12`\nDEBUG Released lock at `/tmp/uv-05fbe5e33fd1da30.lock`\nDEBUG Acquired exclusive lock for `.venv`\nDEBUG Using request timeout of 30s\nDEBUG Found static `pyproject.toml` for: openai-api-compatible-gnrzr6cey @ file:///app/cwd/langgenius/openai_api_compatible-0.0.35@c576573b9930c6159584593e83c7b86e96a29fadac70c7c7feb46272f0d9eefe\nDEBUG No workspace root found, using project root\nDEBUG Solving with installed Python version: 3.12.3\nDEBUG Solving with target Python version: >=3.12\nDEBUG Adding direct dependency: openai-api-compatible-gnrzr6cey*\nDEBUG Adding direct dependency: openai-api-compatible-gnrzr6cey:dev*\nDEBUG Searching for a compatible version of openai-api-compatible-gnrzr6cey @ file:///app/cwd/langgenius/openai_api_compatible-0.0.35@c576573b9930c6159584593e83c7b86e96a29fadac70c7c7feb46272f0d9eefe (*)\nDEBUG Adding direct dependency: dify-plugin>=0.7.1, <0.7.1+\nDEBUG Adding direct dependency: openai>=1.99.9\nDEBUG Adding direct dependency: setuptools>=80.9.0, <80.9.0+\nDEBUG Searching for a compatible version of openai-api-compatible-gnrzr6cey @ file:///app/cwd/langgenius/openai_api_compatible-0.0.35@c576573b9930c6159584593e83c7b86e96a29fadac70c7c7feb46272f0d9eefe (*)\nDEBUG Adding direct dependency: openai-api-compatible-gnrzr6cey:dev==0.1.0\nDEBUG Searching for a compatible version of openai-api-compatible-gnrzr6cey @ file:///app/cwd/langgenius/openai_api_compatible-0.0.35@c576573b9930c6159584593e83c7b86e96a29fadac70c7c7feb46272f0d9eefe (==0.1.0)\nDEBUG Adding direct dependency: black>=25.1.0\nDEBUG Adding direct dependency: pytest>=8.4.1\nDEBUG Adding direct dependency: ruff>=0.12.5\nDEBUG Found stale response for: https://pypi.org/simple/dify-plugin/\nDEBUG Sending revalidation request for: https://pypi.org/simple/dify-plugin/\nDEBUG No cache entry for: https://pypi.org/simple/openai/\nDEBUG Sending fresh GET request for: https://pypi.org/simple/openai/\nDEBUG No cache entry for: https://pypi.org/simple/setuptools/\nDEBUG Sending fresh GET request for: https://pypi.org/simple/setuptools/\nDEBUG No cache entry for: https://pypi.org/simple/black/\nDEBUG Sending fresh GET request for: https://pypi.org/simple/black/\nDEBUG No cache entry for: https://pypi.org/simple/ruff/\nDEBUG Sending fresh GET request for: https://pypi.org/simple/ruff/\nDEBUG No cache entry for: https://pypi.org/simple/pytest/\nDEBUG Sending fresh GET request for: https://pypi.org/simple/pytest/\nDEBUG Transient request failure for https://pypi.org/simple/black/, retrying: error sending request for url (https://pypi.org/simple/black/)\n  Caused by: client error (Connect)\n  Caused by: dns error\n  Caused by: failed to lookup address information: Temporary failure in name resolution\nDEBUG Transient request failure for https://pypi.org/simple/pytest/, retrying: error sending request for url (https://pypi.org/simple/pytest/)\n  Caused by: client error (Connect)\n  Caused by: dns error\n  Caused by: failed to lookup address information: Temporary failure in name resolution\nDEBUG Transient request failure for https://pypi.org/simple/dify-plugin/, retrying: error sending request for url (https://pypi.org/simple/dify-plugin/)\n  Caused by: client error (Connect)\n  Caused by: dns error\n  Caused by: failed to lookup address information: Temporary failure in name resolution\nDEBUG Transient request failure for https://pypi.org/simple/ruff/, retrying: error sending request for url (https://pypi.org/simple/ruff/)\n  Caused by: client error (Connect)\n  Caused by: dns error\n  Caused by: failed to lookup address information: Temporary failure in name resolution\nDEBUG Transient request failure for https://pypi.org/simple/setuptools/, retrying: error sending request for url (https://pypi.org/simple/setuptools/)\n  Caused by: client error (Connect)\n  Caused by: dns error\n  Caused by: failed to lookup address information: Temporary failure in name resolution\nDEBUG Transient request failure for https://pypi.org/simple/openai/, retrying: error sending request for url (https://pypi.org/simple/openai/)\n  Caused by: client error (Connect)\n  Caused by: dns error\n  Caused by: failed to lookup address information: Temporary failure in name resolution\nDEBUG Transient request failure for https://pypi.org/simple/black/, retrying: error sending request for url (https://pypi.org/simple/black/)\n  Caused by: client error (Connect)\n  Caused by: dns error\n  Caused by: failed to lookup address information: Temporary failure in name resolution\nDEBUG Transient request failure for https://pypi.org/simple/openai/, retrying: error sending request for url (https://pypi.org/simple/openai/)\n  Caused by: client error (Connect)\n  Caused by: dns error\n  Caused by: failed to lookup address information: Temporary failure in name resolution\nDEBUG Transient request failure for https://pypi.org/simple/pytest/, retrying: error sending request for url (https://pypi.org/simple/pytest/)\n  Caused by: client error (Connect)\n  Caused by: dns error\n  Caused by: failed to lookup address information: Temporary failure in name resolution\nDEBUG Transient request failure for https://pypi.org/simple/pytest/, retrying: error sending request for url (https://pypi.org/simple/pytest/)\n  Caused by: client error (Connect)\n  Caused by: dns error\n  Caused by: failed to lookup address information: Temporary failure in name resolution\nDEBUG Transient request failure for https://pypi.org/simple/black/, retrying: error sending request for url (https://pypi.org/simple/black/)\n  Caused by: client error (Connect)\n  Caused by: dns error\n  Caused by: failed to lookup address information: Temporary failure in name resolution\nDEBUG Transient request failure for https://pypi.org/simple/dify-plugin/, retrying: error sending request for url (https://pypi.org/simple/dify-plugin/)\n  Caused by: client error (Connect)\n  Caused by: dns error\n  Caused by: failed to lookup address information: Temporary failure in name resolution\nDEBUG Transient request failure for https://pypi.org/simple/setuptools/, retrying: error sending request for url (https://pypi.org/simple/setuptools/)\n  Caused by: client error (Connect)\n  Caused by: dns error\n  Caused by: failed to lookup address information: Temporary failure in name resolution\nDEBUG Transient request failure for https://pypi.org/simple/ruff/, retrying: error sending request for url (https://pypi.org/simple/ruff/)\n  Caused by: client error (Connect)\n  Caused by: dns error\n  Caused by: failed to lookup address information: Temporary failure in name resolution\nDEBUG Transient request failure for https://pypi.org/simple/setuptools/, retrying: error sending request for url (https://pypi.org/simple/setuptools/)\n  Caused by: client error (Connect)\n  Caused by: dns error\n  Caused by: failed to lookup address information: Temporary failure in name resolution\nDEBUG Transient request failure for https://pypi.org/simple/pytest/, retrying: error sending request for url (https://pypi.org/simple/pytest/)\n  Caused by: client error (Connect)\n  Caused by: dns error\n  Caused by: failed to lookup address information: Temporary failure in name resolution\nDEBUG Released lock at `/app/cwd/langgenius/openai_api_compatible-0.0.35@c576573b9930c6159584593e83c7b86e96a29fadac70c7c7feb46272f0d9eefe/.venv/.lock`\nDEBUG Released lock at `/root/.cache/uv/.lock`\nerror: Request failed after 3 retries\n  Caused by: Failed to fetch: `https://pypi.org/simple/pytest/`\n  Caused by: error sending request for url (https://pypi.org/simple/pytest/)\n  Caused by: client error (Connect)\n  Caused by: dns error\n  Caused by: failed to lookup address information: Temporary failure in name resolution\n\nfailed to init environment"

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions