mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 19:38:46 -05:00
issue: [Timeout] Large file processing hangs and never finishes KB ingestion #5372
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kcambrek on GitHub (May 28, 2025).
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.6.11
Ollama Version (if applicable)
No response
Operating System
OpenShift/Kubernetes
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
Actual Behavior
Steps to Reproduce
Paste the snippet below into issue_demo.py, filling in WEBUI_URL, TOKEN and a large FILE_BINARY.
Run python issue_demo.py.
Observe the 504 responses from process/file and .../file/add.
Check OpenWebUI logs: embeddings are generated, but KB stays empty.
Logs & Screenshots
Sample logs
Additional Information
Notes
process=Falseat upload avoids immediate timeout, and returns a file_id that is needed later for adding the processed file to the knowledge base. Manualprocess/filestill 504s.