Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

How do I increase the upper limit of HTTP_REQUEST_MAX_CONNECT_TIMEOUT #12275

Closed
5 tasks done
ChenGuangbinTHU opened this issue Jan 1, 2025 · 2 comments
Closed
5 tasks done
Labels
🙋‍♂️ question This issue does not contain proper reproduce steps or it only has limited words without details.

Comments

@ChenGuangbinTHU
Copy link

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • 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).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

0.14.0

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

since comfyui is slow to generate graphs, I want to make HTTP_REQUEST_MAX_CONNECT_TIMEOUT larger. Currently, the maximum value is only 300 seconds

捕获

✔️ Expected Behavior

bigger HTTP_REQUEST_MAX_CONNECT_TIMEOUT

❌ Actual Behavior

No response

@dosubot dosubot bot added the 🙋‍♂️ question This issue does not contain proper reproduce steps or it only has limited words without details. label Jan 1, 2025
Copy link

dosubot bot commented Jan 1, 2025

@ChenGuangbinTHU Hello there! I'm here to help you with bug fixes, answer questions, and guide you on becoming a contributor. Let me know how I can assist you with the issue you're facing.

To increase the upper limit of HTTP_REQUEST_MAX_CONNECT_TIMEOUT for your self-hosted Dify instance, you can modify the environment variable in your configuration file. This is typically done in the .env file. You can set a new value for HTTP_REQUEST_MAX_CONNECT_TIMEOUT by adding or updating the following line:

HTTP_REQUEST_MAX_CONNECT_TIMEOUT=desired_value

Replace desired_value with the number of seconds you want for the timeout. After making this change, restart your Dify instance to apply the new configuration.

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other

@ChenGuangbinTHU
Copy link
Author

I changed the.env.example in the docker folder to.env and added the HTTP_REQUEST_MAX_CONNECT_TIMEOUT =10000 variable. However, after I restarted dify, the maximum value could only be set to 300

@langgenius langgenius locked and limited conversation to collaborators Jan 2, 2025
@crazywoola crazywoola converted this issue into discussion #12284 Jan 2, 2025

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
🙋‍♂️ question This issue does not contain proper reproduce steps or it only has limited words without details.
Projects
None yet
Development

No branches or pull requests

1 participant