Replies: 4 comments
-
To adjust the read timeout parameter and extend it to 600 in Dify version 0.6.4 for a self-hosted deployment using Docker, you need to set the Here is how you can set them in your # API Tool configuration
API_TOOL_DEFAULT_READ_TIMEOUT=600
# HTTP Node configuration
HTTP_REQUEST_MAX_READ_TIMEOUT=600 These parameters define the default read timeout values for API tools and HTTP requests, respectively. Additionally, ensure that the <InputField
title={t('workflow.nodes.http.timeout.readLabel')!}
description={t('workflow.nodes.http.timeout.readPlaceholder')!}
placeholder={t('workflow.nodes.http.timeout.readPlaceholder')!}
readOnly={readonly}
value={read}
onChange={v => onChange?.({ ...payload, read: v })}
min={1}
max={max_read_timeout || 600} // This line sets the maximum read timeout to 600
/> By setting these environment variables and ensuring the |
Beta Was this translation helpful? Give feedback.
-
@dosu In which directory is the .env file and code file located? |
Beta Was this translation helpful? Give feedback.
-
The
|
Beta Was this translation helpful? Give feedback.
-
@dosu sorry,i cannot find the directories in dify 0.6.4,How to adjust the read timeout parameter and extend it to 600 in dify0.6.4,please give me the file path and the way to extend read timeout parameter |
Beta Was this translation helpful? Give feedback.
-
Self Checks
Dify version
0.6.4
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
I use workflow mode .when my http request node’s output is less than 2000bytes.The llm node is good.But when request node’s output is 10000 bytes ,the llm node has some problem.How to adjust the read timeout parameter and extend it to 600.
✔️ Expected Behavior
Have no error
❌ Actual Behavior
The log is [ollama] connection error,httpconnectionpool:read timeout.(read timeout=300)
![716E8741-779B-409A-8341-3395F4CE192A](https://private-user-images.githubusercontent.com/40882447/339639523-58232315-e53e-42c4-928a-c85d1cc0f74c.jpeg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkzODQ4MjEsIm5iZiI6MTcxOTM4NDUyMSwicGF0aCI6Ii80MDg4MjQ0Ny8zMzk2Mzk1MjMtNTgyMzIzMTUtZTUzZS00MmM0LTkyOGEtYzg1ZDFjYzBmNzRjLmpwZWc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNjI2JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDYyNlQwNjQ4NDFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT04Yjk2N2JhOWM0YzU2Njc2YmE4MzY3MDllNmFkZGVhM2YxZjQ2M2Q2MGQ3NDc3ZWIxOTU3ZGI0MmRkOTVlZWUzJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.cFuKOHEnnzUxHe9eRV83ZGVEdC2jLdD3kwMVIrhouFI)
Beta Was this translation helpful? Give feedback.
All reactions