mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-22 06:02:06 -05:00
RAG Document upload not handling 413 error with proxy (size too big) #1205
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 @MHugonKaliop on GitHub (Jun 11, 2024).
Bug Report
Description
Bug Summary:
I use an Nginx proxy to handle SSL connection to openUI.
If I try to upload a document exceeding the max value configured in Nginx, on WebUI interface, nothing shows that an error occured. As an enduser, I'll wait undefinitely, I'm still seeing the "work in progress" animation, even if the web console shows that the server answered with an HTTP 413 error
Steps to Reproduce:
Use a Nginx proxy between the user browser and OpenWebUI application.
Try to upload a file exceeding Nginx configuration
Expected Behavior:
An error should be seen on the interface, saying that the file is too large
Actual Behavior:
No error is shown, the picto animation for a file upload is seen undefinitely
Environment
Open WebUI Version: 0.3.2
Ollama (if applicable): 0.1.42
Operating System: Ubuntu 22
Browser (if applicable): Chrome 125.0.6422.141
Reproduction Details
Confirmation:
Logs and Screenshots
Browser Console Logs:
Request URL: https://xxxxxx/rag/api/v1/doc
Request Method: POST
Status Code: 413 Request Entity Too Large
Remote Address: xxxx:443
Referrer Policy: strict-origin-when-cross-origin
Docker Container Logs:
Screenshots (if applicable):

Installation Method
I'm using the docker installation for OpenWebUI
Additional Information
Note
If the bug report is incomplete or does not follow the provided instructions, it may not be addressed. Please ensure that you have followed the steps outlined in the README.md and troubleshooting.md documents, and provide all necessary information for us to reproduce and address the issue. Thank you!