-
Notifications
You must be signed in to change notification settings - Fork 8.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API proxy leads to sandbox 502 and http request time out in self-hosted docker-compose environment #9960
Comments
Hello, @Derican! I'm here to help you with bug reports, answer questions, and assist you as a contributor. Let's work together to resolve the issue you're facing. I found some similar issues and discussions that might help you resolve the 502 error and HTTP request timeout in your self-hosted Docker Compose environment:
By following these steps, you should be able to resolve the 502 error and HTTP request timeout issues. If the problem persists, further investigation into the specific error messages in the logs will be necessary. |
出现这个 大概率是给容器配置了代理了,要把代理去掉 |
但是代理是必须的,无论说的是拉取镜像的代理还是自部署的dify连接OpenAI等服务。所以这个Issue以及相关的大部分Issue讨论都是建立在如何正确地给容器添加代理。可以看到上面我给的让ssrf走代理(收集自CSDN和Discord日本组的相关讨论)一定程度上解决了这个问题(只有http请求节点无法连接)。 |
@Derican |
Thanks for the reply and I'll try it out ASAP! :) |
|
@Axaxin 感谢回复!
|
Self Checks
Dify version
newest from docker image
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
start dify from docker compose as written in docs.
add proxy to api in docker-compose.yaml and restart dify
test code runner in dify
test http request, GET www.google.com
The LLM Module and network on the server is tested ok. And Suggestion in #3079 is already adopted.
✔️ Expected Behavior
for 3, execute code in python script
for 4, got status 200 from response
❌ Actual Behavior
for 3, got the 502 error as the same in #9737
for 4, got reached max retries
The text was updated successfully, but these errors were encountered: