When creating an app using a template, it displays an error: Request failed with status code 403: POST
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.1
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
Whether you create an app via a template or add a project to the workspace in "Explore", the following error message appears as shown in the figure:
✔️ Expected Behavior
No response
❌ Actual Behavior
No response
To resolve the 403 error when creating an app using a template in Dify version 1.0.1 when self-hosted with Docker, you need to add the URLs you want to access to the SSRF_PROXY configuration file (squid.conf.template). This is necessary because Dify uses SSRF_PROXY as a security measure to prevent potential attacks. The configuration file can be found at docker/ssrf_proxy/squid.conf.template in your Dify installation [1].
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