dify-marketplace couldn't been accessed on ALIYUN vm based on config by default. #11863

Closed
opened 2026-02-21 19:04:26 -05:00 by yindo · 1 comment
Owner

Originally created by @jmzwcn on GitHub (Mar 20, 2025).

Self Checks

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

1. Is this request related to a challenge you're experiencing? Tell me about your story.

During deployment of dify, we hit marketplace couldn't been accessed on ALIYUN vm based on config by default. This has lead to all of LLMs(e.g deepseek,qianwen) are unavailable.

By investigation, we find the problem is the following config couldn't work by default:

#SSRF_PROXY_HTTP_URL: ${SSRF_PROXY_HTTP_URL:-http://ssrf_proxy:3128}
#SSRF_PROXY_HTTPS_URL: ${SSRF_PROXY_HTTPS_URL:-http://ssrf_proxy:3128}

PLEASE let more people know this issue.

2. Additional context or comments

No response

3. Can you help us with this feature?

  • I am interested in contributing to this feature.
Originally created by @jmzwcn on GitHub (Mar 20, 2025). ### Self Checks - [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. ### 1. Is this request related to a challenge you're experiencing? Tell me about your story. During deployment of dify, we hit marketplace couldn't been accessed on ALIYUN vm based on config by default. This has lead to all of LLMs(e.g deepseek,qianwen) are unavailable. By investigation, we find the problem is the following config couldn't work by default: #SSRF_PROXY_HTTP_URL: ${SSRF_PROXY_HTTP_URL:-http://ssrf_proxy:3128} #SSRF_PROXY_HTTPS_URL: ${SSRF_PROXY_HTTPS_URL:-http://ssrf_proxy:3128} PLEASE let more people know this issue. ### 2. Additional context or comments _No response_ ### 3. Can you help us with this feature? - [ ] I am interested in contributing to this feature.
yindo closed this issue 2026-02-21 19:04:26 -05:00
Author
Owner

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

Hello @jmzwcn! I'm here to help you with any bugs, questions, and to guide you on how to become a contributor. Let's tackle this issue together!

To resolve the issue of "dify-marketplace" being inaccessible on an ALIYUN VM due to default configuration settings, you need to modify the squid.conf.template file. Specifically, you should enable the configuration line that allows SSL connections on a wider range of ports. This can be done by uncommenting the following line:

acl SSL_ports port 1025-65535   # Enable the configuration to resolve this issue: https://github.com/langgenius/dify/issues/12792

Additionally, ensure that your server has proper internet access to marketplace.dify.ai. If you're using Aliyun or similar cloud providers in regions with restricted access, you may need to:

  1. Configure a VPN or proxy to access marketplace.dify.ai, as there is currently no way to manually install model providers when the marketplace is inaccessible.
  2. Check your firewall settings.
  3. Ensure your network security groups allow outbound connections to marketplace.dify.ai.

By addressing both the configuration and network access, you should be able to resolve the accessibility issue for LLMs like deepseek and qianwen [1][2][3].

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 (Mar 20, 2025): <!-- Greeting --> Hello @jmzwcn! I'm here to help you with any bugs, questions, and to guide you on how to become a contributor. Let's tackle this issue together! <!-- Answer --> To resolve the issue of "dify-marketplace" being inaccessible on an ALIYUN VM due to default configuration settings, you need to modify the `squid.conf.template` file. Specifically, you should enable the configuration line that allows SSL connections on a wider range of ports. This can be done by uncommenting the following line: ```plaintext acl SSL_ports port 1025-65535 # Enable the configuration to resolve this issue: https://github.com/langgenius/dify/issues/12792 ``` Additionally, ensure that your server has proper internet access to marketplace.dify.ai. If you're using Aliyun or similar cloud providers in regions with restricted access, you may need to: 1. Configure a VPN or proxy to access marketplace.dify.ai, as there is currently no way to manually install model providers when the marketplace is inaccessible. 2. Check your firewall settings. 3. Ensure your network security groups allow outbound connections to marketplace.dify.ai. By addressing both the configuration and network access, you should be able to resolve the accessibility issue for LLMs like deepseek and qianwen <sup>[[1]](https://github.com/langgenius/dify/blob/main/docker/ssrf_proxy/squid.conf.template)</sup><sup>[[2]](https://github.com/langgenius/dify/issues/15210)</sup><sup>[[3]](https://github.com/langgenius/dify-docs/issues/611)</sup>. <!-- 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/81dcd47b-3af9-470a-a93b-0d5bdabd5c93?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/81dcd47b-3af9-470a-a93b-0d5bdabd5c93?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/81dcd47b-3af9-470a-a93b-0d5bdabd5c93?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/81dcd47b-3af9-470a-a93b-0d5bdabd5c93?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/81dcd47b-3af9-470a-a93b-0d5bdabd5c93?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/81dcd47b-3af9-470a-a93b-0d5bdabd5c93?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/81dcd47b-3af9-470a-a93b-0d5bdabd5c93?feedback_type=other)</sup>
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#11863