issue: Openwebui to Docling Conversion Process Initiated Before EasyOCR Model Download Completes #4713

Closed
opened 2025-11-11 16:01:16 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @Soliver84 on GitHub (Apr 4, 2025).

Check Existing Issues

  • I have searched the existing issues and discussions.
  • I am using the latest version of Open WebUI.

Installation Method

Pip Install

Open WebUI Version

lastest

Ollama Version (if applicable)

Lastest

Operating System

Windows Server 2022

Browser (if applicable)

Edge Version 135.0.3179.54

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 listed steps to reproduce the bug in detail.

Expected Behavior

Wait for: Downloading detection model, please wait.

Actual Behavior

Hello Support Team,

I am experiencing an issue with the Opwen WebUI. When I submit a conversion request, the system does not wait until the EasyOCR detection model is fully downloaded and loaded. As a result, I am receiving multiple 500 Internal Server Error responses. Here is an excerpt from the log:

INFO:     127.0.0.1:51784 - "POST /v1alpha/convert/file HTTP/1.1" 500 Internal Server Error
WARNING:easyocr.easyocr:Downloading detection model, please wait. This may take several minutes depending upon your network connection.
INFO:     127.0.0.1:51787 - "POST /v1alpha/convert/file HTTP/1.1" 500 Internal Server Error
...
INFO:     127.0.0.1:51808 - "POST /v1alpha/convert/file HTTP/1.1" 500 Internal Server Error

It appears that the conversion process is initiated before the model download (docling) is completed. Could you please update the WebUI so that it waits for the EasyOCR model to finish downloading before processing conversion requests?

Thank you for your prompt assistance.

Best regards,
Soliver84

Steps to Reproduce

Open Webui with Docling. and Upload Wissen

Logs & Screenshots

Image

Additional Information

No response

Originally created by @Soliver84 on GitHub (Apr 4, 2025). ### Check Existing Issues - [x] I have searched the existing issues and discussions. - [x] I am using the latest version of Open WebUI. ### Installation Method Pip Install ### Open WebUI Version lastest ### Ollama Version (if applicable) Lastest ### Operating System Windows Server 2022 ### Browser (if applicable) Edge Version 135.0.3179.54 ### 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 listed steps to reproduce the bug in detail. ### Expected Behavior Wait for: Downloading detection model, please wait. ### Actual Behavior Hello Support Team, I am experiencing an issue with the Opwen WebUI. When I submit a conversion request, the system does not wait until the EasyOCR detection model is fully downloaded and loaded. As a result, I am receiving multiple 500 Internal Server Error responses. Here is an excerpt from the log: ``` INFO: 127.0.0.1:51784 - "POST /v1alpha/convert/file HTTP/1.1" 500 Internal Server Error WARNING:easyocr.easyocr:Downloading detection model, please wait. This may take several minutes depending upon your network connection. INFO: 127.0.0.1:51787 - "POST /v1alpha/convert/file HTTP/1.1" 500 Internal Server Error ... INFO: 127.0.0.1:51808 - "POST /v1alpha/convert/file HTTP/1.1" 500 Internal Server Error ``` It appears that the conversion process is initiated before the model download (docling) is completed. Could you please update the WebUI so that it waits for the EasyOCR model to finish downloading before processing conversion requests? Thank you for your prompt assistance. Best regards, Soliver84 ### Steps to Reproduce Open Webui with Docling. and Upload Wissen ### Logs & Screenshots ![Image](https://github.com/user-attachments/assets/db6a3e71-5536-4b49-a8b2-1d394047206e) ### Additional Information _No response_
GiteaMirror added the bug label 2025-11-11 16:01:16 -06:00
Author
Owner

@Soliver84 commented on GitHub (Apr 4, 2025):

The solution is to install and authorize an SSL certificate provider. Please add this to your instructions.

pip install certifi

@Soliver84 commented on GitHub (Apr 4, 2025): The solution is to install and authorize an SSL certificate provider. Please add this to your instructions. pip install certifi
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#4713