How to modify the API’s timeout duration #1165

Closed
opened 2026-02-21 17:30:23 -05:00 by yindo · 0 comments
Owner

Originally created by @wurenxiaozu on GitHub (Mar 5, 2024).

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).
  • Pleas do not modify this template :) and fill in all the required fields.

Provide a description of the help you need

When I call the API interface to access the configured Dify application, if the execution time exceeds 30 seconds, the API interface returns a 504 Gateway Time-out error, which is likely caused by a connection timeout leading to an interruption. How can I adjust the service configuration to extend the timeout to 360 seconds?

Originally created by @wurenxiaozu on GitHub (Mar 5, 2024). ### 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] Pleas do not modify this template :) and fill in all the required fields. ### Provide a description of the help you need When I call the API interface to access the configured Dify application, if the execution time exceeds 30 seconds, the API interface returns a 504 Gateway Time-out error, which is likely caused by a connection timeout leading to an interruption. How can I adjust the service configuration to extend the timeout to 360 seconds?
yindo closed this issue 2026-02-21 17:30:23 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#1165