mirror of
https://github.com/open-webui/open-webui.git
synced 2026-06-06 08:48:00 -05:00
issue: fastapi websocket error #4410
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 @wrb2012 on GitHub (Mar 13, 2025).
Check Existing Issues
Installation Method
Docker
Open WebUI Version
0.3.19
Ollama Version (if applicable)
No response
Operating System
Rocky Linux 8
Browser (if applicable)
Chromium 101
Confirmation
README.md.Expected Behavior
Show jupyter output (e.g. plotly image)
Actual Behavior
Error: sent 1009 (message too big) frame with 3680078 bytes exceeds limit of 1048576 bytes; no close frame received
Steps to Reproduce
1.Change Code Execution Engine to jupyter
2. When use jupyter notebook to print 'hello world', its ok
3. but when import plotly and let it make some plot, webui have above error
Logs & Screenshots
Additional Information
Maybe we should increase websockets max body size in uvicorn config in docker
@rgaricano commented on GitHub (Mar 13, 2025):
I don't think that this was by uvicorn limit, default --ws-max-size limit is 16777216
maybe increasing it on
b03fc97e28/backend/open_webui/utils/code_interpreter.py (L133)websocket_url, additional_headers=ws_headers, max_size=10000000(but by default is None?, no limit )