mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-15 21:19:39 -05:00
[GH-ISSUE #7660] Open-Webui error: Too many packets in payload #69437
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 @ajikmr on GitHub (Dec 6, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/7660
I could see that it was discussed earlier also, but I could not find any resolution. Error comes up when I use file uploads in chat.
I get following error from engineio in web-socket call (shows up in open-webui log)
ValueError('Too many packets in payload')
Error seems to be originating from /usr/local/lib/python3.11/site-packages/engineio/payload.py file. It has hard-coded value for max_decode_packets
max_decode_packets = 16
If I do not use any file attachment in chat, then I do not get any error.
Any suggestion?
I searched a bit online, and I saw this link
https://github.com/miguelgrinberg/python-engineio/issues/142#issuecomment-545822543
@ajikmr commented on GitHub (Dec 6, 2024):
At times, I also get error on chat window like
Uh-oh! There was an issue connecting to <model_name>
JSON.parse: unexpected character at line 1 column 1 of the JSON data
Console log shows
Uncaught (in promise) RangeError: Applying a mismatched transaction
Immutable 6
applyInner
applyTransaction
apply
dispatchTransaction
dispatch
t