mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-22 14:13:08 -05:00
Network errors with multiple streams, ERR_INCOMPLETE_CHUNKED_ENCODING in debug mode #1841
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 @crizCraig on GitHub (Aug 21, 2024).
Bug Report
Installation Method
git clone
Environment
Open WebUI Version: dev branch, ~3.14
Operating System: Mac Sonoma
Browser (if applicable): Chrome 127.0.6533.73
Confirmation:
Expected Behavior:
Both responses stream in without error when multiple models are selected, exercising
MultiResponseMessages.svelteActual Behavior:
For responses longer than around a paragraph, one or both of the outputs will end with a network error
Description
Bug Summary:
Since this only happens in debug mode (I'm using pycharm) - this is not super high priority, but wanted to document in case someone runs into it. There seems to be a race condition, perhaps due to limited concurrency support while debugging, that causes the error. I would guess data from multiple models is making it into one HTTP chunk.
Reproduction Details
Steps to Reproduce:
I tried to reproduce by requesting from 2 models in three different windows in "Run" mode, but everything worked normally. So again would say this is low priority, except that if you are developing in debug mode to note that multiple models doesn't work well.