Replies: 3 comments 3 replies
-
|
I have the same error messages with functions and Traefik proxy -> #8074 (comment) ERROR [asyncio] Unclosed client session |
Beta Was this translation helpful? Give feedback.
-
|
I now know where this is coming from. Pipes using generate_chat_completion() function produce these open stale aiohttp connections which alone are not an issue but if piled up - aka if many of them happen, and many of these errors happen, then you WILL eventually get into trouble and your open webui instance as a whole becomes unresponsive because so many aiohttp clients are left open |
Beta Was this translation helpful? Give feedback.
-
|
this might fix it |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I've been trying to use the two MCTS functions: everlier/mcts and haervwe/arxiv. Just for quick context, these functions perform several iterations over the initial model answer to refine it further.
I get weird errors after the each reply from ollama (see the timing below).
and after a few iterations, the workflow fails with "Load failed"
I asked around in the discussions here, but it seems people have no issues on 0.3.35.
I've been having this issue in all the configs I tried:
maincontainer, which is currently 0.3.35.devcontainer from a few hours agoI activated the global debug logs, and I tried to make sense of that. I suspect the implicit client session closing mechanism for streaming=True could be involved, so I tried disabling streaming mode. In the end the issue seems related to
open-webui/backend/open_webui/apps/socket/main.py
Line 67 in 96c8654
This function seems to be working great, it has been under scrutiny in the past few releases, so I'm inclined to say that this function reveals the problem, but does not cause it.
I should add that
Does any have a clue about what's going on in these types of iterative functions? Do you get the same errors as I do? I'm open to new suggestions to debug this.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions