Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RAG Document upload not handling 413 error with proxy (size too big) #3026

Closed
4 tasks done
MHugonKaliop opened this issue Jun 11, 2024 · 0 comments
Closed
4 tasks done

Comments

@MHugonKaliop
Copy link

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:

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

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

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!

@MHugonKaliop MHugonKaliop changed the title RAG Document upload not handling 413 error (size too big) RAG Document upload not handling 413 error with proxy (size too big) Jun 11, 2024
@open-webui open-webui locked and limited conversation to collaborators Jun 11, 2024
@tjbck tjbck converted this issue into discussion #3040 Jun 11, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant