mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-11 10:03:05 -05:00
[GH-ISSUE #3273] enh: "413 Request Entity Too Large" not handled well, response HTML treated as JSON #28731
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 @darkvertex on GitHub (Jun 18, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/3273
Bug Report
Description
Bug Summary:
The OpenAI /completions proxy endpoint is responding with HTTP status code
413 Request Entity Too Large:Steps to Reproduce:
Have a conversation in Call mode using the webcam feed and do a few pictures. After ~5-10 it should complain.
Expected Behavior:
I'd expect the UI to render a more correct error and maybe offer to continue without the full conversation context.
Actual Behavior:
It tries to interpret the raw HTML:

Environment
Open WebUI Version: v0.3.5
Ollama (if applicable): 0.1.44
Operating System: Windows 11
Confirmation:
Logs and Screenshots
Browser Console Logs:
@FelixHuoEZ commented on GitHub (Jun 21, 2024):
same issue +1
@krinlove99 commented on GitHub (Jun 23, 2024):
same question ,Included in long conversations😂
@wxjttxs commented on GitHub (Jul 12, 2024):
same question when upload a image using my own model
@jonathangoorin commented on GitHub (Oct 22, 2024):
same issue, tried to change the context length to no use.
It happens every time, when there is very long messages.