dify icon indicating copy to clipboard operation
dify copied to clipboard

cannot access the plugin marketplace

Open yuanzhiwei opened this issue 11 months ago • 17 comments

Self Checks

  • [x] This is only for bug report, if you would like to ask a question, please head to Discussions.
  • [x] I have searched for existing issues search for existing issues, including closed ones.
  • [x] I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • [x] Please do not modify this template :) and fill in all the required fields.

Dify version

1.0.0

Cloud or Self Hosted

Self Hosted (Source)

Steps to reproduce

The Linux server cannot access the plugin marketplace [https://marketplace.dify.ai/]. Did Dify officially impose server IP restrictions?

The server is provided by UCloud, with IP address 106.75.126.202.‌

✔️ Expected Behavior

No response

❌ Actual Behavior

No response

yuanzhiwei avatar Mar 03 '25 05:03 yuanzhiwei

@yuanzhiwei Hello! I'm here to help you with any bugs, questions, or contributions you may have.

The issue you're experiencing with accessing the Dify plugin marketplace in a self-hosted environment might be related to known issues such as DNS resolution problems or SSL connection errors. These issues can occur if access to marketplace.dify.ai is blocked by network restrictions like the Great Firewall (GFW) or if there are SSL configuration problems.

Here are some steps you can take to troubleshoot and potentially resolve the issue:

  1. DNS and Network Configuration: Ensure that your DNS settings are correctly configured. If you're in a region with network restrictions, consider using a VPN to bypass these restrictions.

  2. SSL Configuration: Verify that your SSL certificates are correctly configured. Check the NGINX_SSL_CERT_FILENAME and NGINX_SSL_CERT_KEY_FILENAME in your Docker configuration to ensure they point to the correct files [1].

  3. Proxy Settings: If you're using a proxy, ensure that the HTTP_PROXY and HTTPS_PROXY environment variables are correctly set. Incorrect proxy settings can interfere with network connections [2].

  4. Version Update: If the issue persists, consider updating to the latest version of Dify, as updates often include bug fixes and improvements [3].

If these steps do not resolve the issue, further investigation into your network environment may be necessary.

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] avatar Mar 03 '25 06:03 dosubot[bot]

‌The Linux server has no network connectivity issues, but cannot access the plugin marketplace.‌‌

yuanzhiwei avatar Mar 03 '25 06:03 yuanzhiwei

Afaik, there is no restrictions on this site https://marketplace.dify.ai/

crazywoola avatar Mar 03 '25 06:03 crazywoola

Does the. env. local file exist in the web folder?

xuesd avatar Mar 03 '25 06:03 xuesd

Image This is the feedback from server provider.‌

Image The curl.

yuanzhiwei avatar Mar 03 '25 07:03 yuanzhiwei

Does the. env. local file exist in the web folder?

The process hasn't reached this stage yet. When upgrading the backend to version 1.0.0, a plugin download was required, but the connection failed at this step ‌.

yuanzhiwei avatar Mar 03 '25 07:03 yuanzhiwei

I have encountered the same problem with my server hosted on Aliyun, with the IP address 39.98.115.214. When attempting to ping marketplace.dify.ai from this server, it fails with a 100% packet loss. However, the domain marketplace.dify.ai resolves to the IP address 104.26.8.156.

Subsequently, when I tried to ping 104.26.8.156, I also experienced 100% packet loss. However, pinging adjacent IPs (such as 104.26.8.157) worked without any issues.

Additionally, I attempted the same tests from a server located in a different region, and was able to successfully ping marketplace.dify.ai.

Due to this issue, I had to temporarily rollback to version 0.15.3 on the original server where upgrades are needed.

YULIANGMAX avatar Mar 03 '25 11:03 YULIANGMAX

Due to this issue, I had to temporarily rollback to version 0.15.3 on the original server where upgrades are needed.

so sad :(

hope250 avatar Mar 07 '25 06:03 hope250

我的解析到的是172.67.71.187,ip归属地是美国,访问不了

tianji2018 avatar Mar 10 '25 14:03 tianji2018

Is there a method to configure a http proxy specifically for accessing marketplace.dify.ai, ensuring that this HTTP proxy does not interfere with other modules?

tttpeng avatar Mar 12 '25 10:03 tttpeng

试了一晚上,在docker/.env文件文件中配置这个代理可以解决问题,日志里面报警的是api/core/helper/ssrf_proxy.py 61行,大概推测出来需要这两个环境变量

Image

Steven-Luo avatar Mar 12 '25 12:03 Steven-Luo

试了一晚上,在docker/.env文件文件中配置这个代理可以解决问题,日志里面报警的是api/core/helper/ssrf_proxy.py 61行,大概推测出来需要这两个环境变量

Image

我也是这样挂个代理,先把插件下载下来,然后换回去启动的, 云厂商那边说这个域名限制了BGP线路IP的访问,但是官方没有回复限制的原因

yuanzhiwei avatar Mar 12 '25 12:03 yuanzhiwei

I have encountered the same problem with my server hosted on Aliyun, with the IP address 39.98.115.214. When attempting to ping marketplace.dify.ai from this server, it fails with a 100% packet loss. However, the domain marketplace.dify.ai resolves to the IP address 104.26.8.156.

Subsequently, when I tried to ping 104.26.8.156, I also experienced 100% packet loss. However, pinging adjacent IPs (such as 104.26.8.157) worked without any issues.

Additionally, I attempted the same tests from a server located in a different region, and was able to successfully ping marketplace.dify.ai.

Due to this issue, I had to temporarily rollback to version 0.15.3 on the original server where upgrades are needed.

Has your problem been resolved? I'm currently facing the same issue on Aliyun

saaa302 avatar Mar 20 '25 07:03 saaa302

I have encountered the same problem with my server hosted on Aliyun, with the IP address 39.98.115.214. When attempting to ping marketplace.dify.ai from this server, it fails with a 100% packet loss. However, the domain marketplace.dify.ai resolves to the IP address 104.26.8.156. Subsequently, when I tried to ping 104.26.8.156, I also experienced 100% packet loss. However, pinging adjacent IPs (such as 104.26.8.157) worked without any issues. Additionally, I attempted the same tests from a server located in a different region, and was able to successfully ping marketplace.dify.ai. Due to this issue, I had to temporarily rollback to version 0.15.3 on the original server where upgrades are needed.

Has your problem been resolved? I'm currently facing the same issue on Aliyun

我测试着北京节点的好像不能访问,青岛节点可以

tianji2018 avatar Mar 20 '25 07:03 tianji2018

I have encountered the same problem with my server hosted on Aliyun, with the IP address 39.98.115.214. When attempting to ping marketplace.dify.ai from this server, it fails with a 100% packet loss. However, the domain marketplace.dify.ai resolves to the IP address 104.26.8.156. Subsequently, when I tried to ping 104.26.8.156, I also experienced 100% packet loss. However, pinging adjacent IPs (such as 104.26.8.157) worked without any issues. Additionally, I attempted the same tests from a server located in a different region, and was able to successfully ping marketplace.dify.ai. Due to this issue, I had to temporarily rollback to version 0.15.3 on the original server where upgrades are needed.

Has your problem been resolved? I'm currently facing the same issue on Aliyun

我测试着北京节点的好像不能访问,青岛节点可以

我的服务器是在:华北2(北京)

saaa302 avatar Mar 20 '25 07:03 saaa302

阿里云 华北ECS 云主机,遇到同样问题

litaosmile avatar Mar 20 '25 07:03 litaosmile

个人电脑北京的也不能访问,所以dify是不让中国用么

conglei1981 avatar Mar 24 '25 06:03 conglei1981