Proxy Error only deepseek model run failed,other model normal #251

Closed
opened 2026-02-16 10:18:36 -05:00 by yindo · 3 comments
Owner

Originally created by @badspider7 on GitHub (May 6, 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.1.2

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

run workflow with deepseek model

✔️ Expected Behavior

run success

Actual Behavior

Run failed: [models] Server Unavailable Error, HTTPSConnectionPool(host='api.deepseek.com', port=443): Max retries exceeded with url: /chat/completions (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x7f37e31ca870>: Failed to resolve 'api.deepseek.com' ([Errno -2] Name or service not known)"))

I try to close vpn client and not work for me.sometimes it will success,but today always failed.

Originally created by @badspider7 on GitHub (May 6, 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.1.2 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce run workflow with deepseek model ### ✔️ Expected Behavior run success ### ❌ Actual Behavior Run failed: [models] Server Unavailable Error, HTTPSConnectionPool(host='api.deepseek.com', port=443): Max retries exceeded with url: /chat/completions (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x7f37e31ca870>: Failed to resolve 'api.deepseek.com' ([Errno -2] Name or service not known)")) I try to close vpn client and not work for me.sometimes it will success,but today always failed.
yindo closed this issue 2026-02-16 10:18:36 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (May 6, 2025):

I found a similar solved discussion regarding a "[Errno -2] Name or service not known" error in Dify. The solution was to leave the SSRF proxy configuration blank in your environment settings:

api:
  environment:
    # SSRF Proxy server
    SSRF_PROXY_HTTP_URL: ''
    SSRF_PROXY_HTTPS_URL: ''

This approach has been confirmed to resolve similar issues [1]. You might want to try this configuration to see if it resolves the proxy error with the DeepSeek model.

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other

@dosubot[bot] commented on GitHub (May 6, 2025): <!-- Answer --> I found a similar solved discussion regarding a "[Errno -2] Name or service not known" error in Dify. The solution was to leave the SSRF proxy configuration blank in your environment settings: ```yaml api: environment: # SSRF Proxy server SSRF_PROXY_HTTP_URL: '' SSRF_PROXY_HTTPS_URL: '' ``` This approach has been confirmed to resolve similar issues <sup>[[1]](https://github.com/langgenius/dify/discussions/4802)</sup>. You might want to try this configuration to see if it resolves the proxy error with the DeepSeek model. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/b4502dab-4629-463a-894b-a5d7ea419ae0?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/b4502dab-4629-463a-894b-a5d7ea419ae0?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/b4502dab-4629-463a-894b-a5d7ea419ae0?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/b4502dab-4629-463a-894b-a5d7ea419ae0?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/b4502dab-4629-463a-894b-a5d7ea419ae0?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/b4502dab-4629-463a-894b-a5d7ea419ae0?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/b4502dab-4629-463a-894b-a5d7ea419ae0?feedback_type=other)</sup>
Author
Owner

@badspider7 commented on GitHub (May 6, 2025):

It is not work for me.

@badspider7 commented on GitHub (May 6, 2025): It is not work for me.
Author
Owner

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

Hi, @badspider7. 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 that running the DeepSeek model in Dify v1.1.2 (self-hosted via Docker) fails with a proxy and DNS resolution error for api.deepseek.com.
  • Other models work fine in your setup, and the issue persists even after disabling VPN.
  • You mentioned intermittent past success with the model.
  • A contributor suggested clearing SSRF proxy environment variables as a fix, but you confirmed this did not resolve the problem.
  • The issue remains unresolved and may require further investigation or alternative solutions.

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 do not hear back within 5 days, I will automatically close this issue.

Thank you for your understanding and contribution!

@dosubot[bot] commented on GitHub (Aug 18, 2025): Hi, @badspider7. 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 running the DeepSeek model in Dify v1.1.2 (self-hosted via Docker) fails with a proxy and DNS resolution error for api.deepseek.com. - Other models work fine in your setup, and the issue persists even after disabling VPN. - You mentioned intermittent past success with the model. - A contributor suggested clearing SSRF proxy environment variables as a fix, but you confirmed this did not resolve the problem. - The issue remains unresolved and may require further investigation or alternative solutions. **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 do not hear back within 5 days, I will automatically close this issue. 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#251