[GH-ISSUE #21161] issue: File upload for larger files (>9Mb) fails in azure environment #34933

Closed
opened 2026-04-25 09:06:34 -05:00 by GiteaMirror · 4 comments
Owner

Originally created by @Sacul13 on GitHub (Feb 4, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/21161

Check Existing Issues

  • I have searched for any existing and/or related issues.
  • I have searched for any existing and/or related discussions.
  • I have also searched in the CLOSED issues AND CLOSED discussions and found no related items (your issue might already be addressed on the development branch!).
  • I am using the latest version of Open WebUI.

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

  • I have read and followed all instructions in README.md.
  • I am using the latest version of both Open WebUI and Ollama.
  • I have included the browser console logs.
  • I have included the Docker container logs.
  • I have provided every relevant configuration, setting, and environment variable used in my setup.
  • I have clearly listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc).
  • I have documented step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation. My steps:
  • Start with the initial platform/version/OS and dependencies used,
  • Specify exact install/launch/configure commands,
  • List URLs visited, user input (incl. example values/emails/passwords if needed),
  • Describe all options and toggles enabled or changed,
  • Include any files or environmental changes,
  • Identify the expected and actual result at each stage,
  • Ensure any reasonably skilled user can follow and hit the same issue.

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

  1. Deplyo two seperate container Apps (OWUI + Docling)
  2. Connect via Dapr
  3. Configure Docling connection in admin settings, port 5001
  4. No additional parameters for docling connection
  5. Create Knowledge space in OWUI
  6. Upload pptx or PDF larger than 9Mb
  7. Error: "Internal Docling server error"
  8. Exaxt same error applies to Tika

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! :)

Originally created by @Sacul13 on GitHub (Feb 4, 2026). Original GitHub issue: https://github.com/open-webui/open-webui/issues/21161 ### Check Existing Issues - [x] I have searched for any existing and/or related issues. - [x] I have searched for any existing and/or related discussions. - [x] I have also searched in the CLOSED issues AND CLOSED discussions and found no related items (your issue might already be addressed on the development branch!). - [x] I am using the latest version of Open WebUI. ### 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 - [x] I have read and followed all instructions in `README.md`. - [x] I am using the latest version of **both** Open WebUI and Ollama. - [x] I have included the browser console logs. - [x] I have included the Docker container logs. - [x] I have **provided every relevant configuration, setting, and environment variable used in my setup.** - [x] I have clearly **listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup** (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc). - [x] I have documented **step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation**. My steps: - Start with the initial platform/version/OS and dependencies used, - Specify exact install/launch/configure commands, - List URLs visited, user input (incl. example values/emails/passwords if needed), - Describe all options and toggles enabled or changed, - Include any files or environmental changes, - Identify the expected and actual result at each stage, - Ensure any reasonably skilled user can follow and hit the same issue. ### 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 1. Deplyo two seperate container Apps (OWUI + Docling) 2. Connect via Dapr 3. Configure Docling connection in admin settings, port 5001 4. No additional parameters for docling connection 5. Create Knowledge space in OWUI 6. Upload pptx or PDF larger than 9Mb 7. Error: "Internal Docling server error" 8. Exaxt same error applies to Tika ### 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.<locals>._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! :)
GiteaMirror added the bug label 2026-04-25 09:06:34 -05:00
Author
Owner

@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:

  1. #20544 issue: Document uploading - Docling API
    by n4gY1 • Jan 10, 2026 • bug

  2. #20361 Issue: Large-scale model setting-related functionality fails.
    by shentong0722 • Jan 04, 2026 • bug

  3. #17446 issue: file upload bug from 0.6.23
    by K7cl • Sep 14, 2025 • bug

  4. #20423 issue: gpt-image-1.5 does not work via Azure
    by rutgers-master • Jan 06, 2026 • bug

  5. #18142 issue: File upload not working ("list index out of range")
    by Elwag • Oct 08, 2025 • bug

Show 1 more related issues
  1. #13558 issue: Big files to Azure STT
    by morbificagent • May 06, 2025 • bug

💡 Tips:

  • If this is a duplicate, please consider closing this issue and adding any additional details to the existing one
  • If you found a solution in any of these issues, please share it here to help others

This comment was generated automatically by a bot. Please react with a 👍 if this comment was helpful, or a 👎 if it was not.

<!-- gh-comment-id:3847432990 --> @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: 1. [#20544](https://github.com/open-webui/open-webui/issues/20544) **issue: Document uploading - Docling API** *by n4gY1 • Jan 10, 2026 • `bug`* 2. [#20361](https://github.com/open-webui/open-webui/issues/20361) **Issue: Large-scale model setting-related functionality fails.** *by shentong0722 • Jan 04, 2026 • `bug`* 3. [#17446](https://github.com/open-webui/open-webui/issues/17446) **issue: file upload bug from 0.6.23** *by K7cl • Sep 14, 2025 • `bug`* 4. [#20423](https://github.com/open-webui/open-webui/issues/20423) **issue: gpt-image-1.5 does not work via Azure** *by rutgers-master • Jan 06, 2026 • `bug`* 5. [#18142](https://github.com/open-webui/open-webui/issues/18142) **issue: File upload not working ("list index out of range")** *by Elwag • Oct 08, 2025 • `bug`* <details> <summary>Show 1 more related issues</summary> 6. [#13558](https://github.com/open-webui/open-webui/issues/13558) **issue: Big files to Azure STT** *by morbificagent • May 06, 2025 • `bug`* </details> --- 💡 **Tips:** - If this is a duplicate, please consider closing this issue and adding any additional details to the existing one - If you found a solution in any of these issues, please share it here to help others *This comment was generated automatically by a bot.* Please react with a 👍 if this comment was helpful, or a 👎 if it was not.
Author
Owner

@Classic298 commented on GitHub (Feb 4, 2026):

Internal docling server error means there might be an issue docling encountered - did you check docling logs?

<!-- gh-comment-id:3847675858 --> @Classic298 commented on GitHub (Feb 4, 2026): Internal docling server error means there might be an issue docling encountered - did you check docling logs?
Author
Owner

@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.

<!-- gh-comment-id:3848119253 --> @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.
Author
Owner

@Classic298 commented on GitHub (Feb 4, 2026):

you did use docling serve not docling? and you tried setting log levels?

<!-- gh-comment-id:3848556701 --> @Classic298 commented on GitHub (Feb 4, 2026): you did use docling serve not docling? and you tried setting log levels?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#34933