The readoperation timed outNo files were successfully processed
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
✔️ Expected Behavior
My DIY workflow agent can support multiple users uploading files simultaneously without reporting any exceptions
❌ Actual Behavior
No response
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