I am trying to upload a 340 page pdf file (book) to the knowledge base, about 14mb. I am using ollama to build embeddings. The process is going on, I can see in the logs that the chunks are vectorized, but the connection is open in the browser. That is, the request has gone and is waiting for a response until the whole file is successfully vectorized and a confirmation is sent to the frontend. Now the connection fails with 524 error, but the embedding process continues on the backend.
Installation Method
Helm Chart installation
Environment
Open WebUI Version: v0.3.35
Confirmation:
I have read and followed all the instructions provided in the README.md.
I am on 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 the exact steps to reproduce the bug in the "Steps to Reproduce" section below.
Expected Behavior:
The file is successfully uploaded to the knowledge base.
Actual Behavior:
I'm getting error 524 from Cloudflare because a timeout has passed and the connection is still open.
Reproduction Details
Steps to Reproduce:
I use DNS from Cloudflare try uploading a large file to the knowledge base.
Additional Information
In my opinion the problem is pretty clear. You could use some web hack to notify the frontend that a file has been successfully uploaded to the vector storage, or something like that. Lots of ways.
Screenshot
Originally created by @alesha-pro on GitHub (Nov 1, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/6642
# Bug Report
I am trying to upload a 340 page pdf file (book) to the knowledge base, about 14mb. I am using ollama to build embeddings. The process is going on, I can see in the logs that the chunks are vectorized, but the connection is open in the browser. That is, the request has gone and is waiting for a response until the whole file is successfully vectorized and a confirmation is sent to the frontend. Now the connection fails with 524 error, but the embedding process continues on the backend.
## Installation Method
Helm Chart installation
## Environment
- **Open WebUI Version:** v0.3.35
**Confirmation:**
- [x] I have read and followed all the instructions provided in the README.md.
- [x] I am on the latest version of both Open WebUI and Ollama.
- [] I have included the browser console logs.
- [ ] I have included the Docker container logs.
- [x] I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below.
## Expected Behavior:
The file is successfully uploaded to the knowledge base.
## Actual Behavior:
I'm getting error 524 from Cloudflare because a timeout has passed and the connection is still open.
## Reproduction Details
**Steps to Reproduce:**
I use DNS from Cloudflare try uploading a large file to the knowledge base.
## Additional Information
In my opinion the problem is pretty clear. You could use some web hack to notify the frontend that a file has been successfully uploaded to the vector storage, or something like that. Lots of ways.
## Screenshot

Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @alesha-pro on GitHub (Nov 1, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/6642
Bug Report
I am trying to upload a 340 page pdf file (book) to the knowledge base, about 14mb. I am using ollama to build embeddings. The process is going on, I can see in the logs that the chunks are vectorized, but the connection is open in the browser. That is, the request has gone and is waiting for a response until the whole file is successfully vectorized and a confirmation is sent to the frontend. Now the connection fails with 524 error, but the embedding process continues on the backend.
Installation Method
Helm Chart installation
Environment
Confirmation:
Expected Behavior:
The file is successfully uploaded to the knowledge base.
Actual Behavior:
I'm getting error 524 from Cloudflare because a timeout has passed and the connection is still open.
Reproduction Details
Steps to Reproduce:
I use DNS from Cloudflare try uploading a large file to the knowledge base.
Additional Information
In my opinion the problem is pretty clear. You could use some web hack to notify the frontend that a file has been successfully uploaded to the vector storage, or something like that. Lots of ways.
Screenshot