Replies: 5 comments 1 reply
-
Did you find any solution to this problem? |
Beta Was this translation helpful? Give feedback.
-
Did you find any solution to this problem? |
Beta Was this translation helpful? Give feedback.
-
Did you find any solution to this problem? |
Beta Was this translation helpful? Give feedback.
-
i meet the same problem. |
Beta Was this translation helpful? Give feedback.
-
I deployed Dify on a Windows 10 system using Docker Desktop. Initially, I attempted to send HTTP requests via a code node, but it kept failing and say: The requested URL could not be retrieved. After checking the documentation, I discovered that Dify's sandbox environment restricts HTTP requests from the code. Switching to the HTTP NodeSince the code node couldn’t send requests, I switched to Dify's HTTP node but encountered the same issue as you. I spent a lot of time troubleshooting, trying various fixes, including removing the SSRF_PROXY settings mentioned in (#6244), but nothing worked. The KeyAfter extensive searching, I know that:
The FixI checked the Nginx configuration and in default.conf.template found that requests to
So, I changed my HTTP request to: http://api:5001/v1 It is work for me |
Beta Was this translation helpful? Give feedback.
-
1. Is this request related to a challenge you're experiencing? Tell me about your story.
I use Node HTTP Request to connect to other Dify Application.
There is a POST to: https://api.dify.ai/v1/chat-messages but after first successfull request in first iteration the rest are timed out with the following error: Node HTTP Request run failed: Reached maximum retries (3) for URL https://api.dify.ai/v1/chat-messages",
2. Additional context or comments
Iteration:

http req:

Test run: Iteration 1 is OK, but the second fails with the timeout:

Beta Was this translation helpful? Give feedback.
All reactions