The model cannot be added. #431

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

Originally created by @shatang123 on GitHub (Jul 8, 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.1

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

Directly using the Tongyi Qianwen plugin can display the model normally. However, it was found that the deepseek-r1-0528 model was missing, so I wanted to manually add this model. During the addition process, it was found that when manually adding the model using the Tongyi Qianwen plugin, a request timeout occurred. After switching to the vllm plugin, the same timeout was reported. The API address filled in was the official address: https://dashscope.aliyuncs.com/compatible-mode/v1

Image Image

✔️ Expected Behavior

Normal model addition

Actual Behavior

No response

Originally created by @shatang123 on GitHub (Jul 8, 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.1 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce Directly using the Tongyi Qianwen plugin can display the model normally. However, it was found that the deepseek-r1-0528 model was missing, so I wanted to manually add this model. During the addition process, it was found that when manually adding the model using the Tongyi Qianwen plugin, a request timeout occurred. After switching to the vllm plugin, the same timeout was reported. The API address filled in was the official address: https://dashscope.aliyuncs.com/compatible-mode/v1 <img width="1732" height="484" alt="Image" src="https://github.com/user-attachments/assets/d6f2d17f-0dca-4f8d-a887-79849ff20e31" /> <img width="1519" height="352" alt="Image" src="https://github.com/user-attachments/assets/ac4f0f58-ffc7-470d-9b6a-c60c60ab7f97" /> ### ✔️ Expected Behavior Normal model addition ### ❌ Actual Behavior _No response_
yindo closed this issue 2026-02-16 10:19:24 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Jul 8, 2025):

Timeouts when adding models via plugins in Dify (especially in Docker) are often caused by network configuration issues. Make sure your Docker container can reach https://dashscope.aliyuncs.com/compatible-mode/v1 from inside the container (try curl or wget inside the container). Double-check that your environment variables are set correctly: PLUGIN_DAEMON_URL should use your host's internal IP or http://host.docker.internal, and SANDBOX_ENABLE_NETWORK should be true. Also, confirm your Tongyi DashScope API key is set.

If the plugin or model still times out, check Docker and plugin daemon logs for errors. Note that not all plugins support every model—if deepseek-r1-0528 isn't supported by the Tongyi or vllm plugin, you may need to request support or try an OpenAI-compatible provider instead. The Dify codebase handles plugin timeouts generically, so network or plugin daemon issues are the most likely cause here. For more details and similar troubleshooting steps, see this issue and this one.

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 (Jul 8, 2025): <!-- Answer --> Timeouts when adding models via plugins in Dify (especially in Docker) are often caused by network configuration issues. Make sure your Docker container can reach https://dashscope.aliyuncs.com/compatible-mode/v1 from inside the container (try curl or wget inside the container). Double-check that your environment variables are set correctly: PLUGIN_DAEMON_URL should use your host's internal IP or http://host.docker.internal, and SANDBOX_ENABLE_NETWORK should be true. Also, confirm your Tongyi DashScope API key is set. If the plugin or model still times out, check Docker and plugin daemon logs for errors. Note that not all plugins support every model—if deepseek-r1-0528 isn't supported by the Tongyi or vllm plugin, you may need to request support or try an OpenAI-compatible provider instead. The Dify codebase handles plugin timeouts generically, so network or plugin daemon issues are the most likely cause here. For more details and similar troubleshooting steps, see [this issue](https://github.com/langgenius/dify/issues/20325) and [this one](https://github.com/langgenius/dify/issues/20732). <!-- 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/38c7e698-7326-4efb-8f7a-dc8db6e8d703?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/38c7e698-7326-4efb-8f7a-dc8db6e8d703?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/38c7e698-7326-4efb-8f7a-dc8db6e8d703?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/38c7e698-7326-4efb-8f7a-dc8db6e8d703?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/38c7e698-7326-4efb-8f7a-dc8db6e8d703?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/38c7e698-7326-4efb-8f7a-dc8db6e8d703?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/38c7e698-7326-4efb-8f7a-dc8db6e8d703?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/22067)
Author
Owner

@shatang123 commented on GitHub (Jul 8, 2025):

Timeouts when adding models via plugins in Dify (especially in Docker) are often caused by network configuration issues. Make sure your Docker container can reach https://dashscope.aliyuncs.com/compatible-mode/v1 from inside the container (try curl or wget inside the container). Double-check that your environment variables are set correctly: PLUGIN_DAEMON_URL should use your host's internal IP or http://host.docker.internal, and SANDBOX_ENABLE_NETWORK should be true. Also, confirm your Tongyi DashScope API key is set.

If the plugin or model still times out, check Docker and plugin daemon logs for errors. Note that not all plugins support every model—if deepseek-r1-0528 isn't supported by the Tongyi or vllm plugin, you may need to request support or try an OpenAI-compatible provider instead. The Dify codebase handles plugin timeouts generically, so network or plugin daemon issues are the most likely cause here. For more details and similar troubleshooting steps, see this issue and this one.

To reply, just mention @dosu.

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

At present PLUGIN_DAEMON_URL=http://plugin_daemon:5002

@shatang123 commented on GitHub (Jul 8, 2025): > Timeouts when adding models via plugins in Dify (especially in Docker) are often caused by network configuration issues. Make sure your Docker container can reach https://dashscope.aliyuncs.com/compatible-mode/v1 from inside the container (try curl or wget inside the container). Double-check that your environment variables are set correctly: PLUGIN_DAEMON_URL should use your host's internal IP or http://host.docker.internal, and SANDBOX_ENABLE_NETWORK should be true. Also, confirm your Tongyi DashScope API key is set. > > If the plugin or model still times out, check Docker and plugin daemon logs for errors. Note that not all plugins support every model—if deepseek-r1-0528 isn't supported by the Tongyi or vllm plugin, you may need to request support or try an OpenAI-compatible provider instead. The Dify codebase handles plugin timeouts generically, so network or plugin daemon issues are the most likely cause here. For more details and similar troubleshooting steps, see [this issue](https://github.com/langgenius/dify/issues/20325) and [this one](https://github.com/langgenius/dify/issues/20732). > > _To reply, just mention [@dosu](https://go.dosu.dev/dosubot)._ > > How did I do? [Good](https://app.dosu.dev/response-feedback/38c7e698-7326-4efb-8f7a-dc8db6e8d703?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/38c7e698-7326-4efb-8f7a-dc8db6e8d703?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/38c7e698-7326-4efb-8f7a-dc8db6e8d703?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/38c7e698-7326-4efb-8f7a-dc8db6e8d703?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/38c7e698-7326-4efb-8f7a-dc8db6e8d703?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/38c7e698-7326-4efb-8f7a-dc8db6e8d703?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/38c7e698-7326-4efb-8f7a-dc8db6e8d703?feedback_type=other)  [![Join Discord](https://camo.githubusercontent.com/d562c2df5e4567ea41d37f1d91a4da0839d8341037045b103b2da268998de17f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6a6f696e2d3538363546323f6c6f676f3d646973636f7264266c6f676f436f6c6f723d7768697465266c6162656c3d)](https://go.dosu.dev/discord-bot) [![Share on X](https://camo.githubusercontent.com/4649f705e2396d6f328dbc8e800a0509c9c17b3b20253b36706c393df124b93d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f582d73686172652d626c61636b)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/langgenius/dify/issues/22067) At present PLUGIN_DAEMON_URL=http://plugin_daemon:5002
Author
Owner

@hjlarry commented on GitHub (Jul 9, 2025):

I can't reproduce it

Image
@hjlarry commented on GitHub (Jul 9, 2025): I can't reproduce it <img width="702" height="350" alt="Image" src="https://github.com/user-attachments/assets/2814f9cd-7290-4776-be2e-68a054250531" />
Author
Owner

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

Hi, @shatang123. I'm Dosu, and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale.

Issue Summary:

  • You reported timeouts when manually adding the deepseek-r1-0528 model on your self-hosted Dify v1.5.1 instance using Tongyi Qianwen and vllm plugins.
  • The issue likely relates to Docker network configuration or environment setup, including API keys and plugin daemon URL.
  • You confirmed your PLUGIN_DAEMON_URL setting is correct.
  • I was unable to reproduce the problem on my end.
  • I suggested further troubleshooting of Docker and plugin daemon logs but no updates have been provided.

Next Steps:

  • Please let me know if this issue is still relevant with the latest version of dify-official-plugins by commenting here to keep the discussion open.
  • Otherwise, this issue will be automatically closed in 5 days.

Thank you for your understanding and contribution!

@dosubot[bot] commented on GitHub (Aug 20, 2025): Hi, @shatang123. 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 timeouts when manually adding the deepseek-r1-0528 model on your self-hosted Dify v1.5.1 instance using Tongyi Qianwen and vllm plugins. - The issue likely relates to Docker network configuration or environment setup, including API keys and plugin daemon URL. - You confirmed your PLUGIN_DAEMON_URL setting is correct. - I was unable to reproduce the problem on my end. - I suggested further troubleshooting of Docker and plugin daemon logs but no updates have been provided. **Next Steps:** - Please let me know if this issue is still relevant with the latest version of dify-official-plugins by commenting here to keep the discussion open. - Otherwise, this issue will be automatically closed in 5 days. Thank you for your understanding and contribution!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#431