Failed to install GroqCloud plugin #403

Closed
opened 2026-02-16 10:19:19 -05:00 by yindo · 2 comments
Owner

Originally created by @sociometry on GitHub (Jun 27, 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.5.0

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

Settings - Model Provider. Then select groqcloud, and click Setup.

✔️ Expected Behavior

No response

Actual Behavior

Failed to parse response from plugin daemon to PluginDaemonBasicResponse [PluginDecodeResponse], url: plugin/670142c9-5ad9-42f3-8e3f-d6a199ef7177/management/install/upload/package

Image

Originally created by @sociometry on GitHub (Jun 27, 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.5.0 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce Settings - Model Provider. Then select groqcloud, and click Setup. ### ✔️ Expected Behavior _No response_ ### ❌ Actual Behavior Failed to parse response from plugin daemon to PluginDaemonBasicResponse [PluginDecodeResponse], url: plugin/670142c9-5ad9-42f3-8e3f-d6a199ef7177/management/install/upload/package ![Image](https://github.com/user-attachments/assets/2cf04243-a276-47c1-8a29-769eed85ccb3)
yindo closed this issue 2026-02-16 10:19:19 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Jun 27, 2025):

Hi @sociometry! I'm Dosu and I’m helping the dify team.

This error usually means the response from the plugin daemon doesn't match what Dify expects. The most common causes are:

  • Version mismatch: Make sure both your Dify app and the plugin-daemon are running the exact same version. A mismatch can cause schema validation failures like this one (reference).
  • Docker network config: Avoid using localhost or 127.0.0.1 for service endpoints in Docker. Use the internal IP or http://host.docker.internal instead (reference, reference).
  • Environment variables: Double-check PLUGIN_DAEMON_URL, SANDBOX_ENABLE_NETWORK (should be true), and PLUGIN_STORAGE_TYPE in your .env and docker-compose files (reference).
  • Plugin daemon response: If you recently updated Dify or the plugin-daemon, make sure the plugin-daemon’s API responses match the expected schema (the data field should be a dictionary, not a list or other structure) (reference).
  • File access in Docker: If you use FILES_URL=http://localhost, this may not work in Docker. Set INTERNAL_API_URL=http://localhost in your Docker environment (reference).
  • Network access: The plugin daemon needs outbound internet access to install dependencies on first run. If your network blocks this, the install can fail (reference).
  • Timeout: If you see timeout errors, increase PLUGIN_MAX_EXECUTION_TIMEOUT in docker-compose.yaml and restart your containers (reference).

If you still have trouble, check the logs for both the main Dify app and the plugin-daemon containers for more details. As a workaround, you can try offline/manual installation by packaging the plugin as a .difypkg file and uploading it via the "Install via Local File" option (reference).

Let me know if you need help with any of these steps or if you find more details in your logs!

To reply, just mention @dosu.


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

@dosubot[bot] commented on GitHub (Jun 27, 2025): <!-- Greeting --> Hi @sociometry! I'm [Dosu](https://go.dosu.dev/dosubot) and I’m helping the dify team. <!-- Answer --> This error usually means the response from the plugin daemon doesn't match what Dify expects. The most common causes are: - Version mismatch: Make sure both your Dify app and the plugin-daemon are running the exact same version. A mismatch can cause schema validation failures like this one ([reference](https://github.com/langgenius/dify/issues/20546)). - Docker network config: Avoid using localhost or 127.0.0.1 for service endpoints in Docker. Use the internal IP or http://host.docker.internal instead ([reference](https://github.com/langgenius/dify/issues/20325), [reference](https://github.com/langgenius/dify/issues/15328)). - Environment variables: Double-check PLUGIN_DAEMON_URL, SANDBOX_ENABLE_NETWORK (should be true), and PLUGIN_STORAGE_TYPE in your .env and docker-compose files ([reference](https://github.com/langgenius/dify/issues/20325)). - Plugin daemon response: If you recently updated Dify or the plugin-daemon, make sure the plugin-daemon’s API responses match the expected schema (the data field should be a dictionary, not a list or other structure) ([reference](https://github.com/langgenius/dify/issues/20546)). - File access in Docker: If you use FILES_URL=http://localhost, this may not work in Docker. Set INTERNAL_API_URL=http://localhost in your Docker environment ([reference](https://github.com/langgenius/dify/pull/21382)). - Network access: The plugin daemon needs outbound internet access to install dependencies on first run. If your network blocks this, the install can fail ([reference](https://github.com/langgenius/dify/issues/20325)). - Timeout: If you see timeout errors, increase PLUGIN_MAX_EXECUTION_TIMEOUT in docker-compose.yaml and restart your containers ([reference](https://github.com/langgenius/dify/issues/15082)). If you still have trouble, check the logs for both the main Dify app and the plugin-daemon containers for more details. As a workaround, you can try offline/manual installation by packaging the plugin as a .difypkg file and uploading it via the "Install via Local File" option ([reference](https://github.com/langgenius/dify/issues/14582)). Let me know if you need help with any of these steps or if you find more details in your logs! <!-- 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/af0d2ce4-7add-499c-b74b-0e1c5c9a1bc0?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/af0d2ce4-7add-499c-b74b-0e1c5c9a1bc0?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/af0d2ce4-7add-499c-b74b-0e1c5c9a1bc0?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/af0d2ce4-7add-499c-b74b-0e1c5c9a1bc0?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/af0d2ce4-7add-499c-b74b-0e1c5c9a1bc0?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/af0d2ce4-7add-499c-b74b-0e1c5c9a1bc0?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/af0d2ce4-7add-499c-b74b-0e1c5c9a1bc0?feedback_type=other)</sup>&nbsp;&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/21628)
Author
Owner

@sociometry commented on GitHub (Jun 27, 2025):

My Dify application is version 1.5.0, and the plugin-daemon version is 0.1.2-local.

The logs are as follows:

plugin_daemon-1  | [GIN] 2025/06/27 - 08:48:20 | 200 |    1.826852ms |      172.19.0.8 | GET      "/plugin/670142c9-5ad9-42f3-8e3f-d6a199ef7177/management/fetch/manifest?plugin_unique_identifier=langgenius%2Fgroq%3A0.0.7%40be192af66e713eb9fd41d4890a465dcb894f7db3e2172cc5a52542554a78d0d0"
plugin_daemon-1  | [GIN] 2025/06/27 - 08:48:20 | 404 |         660ns |      172.19.0.8 | GET      "/plugin/670142c9-5ad9-42f3-8e3f-d6a199ef7177/management/decode/from_identifier"
plugin_daemon-1  | [GIN] 2025/06/27 - 08:48:22 | 200 |    16.35711ms |      172.19.0.8 | POST     "/plugin/670142c9-5ad9-42f3-8e3f-d6a199ef7177/management/install/upload/package"
api-1  | 2025-06-27 08:50:26.384 ERROR [Dummy-12] [base.py:144] - Failed to request plugin daemon, status: 404, url: plugin/670142c9-5ad9-42f3-8e3f-d6a199ef7177/management/decode/from_identifier
api-1  | Traceback (most recent call last):
api-1  |   File "/app/api/core/plugin/impl/base.py", line 141, in _request_with_plugin_daemon_response
api-1  |     response.raise_for_status()
api-1  |   File "/app/api/.venv/lib/python3.12/site-packages/requests/models.py", line 1026, in raise_for_status
api-1  |     raise HTTPError(http_error_msg, response=self)
api-1  | requests.exceptions.HTTPError: 404 Client Error: Not Found for url: http://plugin_daemon:5002/plugin/670142c9-5ad9-42f3-8e3f-d6a199ef7177/management/decode/from_identifier
api-1  | 2025-06-27 08:50:27.528 INFO [Dummy-12] [_client.py:1038] - HTTP Request: GET https://marketplace.dify.ai/api/v1/plugins/download?unique_identifier=langgenius/groq:0.0.7@be192af66e713eb9fd41d4890a465dcb894f7db3e2172cc5a52542554a78d0d0 "HTTP/1.1 200 OK"
api-1  | 2025-06-27 08:50:27.804 ERROR [Dummy-12] [base.py:161] - Failed to parse response from plugin daemon to PluginDaemonBasicResponse [PluginDecodeResponse], url: plugin/670142c9-5ad9-42f3-8e3f-d6a199ef7177/management/install/upload/package
api-1  | Traceback (most recent call last):
api-1  |   File "/app/api/core/plugin/impl/base.py", line 155, in _request_with_plugin_daemon_response
api-1  |     rep = PluginDaemonBasicResponse[type](**json_response)  # type: ignore
api-1  |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api-1  |   File "/app/api/.venv/lib/python3.12/site-packages/pydantic/main.py", line 253, in __init__
api-1  |     validated_self = self.__pydantic_validator__.validate_python(data, self_instance=self)
api-1  |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api-1  | pydantic_core._pydantic_core.ValidationError: 1 validation error for PluginDaemonBasicResponse[PluginDecodeResponse]
api-1  | data.manifest.model.position.speech2text
api-1  |   Input should be a valid list [type=list_type, input_value=None, input_type=NoneType]
api-1  |     For further information visit https://errors.pydantic.dev/2.11/v/list_type

Additionally, I have tried installing the plugin via local file, but the error still occurs.

@sociometry commented on GitHub (Jun 27, 2025): My Dify application is version 1.5.0, and the plugin-daemon version is 0.1.2-local. The logs are as follows: ``` plugin_daemon-1 | [GIN] 2025/06/27 - 08:48:20 | 200 | 1.826852ms | 172.19.0.8 | GET "/plugin/670142c9-5ad9-42f3-8e3f-d6a199ef7177/management/fetch/manifest?plugin_unique_identifier=langgenius%2Fgroq%3A0.0.7%40be192af66e713eb9fd41d4890a465dcb894f7db3e2172cc5a52542554a78d0d0" plugin_daemon-1 | [GIN] 2025/06/27 - 08:48:20 | 404 | 660ns | 172.19.0.8 | GET "/plugin/670142c9-5ad9-42f3-8e3f-d6a199ef7177/management/decode/from_identifier" plugin_daemon-1 | [GIN] 2025/06/27 - 08:48:22 | 200 | 16.35711ms | 172.19.0.8 | POST "/plugin/670142c9-5ad9-42f3-8e3f-d6a199ef7177/management/install/upload/package" ``` ``` api-1 | 2025-06-27 08:50:26.384 ERROR [Dummy-12] [base.py:144] - Failed to request plugin daemon, status: 404, url: plugin/670142c9-5ad9-42f3-8e3f-d6a199ef7177/management/decode/from_identifier api-1 | Traceback (most recent call last): api-1 | File "/app/api/core/plugin/impl/base.py", line 141, in _request_with_plugin_daemon_response api-1 | response.raise_for_status() api-1 | File "/app/api/.venv/lib/python3.12/site-packages/requests/models.py", line 1026, in raise_for_status api-1 | raise HTTPError(http_error_msg, response=self) api-1 | requests.exceptions.HTTPError: 404 Client Error: Not Found for url: http://plugin_daemon:5002/plugin/670142c9-5ad9-42f3-8e3f-d6a199ef7177/management/decode/from_identifier api-1 | 2025-06-27 08:50:27.528 INFO [Dummy-12] [_client.py:1038] - HTTP Request: GET https://marketplace.dify.ai/api/v1/plugins/download?unique_identifier=langgenius/groq:0.0.7@be192af66e713eb9fd41d4890a465dcb894f7db3e2172cc5a52542554a78d0d0 "HTTP/1.1 200 OK" api-1 | 2025-06-27 08:50:27.804 ERROR [Dummy-12] [base.py:161] - Failed to parse response from plugin daemon to PluginDaemonBasicResponse [PluginDecodeResponse], url: plugin/670142c9-5ad9-42f3-8e3f-d6a199ef7177/management/install/upload/package api-1 | Traceback (most recent call last): api-1 | File "/app/api/core/plugin/impl/base.py", line 155, in _request_with_plugin_daemon_response api-1 | rep = PluginDaemonBasicResponse[type](**json_response) # type: ignore api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ api-1 | File "/app/api/.venv/lib/python3.12/site-packages/pydantic/main.py", line 253, in __init__ api-1 | validated_self = self.__pydantic_validator__.validate_python(data, self_instance=self) api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ api-1 | pydantic_core._pydantic_core.ValidationError: 1 validation error for PluginDaemonBasicResponse[PluginDecodeResponse] api-1 | data.manifest.model.position.speech2text api-1 | Input should be a valid list [type=list_type, input_value=None, input_type=NoneType] api-1 | For further information visit https://errors.pydantic.dev/2.11/v/list_type ``` Additionally, I have tried installing the plugin via local file, but the error still occurs.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#403