once i restart my computer, it raise this error everytime, it never been fixed,but my issue was been close.anyone please tell me how to fix it ,or i can only use 0.15 to produce. #16261

Closed
opened 2026-02-21 19:25:21 -05:00 by yindo · 7 comments
Owner

Originally created by @Fone520 on GitHub (Aug 19, 2025).

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.7.2

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

Image

Image

Image

Image

Image

2025-08-18 23:30:00.994 ERROR [Dummy-4] [app.py:875] - Exception on /console/api/workspaces/current/model-providers/langgenius/siliconflow/siliconflow/models/parameter-rules [GET]

Traceback (most recent call last):

  File "/app/api/.venv/lib/python3.12/site-packages/flask/app.py", line 917, in full_dispatch_request

    rv = self.dispatch_request()

         ^^^^^^^^^^^^^^^^^^^^^^^

  File "/app/api/.venv/lib/python3.12/site-packages/flask/app.py", line 902, in dispatch_request

    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)  # type: ignore[no-any-return]

           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/app/api/.venv/lib/python3.12/site-packages/flask_restful/__init__.py", line 489, in wrapper

    resp = resource(*args, **kwargs)

           ^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/app/api/.venv/lib/python3.12/site-packages/flask/views.py", line 110, in view

    return current_app.ensure_sync(self.dispatch_request)(**kwargs)  # type: ignore[no-any-return]

           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/app/api/.venv/lib/python3.12/site-packages/flask_restful/__init__.py", line 604, in dispatch_request

    resp = meth(*args, **kwargs)

           ^^^^^^^^^^^^^^^^^^^^^

  File "/app/api/controllers/console/wraps.py", line 198, in decorated

    return view(*args, **kwargs)

           ^^^^^^^^^^^^^^^^^^^^^

  File "/app/api/libs/login.py", line 94, in decorated_view

    return current_app.ensure_sync(func)(*args, **kwargs)

           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/app/api/controllers/console/wraps.py", line 30, in decorated

    return view(*args, **kwargs)

           ^^^^^^^^^^^^^^^^^^^^^

  File "/app/api/controllers/console/workspace/models.py", line 345, in get

    parameter_rules = model_provider_service.get_model_parameter_rules(

                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/app/api/services/model_provider_service.py", line 348, in get_model_parameter_rules

    model_schema = provider_configuration.get_model_schema(

                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/app/api/core/entities/provider_configuration.py", line 672, in get_model_schema

    return model_provider_factory.get_model_schema(

           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/app/api/core/model_runtime/model_providers/model_provider_factory.py", line 225, in get_model_schema

    schema = self.plugin_model_manager.get_model_schema(

             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/app/api/core/plugin/manager/model.py", line 69, in get_model_schema

    for resp in response:

                ^^^^^^^^

  File "/app/api/core/plugin/manager/base.py", line 189, in _request_with_plugin_daemon_response_stream

    self._handle_plugin_daemon_error(error.error_type, error.message)

  File "/app/api/core/plugin/manager/base.py", line 223, in _handle_plugin_daemon_error

    raise PluginDaemonInternalServerError(description=message)

core.plugin.manager.exc.PluginDaemonInternalServerError: PluginDaemonInternalServerError: no available node, plugin not found

2025-08-18 23:30:01.224 WARNING [Dummy-5] [provider_configuration.py:989] - get custom model schema failed, PluginDaemonInternalServerError: no available node, plugin not found

2025-08-18 23:30:01.282 WARNING [Dummy-5] [provider_configuration.py:989] - get custom model schema failed, PluginDaemonInternalServerError: no available node, plugin not found

✔️ Expected Behavior

i restart docker or computer, it dont raise error and work.

Actual Behavior

i restart docker or computer, it raise and i have to reinstall plugin.

Originally created by @Fone520 on GitHub (Aug 19, 2025). ### Self Checks - [x] I have read the [Contributing Guide](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md) and [Language Policy](https://github.com/langgenius/dify/issues/1542). - [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, otherwise it will be closed. - [x] 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version 1.7.2 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce ![Image](https://github.com/user-attachments/assets/d314c66c-a64b-4876-8248-228737d223f4) ![Image](https://github.com/user-attachments/assets/ecdcba11-4f2e-4513-94c6-62ebb3ef0962) ![Image](https://github.com/user-attachments/assets/7c710687-69b7-45db-afd5-82a9eb42332c) ![Image](https://github.com/user-attachments/assets/eedfca17-8b44-4e2c-933d-36a19613d440) ![Image](https://github.com/user-attachments/assets/03984583-6a67-45db-9cc7-c01280a8f00b) 2025-08-18 23:30:00.994 ERROR [Dummy-4] [app.py:875] - Exception on /console/api/workspaces/current/model-providers/langgenius/siliconflow/siliconflow/models/parameter-rules [GET] ``` Traceback (most recent call last): File "/app/api/.venv/lib/python3.12/site-packages/flask/app.py", line 917, in full_dispatch_request rv = self.dispatch_request() ^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/flask/app.py", line 902, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/flask_restful/__init__.py", line 489, in wrapper resp = resource(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/flask/views.py", line 110, in view return current_app.ensure_sync(self.dispatch_request)(**kwargs) # type: ignore[no-any-return] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/flask_restful/__init__.py", line 604, in dispatch_request resp = meth(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/app/api/controllers/console/wraps.py", line 198, in decorated return view(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/app/api/libs/login.py", line 94, in decorated_view return current_app.ensure_sync(func)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/controllers/console/wraps.py", line 30, in decorated return view(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/app/api/controllers/console/workspace/models.py", line 345, in get parameter_rules = model_provider_service.get_model_parameter_rules( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/services/model_provider_service.py", line 348, in get_model_parameter_rules model_schema = provider_configuration.get_model_schema( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/core/entities/provider_configuration.py", line 672, in get_model_schema return model_provider_factory.get_model_schema( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/core/model_runtime/model_providers/model_provider_factory.py", line 225, in get_model_schema schema = self.plugin_model_manager.get_model_schema( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/core/plugin/manager/model.py", line 69, in get_model_schema for resp in response: ^^^^^^^^ File "/app/api/core/plugin/manager/base.py", line 189, in _request_with_plugin_daemon_response_stream self._handle_plugin_daemon_error(error.error_type, error.message) File "/app/api/core/plugin/manager/base.py", line 223, in _handle_plugin_daemon_error raise PluginDaemonInternalServerError(description=message) core.plugin.manager.exc.PluginDaemonInternalServerError: PluginDaemonInternalServerError: no available node, plugin not found 2025-08-18 23:30:01.224 WARNING [Dummy-5] [provider_configuration.py:989] - get custom model schema failed, PluginDaemonInternalServerError: no available node, plugin not found 2025-08-18 23:30:01.282 WARNING [Dummy-5] [provider_configuration.py:989] - get custom model schema failed, PluginDaemonInternalServerError: no available node, plugin not found ``` ### ✔️ Expected Behavior i restart docker or computer, it dont raise error and work. ### ❌ Actual Behavior i restart docker or computer, it raise and i have to reinstall plugin.
yindo added the 🐞 bugwont-fix labels 2026-02-21 19:25:21 -05:00
yindo closed this issue 2026-02-21 19:25:21 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Aug 19, 2025):

This is a known issue in self-hosted Docker setups for Dify, including v1.7.2. The error happens because the plugin daemon can't find or load the required plugin after a restart, often forcing you to reinstall the plugin. Here are the most effective fixes and workarounds:

  • Add PYTHON_ENV_INIT_TIMEOUT: 320 to your docker-compose.yaml environment variables and restart your Dify instance. This increases the initialization timeout and often resolves plugin loading issues after restart (source, source).
  • If that doesn't help, remove the problematic plugin and reinstall it from the marketplace (source).
  • For some setups, increasing the plugin execution timeout by setting PLUGIN_MAX_EXECUTION_TIMEOUT: 2400 in the plugin_daemon service environment variables in docker-compose.yaml can help (source).
  • If you use proxies, remove any proxy configs from the plugin-daemon container in your compose file (source).
  • Make sure your Docker service configuration uses host.docker.internal instead of localhost for host connections, and set OLLAMA_HOST=0.0.0.0 if you use Ollama (source).

After making these changes, restart your Docker containers with:

docker compose stop
docker compose up -d

If the issue persists, check the logs with docker-compose logs api for more details. Let me know if you need help with specific config changes!

To reply, just mention @dosu.


How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other  Chat with Dosu Join Discord Share on X

@dosubot[bot] commented on GitHub (Aug 19, 2025): <!-- Answer --> This is a known issue in self-hosted Docker setups for Dify, including v1.7.2. The error happens because the plugin daemon can't find or load the required plugin after a restart, often forcing you to reinstall the plugin. Here are the most effective fixes and workarounds: - Add `PYTHON_ENV_INIT_TIMEOUT: 320` to your `docker-compose.yaml` environment variables and restart your Dify instance. This increases the initialization timeout and often resolves plugin loading issues after restart ([source](https://github.com/langgenius/dify/issues/14736), [source](https://github.com/langgenius/dify-official-plugins/issues/621)). - If that doesn't help, remove the problematic plugin and reinstall it from the marketplace ([source](https://github.com/langgenius/dify/issues/14736)). - For some setups, increasing the plugin execution timeout by setting `PLUGIN_MAX_EXECUTION_TIMEOUT: 2400` in the `plugin_daemon` service environment variables in `docker-compose.yaml` can help ([source](https://github.com/langgenius/dify/issues/14654)). - If you use proxies, remove any proxy configs from the `plugin-daemon` container in your compose file ([source](https://github.com/langgenius/dify/issues/14654)). - Make sure your Docker service configuration uses `host.docker.internal` instead of `localhost` for host connections, and set `OLLAMA_HOST=0.0.0.0` if you use Ollama ([source](https://github.com/langgenius/dify-official-plugins/issues/918)). After making these changes, restart your Docker containers with: ```bash docker compose stop docker compose up -d ``` If the issue persists, check the logs with `docker-compose logs api` for more details. Let me know if you need help with specific config changes! <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/316581be-efa1-41db-9aa6-919d3d49f37c?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/316581be-efa1-41db-9aa6-919d3d49f37c?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/316581be-efa1-41db-9aa6-919d3d49f37c?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/316581be-efa1-41db-9aa6-919d3d49f37c?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/316581be-efa1-41db-9aa6-919d3d49f37c?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/316581be-efa1-41db-9aa6-919d3d49f37c?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/316581be-efa1-41db-9aa6-919d3d49f37c?feedback_type=other)</sup>&nbsp;&nbsp;[![Chat with Dosu](https://dosu.dev/dosu-chat-badge.svg)](https://app.dosu.dev/6088a4f4-073a-43f3-b3d4-4f06fb0c05a0/ask?utm_source=github)&nbsp;[![Join Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share on X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/langgenius/dify/issues/24161)
Author
Owner

@crazywoola commented on GitHub (Aug 19, 2025):

This seems to be an older version, please provide correct version information.
Regarding the issue, I think you need to uninstall broken plugins and reinstall again.

@crazywoola commented on GitHub (Aug 19, 2025): This seems to be an older version, please provide correct version information. Regarding the issue, I think you need to uninstall broken plugins and reinstall again.
Author
Owner

@Fone520 commented on GitHub (Aug 19, 2025):

my version is the newest version, my volumes is old, my plugin with problem is siliconflow and deepseek,it confuse me for a long time howerver i upgrade to the newest.now i can only use 0.15.3 instead.
@crazywoola

@Fone520 commented on GitHub (Aug 19, 2025): my version is the newest version, my volumes is old, my plugin with problem is siliconflow and deepseek,it confuse me for a long time howerver i upgrade to the newest.now i can only use 0.15.3 instead. @crazywoola
Author
Owner

@crazywoola commented on GitHub (Aug 19, 2025):

The error you see usually indicates the plugin installation process isn't correct, maybe you should change these settings accordingly.

https://github.com/langgenius/dify/blob/75199442c16fb2ad1758d1f813b0c9249fc150e9/docker/docker-compose.yaml#L518-L520

@crazywoola commented on GitHub (Aug 19, 2025): The error you see usually indicates the plugin installation process isn't correct, maybe you should change these settings accordingly. https://github.com/langgenius/dify/blob/75199442c16fb2ad1758d1f813b0c9249fc150e9/docker/docker-compose.yaml#L518-L520
Author
Owner

@crazywoola commented on GitHub (Aug 19, 2025):

In 0.15.3 we don't use the plugin daemon, it's a totally different architecture.

@crazywoola commented on GitHub (Aug 19, 2025): In 0.15.3 we don't use the plugin daemon, it's a totally different architecture.
Author
Owner

@Fone520 commented on GitHub (Aug 20, 2025):

@crazywoola yes,but 0.15.3 dont have this problem. i try try to fix thank you.

@Fone520 commented on GitHub (Aug 20, 2025): @crazywoola yes,but 0.15.3 dont have this problem. i try try to fix thank you.
Author
Owner

@Fone520 commented on GitHub (Aug 20, 2025):

@crazywoola it seens like fixed,wow!

@Fone520 commented on GitHub (Aug 20, 2025): @crazywoola it seens like fixed,wow!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#16261