mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 11:28:35 -05:00
[GH-ISSUE #21161] issue: File upload for larger files (>9Mb) fails in azure environment #58070
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 @Sacul13 on GitHub (Feb 4, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/21161
Check Existing Issues
Installation Method
Docker
Open WebUI Version
0.7.2
Ollama Version (if applicable)
No response
Operating System
Ubuntu 22.04
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
Document processing with Tika od Docling works for files larger than 9 Mb in azure environment.
Actual Behavior
File processing larger than 9Mb works if deplyoed in azure via two seperate container apps (Open WebUI and Docling/Tika) in the same environment.
Steps to Reproduce
Logs & Screenshots
2026-02-04T12:44:25.2819778Z stdout F 2026-02-04 12:44:25.281 | INFO | open_webui.routers.files:upload_file_handler:225 - file.content_type: application/pdf True
2026-02-04T12:44:25.6138074Z stdout F 2026-02-04 12:44:25.613 | INFO | uvicorn.protocols.http.httptools_impl:send:483 - 80.154.95.238:0 - "POST /api/v1/files/ HTTP/1.1" 200
2026-02-04T12:44:25.7606769Z stdout F 2026-02-04 12:44:25.760 | INFO | uvicorn.protocols.http.httptools_impl:send:483 - 80.154.95.238:0 - "GET /api/v1/files/0d43cebf-315e-4193-9b34-1253e9f3a438/process/status?stream=true HTTP/1.1" 200
2026-02-04T12:44:25.8099713Z stdout F 2026-02-04 12:44:25.808 | ERROR | open_webui.routers.retrieval:process_file:1792 - Error calling Docling: Error calling Docling API: Internal Server Error
2026-02-04T12:44:25.8099969Z stdout F Traceback (most recent call last):
2026-02-04T12:44:25.8100072Z stdout F
2026-02-04T12:44:25.8100094Z stdout F File "/usr/local/lib/python3.11/threading.py", line 1002, in _bootstrap
2026-02-04T12:44:25.8100107Z stdout F self._bootstrap_inner()
2026-02-04T12:44:25.8100120Z stdout F │ └ <function Thread._bootstrap_inner at 0x78a997420ae0>
2026-02-04T12:44:25.8100136Z stdout F └ <WorkerThread(AnyIO worker thread, started 132667477567168)>
2026-02-04T12:44:25.8100151Z stdout F File "/usr/local/lib/python3.11/threading.py", line 1045, in _bootstrap_inner
2026-02-04T12:44:25.8100163Z stdout F self.run()
2026-02-04T12:44:25.8100175Z stdout F │ └ <function WorkerThread.run at 0x78a9142607c0>
2026-02-04T12:44:25.8100189Z stdout F └ <WorkerThread(AnyIO worker thread, started 132667477567168)>
2026-02-04T12:44:25.8100236Z stdout F File "/usr/local/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 986, in run
2026-02-04T12:44:25.8100250Z stdout F result = context.run(func, *args)
2026-02-04T12:44:25.8100262Z stdout F │ │ │ └ ()
2026-02-04T12:44:25.8100277Z stdout F │ │ └ functools.partial(<function process_uploaded_file at 0x78a917d4d800>, <starlette.requests.Request object at 0x78a90d117e50>, ...
2026-02-04T12:44:25.8100815Z stdout F │ └ <method 'run' of '_contextvars.Context' objects>
2026-02-04T12:44:25.8100894Z stdout F └ <_contextvars.Context object at 0x78a90d52f380>
2026-02-04T12:44:25.8100939Z stdout F
2026-02-04T12:44:25.8100964Z stdout F File "/app/backend/open_webui/routers/files.py", line 189, in process_uploaded_file
2026-02-04T12:44:25.8100986Z stdout F _process_handler(db_session)
2026-02-04T12:44:25.8101009Z stdout F │ └ <sqlalchemy.orm.session.Session object at 0x78a9669f15d0>
2026-02-04T12:44:25.8101033Z stdout F └ <function process_uploaded_file.._process_handler at 0x78a90f7cd8a0>
2026-02-04T12:44:25.8101055Z stdout F
2026-02-04T12:44:25.8101076Z stdout F File "/app/backend/open_webui/routers/files.py", line 153, in _process_handler
2026-02-04T12:44:25.8101114Z stdout F process_file(
2026-02-04T12:44:25.8101135Z stdout F └ <function process_file at 0x78a917d4d080>
2026-02-04T12:44:25.8101157Z stdout F
2026-02-04T12:44:25.8101178Z stdout F > File "/app/backend/open_webui/routers/retrieval.py", line 1699, in process_file
2026-02-04T12:44:25.8101198Z stdout F docs = loader.load(
2026-02-04T12:44:25.8101219Z stdout F │ └ <function Loader.load at 0x78a917f98360>
2026-02-04T12:44:25.8101241Z stdout F └ <open_webui.retrieval.loaders.main.Loader object at 0x78a90d115590>
2026-02-04T12:44:25.8101261Z stdout F
2026-02-04T12:44:25.8101281Z stdout F File "/app/backend/open_webui/retrieval/loaders/main.py", line 194, in load
2026-02-04T12:44:25.8101305Z stdout F docs = loader.load()
2026-02-04T12:44:25.8101327Z stdout F │ └ <function DoclingLoader.load at 0x78a917f98220>
2026-02-04T12:44:25.8101722Z stdout F └ <open_webui.retrieval.loaders.main.DoclingLoader object at 0x78a90d114490>
2026-02-04T12:44:25.8101762Z stdout F
2026-02-04T12:44:25.8101789Z stdout F File "/app/backend/open_webui/retrieval/loaders/main.py", line 181, in load
2026-02-04T12:44:25.8101811Z stdout F raise Exception(f"Error calling Docling: {error_msg}")
2026-02-04T12:44:25.8101832Z stdout F
2026-02-04T12:44:25.8102444Z stdout F Exception: Error calling Docling: Error calling Docling API: Internal Server Error
2026-02-04T12:44:25.9051059Z stdout F 2026-02-04 12:44:25.904 | ERROR | open_webui.routers.files:_process_handler:175 - Error processing file: 0d43cebf-315e-4193-9b34-1253e9f3a438
Additional Information
Upload of PDF or PPTX in general works in general, even PDFs with 107 pages. The blocker seems to be the size of the documents. The Docling container app doesnt have entries in the logs for the failed documents only OWUI logs.
This is my first Issue post here on Github, I hope everthing is understandable. Happy to get Feedback or help! :)
@owui-terminator[bot] commented on GitHub (Feb 4, 2026):
🔍 Similar Issues Found
I found some existing issues that might be related to this one. Please check if any of these are duplicates or contain helpful solutions:
#20544 issue: Document uploading - Docling API
by n4gY1 • Jan 10, 2026 •
bug#20361 Issue: Large-scale model setting-related functionality fails.
by shentong0722 • Jan 04, 2026 •
bug#17446 issue: file upload bug from 0.6.23
by K7cl • Sep 14, 2025 •
bug#20423 issue: gpt-image-1.5 does not work via Azure
by rutgers-master • Jan 06, 2026 •
bug#18142 issue: File upload not working ("list index out of range")
by Elwag • Oct 08, 2025 •
bugShow 1 more related issues
by morbificagent • May 06, 2025 •
bug💡 Tips:
This comment was generated automatically by a bot. Please react with a 👍 if this comment was helpful, or a 👎 if it was not.
@Classic298 commented on GitHub (Feb 4, 2026):
Internal docling server error means there might be an issue docling encountered - did you check docling logs?
@Sacul13 commented on GitHub (Feb 4, 2026):
Yes, the docling logs are empty. I tried smaller documents before and after the error with larger files and everything works and shows 200 in the logs for thos smaller documents.
I assume its an issue with the parsing on OWUI side or communication between the containers.
@Classic298 commented on GitHub (Feb 4, 2026):
you did use docling serve not docling? and you tried setting log levels?