dify icon indicating copy to clipboard operation
dify copied to clipboard

The readoperation timed outNo files were successfully processed

Open xieshifeng985 opened this issue 11 months ago • 1 comments

Self Checks

  • [x] I have read the Contributing Guide and Language Policy.
  • [x] This is only for bug report, if you would like to ask a question, please head to Discussions.
  • [x] I have searched for existing issues search for existing issues, including closed ones.
  • [x] I confirm that I am using English to submit this report, otherwise it will be closed.
  • [x] 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :)
  • [x] Please do not modify this template :) and fill in all the required fields.

Dify version

1.9.2

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

When multiple users simultaneously upload files to the workflow intelligent agent for processing, an exception occurs as shown in the following figure. How can I solve this problem? Thank you

Image

✔️ Expected Behavior

My DIY workflow agent can support multiple users uploading files simultaneously without reporting any exceptions

❌ Actual Behavior

No response

xieshifeng985 avatar Dec 15 '25 01:12 xieshifeng985

Timeout errors like "read operation timed out" during concurrent file uploads in Dify self-hosted Docker setups are often caused by infrastructure or configuration limits, not just application code. To improve support for simultaneous uploads, increase these settings in your .env and docker-compose.yaml: HTTP_REQUEST_MAX_READ_TIMEOUT, HTTP_REQUEST_MAX_WRITE_TIMEOUT, GUNICORN_TIMEOUT, NGINX_PROXY_READ_TIMEOUT, NGINX_PROXY_SEND_TIMEOUT, WORKFLOW_MAX_EXECUTION_TIME, PLUGIN_DAEMON_TIMEOUT, and PLUGIN_MAX_EXECUTION_TIMEOUT. Also, raise worker counts and connection limits (SERVER_WORKER_AMOUNT, SERVER_WORKER_CONNECTIONS, GRAPH_ENGINE_MAX_WORKERS) to handle more parallel uploads. Make sure your Docker port mapping and file server URLs are correct (e.g., FILES_URL, INTERNAL_FILES_URL, port 5001) to avoid file access issues. After changing these, restart all containers and nginx for the new settings to take effect. If you still see timeouts, check backend logs for resource contention or misconfiguration. Recent Dify versions have improved file upload synchronization, so consider upgrading if concurrency is critical for your workflow.
Reference 1 | Reference 2 | Reference 3 | Reference 4

To reply, just mention @dosu.


How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other

Chat with Dosu Open in Cursor Join Discord Share on X

dosubot[bot] avatar Dec 15 '25 02:12 dosubot[bot]