Model Addition Fails in Silicon Flow Plugin - No Error, But Not Successful #514

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

Originally created by @CHEFRA on GitHub (Aug 4, 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.6.0
1.7.1

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

  1. Open the Silicon Flow plugin interface.
  2. Click on the “Add Model” or a similar button.
  3. Enter or select the model information (e.g., model name, ID).
  4. Click the “Confirm” or “Add” button to submit.
  5. Observe the system’s response.

中文:

  1. 打开 Silicon Flow 插件界面。
  2. 点击“添加模型”或类似的按钮。
  3. 输入或选择一个模型信息(例如,模型名称、ID等)。
  4. 点击“确认”或“添加”按钮提交。
  5. 观察系统反应。

✔️ Expected Behavior

The model should be successfully added to the plugin’s model list. A success message (e.g., “Model added successfully”) should typically be shown, and the model list should refresh immediately to display the newly added model.

模型能够成功添加到插件列表中,并可以在后续使用中找到该模型。通常会看到“添加成功”的提示信息,或者模型列表会立即刷新并显示新添加的模型。

Actual Behavior

After clicking the add button, the system shows its done, and the process appears to complete. However, upon refreshing the model list or reopening the plugin, the added model is not found in the list. The model was not actually saved or added successfully.

点击添加按钮后,系统显示修改成功,看起来操作似乎完成了。但是,刷新模型列表或重新打开插件后,发现之前添加的模型并未出现在列表中。模型实际上没有被保存或添加成功。

Image
Originally created by @CHEFRA on GitHub (Aug 4, 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.6.0 1.7.1 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce 1. Open the Silicon Flow plugin interface. 2. Click on the “Add Model” or a similar button. 3. Enter or select the model information (e.g., model name, ID). 4. Click the “Confirm” or “Add” button to submit. 5. Observe the system’s response. 中文: 1. 打开 Silicon Flow 插件界面。 2. 点击“添加模型”或类似的按钮。 3. 输入或选择一个模型信息(例如,模型名称、ID等)。 4. 点击“确认”或“添加”按钮提交。 5. 观察系统反应。 ### ✔️ Expected Behavior The model should be successfully added to the plugin’s model list. A success message (e.g., “Model added successfully”) should typically be shown, and the model list should refresh immediately to display the newly added model. 模型能够成功添加到插件列表中,并可以在后续使用中找到该模型。通常会看到“添加成功”的提示信息,或者模型列表会立即刷新并显示新添加的模型。 ### ❌ Actual Behavior After clicking the add button, the system shows its done, and the process appears to complete. However, upon refreshing the model list or reopening the plugin, the added model is not found in the list. The model was not actually saved or added successfully. 点击添加按钮后,系统显示修改成功,看起来操作似乎完成了。但是,刷新模型列表或重新打开插件后,发现之前添加的模型并未出现在列表中。模型实际上没有被保存或添加成功。 <img width="1012" height="811" alt="Image" src="https://github.com/user-attachments/assets/01e6e15d-bf1f-4fae-a26b-cfb28e4a07a2" />
yindo closed this issue 2026-02-16 10:19:37 -05:00
Author
Owner

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

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

This kind of silent failure when adding a model in the Silicon Flow plugin (no error, but model not saved) is usually caused by network/configuration issues between your Dify containers and the plugin daemon, missing migration steps after a Docker upgrade, or credential validation problems that aren't surfaced to the UI.

Here’s a focused checklist to help you debug:

  • Make sure you are not using localhost or 127.0.0.1 for any service endpoints in your Docker environment. Use host.docker.internal or your host’s internal IP so containers can communicate properly.
  • Double-check your environment variables: PLUGIN_DAEMON_URL should point to the correct host and port (e.g., http://host.docker.internal:5002), and SANDBOX_ENABLE_NETWORK should be set to true.
  • If you migrated or copied your Docker environment, you must run the official migration commands inside Docker to extract, install, and migrate plugin and model data:
    uv run flask extract-plugins --workers=20
    uv run flask install-plugins --workers=2
    uv run flask migrate-data-for-plugin
    
    Skipping these steps can cause models not to appear even if you see a success prompt [source].
  • The plugin may need outbound internet access the first time it runs to install dependencies. If your network blocks this, the plugin can’t finish setup and models won’t appear [source].
  • Make sure the plugin daemon and Dify containers are on the same Docker network.
  • Check backend and plugin daemon logs for errors during the model addition attempt—especially for credential validation failures (401/503), schema mismatches, or plugin daemon response parsing errors [source] [source].
  • If you see errors like “model XXX not exists” or “Credentials validation failed,” it usually means the model wasn’t registered or enabled on the backend due to a config or network issue.

If you’ve checked all of the above and the model still doesn’t appear, try capturing any error messages from your browser’s network tab and share relevant logs from your Docker containers for deeper diagnosis.

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 4, 2025): <!-- Greeting --> Hi @CHEFRA! I'm [Dosu](https://go.dosu.dev/dosubot) and I’m helping the dify team. <!-- Answer --> This kind of silent failure when adding a model in the Silicon Flow plugin (no error, but model not saved) is usually caused by network/configuration issues between your Dify containers and the plugin daemon, missing migration steps after a Docker upgrade, or credential validation problems that aren't surfaced to the UI. Here’s a focused checklist to help you debug: - Make sure you are not using `localhost` or `127.0.0.1` for any service endpoints in your Docker environment. Use `host.docker.internal` or your host’s internal IP so containers can communicate properly. - Double-check your environment variables: `PLUGIN_DAEMON_URL` should point to the correct host and port (e.g., `http://host.docker.internal:5002`), and `SANDBOX_ENABLE_NETWORK` should be set to `true`. - If you migrated or copied your Docker environment, you must run the official migration commands inside Docker to extract, install, and migrate plugin and model data: ``` uv run flask extract-plugins --workers=20 uv run flask install-plugins --workers=2 uv run flask migrate-data-for-plugin ``` Skipping these steps can cause models not to appear even if you see a success prompt [[source]](https://github.com/langgenius/dify/issues/21363). - The plugin may need outbound internet access the first time it runs to install dependencies. If your network blocks this, the plugin can’t finish setup and models won’t appear [[source]](https://github.com/langgenius/dify/issues/20325). - Make sure the plugin daemon and Dify containers are on the same Docker network. - Check backend and plugin daemon logs for errors during the model addition attempt—especially for credential validation failures (401/503), schema mismatches, or plugin daemon response parsing errors [[source]](https://github.com/langgenius/dify/issues/22397) [[source]](https://github.com/langgenius/dify/issues/16139). - If you see errors like “model XXX not exists” or “Credentials validation failed,” it usually means the model wasn’t registered or enabled on the backend due to a config or network issue. If you’ve checked all of the above and the model still doesn’t appear, try capturing any error messages from your browser’s network tab and share relevant logs from your Docker containers for deeper diagnosis. <!-- 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/34065980-f0bb-4ae1-9bb3-89005f59e93f?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/34065980-f0bb-4ae1-9bb3-89005f59e93f?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/34065980-f0bb-4ae1-9bb3-89005f59e93f?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/34065980-f0bb-4ae1-9bb3-89005f59e93f?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/34065980-f0bb-4ae1-9bb3-89005f59e93f?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/34065980-f0bb-4ae1-9bb3-89005f59e93f?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/34065980-f0bb-4ae1-9bb3-89005f59e93f?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/23391)
Author
Owner

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

Similar to this https://github.com/langgenius/dify-official-plugins/issues/1517

@crazywoola commented on GitHub (Aug 4, 2025): Similar to this https://github.com/langgenius/dify-official-plugins/issues/1517
Author
Owner

@CHEFRA commented on GitHub (Aug 6, 2025):

Updated to the latest version:1.7.1, problem remained.

Additionally, I’ve noticed that several similar issues have been reported in the community over the past few days, suggesting this might be a widespread bug rather than an isolated issue on my end.

@CHEFRA commented on GitHub (Aug 6, 2025): Updated to the latest version:1.7.1, problem remained. Additionally, I’ve noticed that several similar issues have been reported in the community over the past few days, suggesting this might be a widespread bug rather than an isolated issue on my end.
Author
Owner

@Reverse-Flash-Kamen commented on GitHub (Aug 14, 2025):

Also have this problem

@Reverse-Flash-Kamen commented on GitHub (Aug 14, 2025): Also have this problem
Author
Owner

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

Hi, @CHEFRA. I'm Dosu (https://dosu.dev), and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale.

Issue Summary:

  • You reported that in the Silicon Flow plugin (v1.6.0 and v1.7.1, self-hosted via Docker), adding a model shows success but the model does not appear after refresh.
  • The issue persists even after updating to v1.7.1.
  • Other users have confirmed similar behavior, suggesting it might be a widespread bug.
  • Possible causes discussed include Docker network/configuration issues, missing migrations, or credential validation problems.
  • No resolution or fix has been confirmed yet.

Next Steps:

  • Please let me know if this issue is still relevant with the latest version of the dify-official-plugins repository by commenting here.
  • If I don’t hear back within 5 days, I will automatically close this issue to keep the backlog manageable.

Thank you for your understanding and contribution!

@dosubot[bot] commented on GitHub (Aug 31, 2025): Hi, @CHEFRA. I'm Dosu (https://dosu.dev), and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale. **Issue Summary:** - You reported that in the Silicon Flow plugin (v1.6.0 and v1.7.1, self-hosted via Docker), adding a model shows success but the model does not appear after refresh. - The issue persists even after updating to v1.7.1. - Other users have confirmed similar behavior, suggesting it might be a widespread bug. - Possible causes discussed include Docker network/configuration issues, missing migrations, or credential validation problems. - No resolution or fix has been confirmed yet. **Next Steps:** - Please let me know if this issue is still relevant with the latest version of the dify-official-plugins repository by commenting here. - If I don’t hear back within 5 days, I will automatically close this issue to keep the backlog manageable. Thank you for your understanding and contribution!
Author
Owner

@CHEFRA commented on GitHub (Sep 21, 2025):

latest stable version 1.8.1,still has this problem.

@CHEFRA commented on GitHub (Sep 21, 2025): latest stable version 1.8.1,still has this problem.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#514