mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 19:38:46 -05:00
[GH-ISSUE #16722] issue: Random 500 and 502 even when open-webui is not used. #18021
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 @nitanmarcel on GitHub (Aug 19, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/16722
Check Existing Issues
Installation Method
Pip Install
Open WebUI Version
v0.6.22
Ollama Version (if applicable)
0.11.4
Operating System
Debian 12
Browser (if applicable)
Any
Confirmation
README.md.Expected Behavior
Open-WebUI should not randomly crash
Actual Behavior
I get random crashes even when open-webui is not used. I actually have no idea why these happen so I dumped the last 15 minutes of my journalctl to hopefully catch the actual issue in the logs, uptime robot announced the crash 8 minutes before I took the logs so it should be enough hopefully.
Steps to Reproduce
.
Logs & Screenshots
crash_log.txt
Additional Information
No response
@rgaricano commented on GitHub (Aug 19, 2025):
did you update or using another version (e.g. dev) ?
I had this kind of errors
response = await call_next(request)in different places whenrunning dev version (& some tabs with sessions opened in previous version).
But I didn't found what was the origin, I supose that is because some websockets connections are opening in client but closed in server.
Try cleaning browser cache & site cookie (or close/reopen user session)
@nitanmarcel commented on GitHub (Aug 19, 2025):
Nope, I follower
It's installed with
pip install open-webuiso I'm guessing is the stable version@nitanmarcel commented on GitHub (Aug 19, 2025):
I don't think it's related to the browser since no one was using the web ui at that time
@rgaricano commented on GitHub (Aug 19, 2025):
In my case it was due for validation errors uploading docs to knowledge.
for reference:
i think that it's due because when concurrent tasks are running and multiple tasks fail simultaneously, this causes ExceptionGroup errors that isn't handled, and, at lest, tasks manager should handle its.
e.g.
tasks.py
and for listener cancellation during shutdown
main.py 576
@nitanmarcel commented on GitHub (Aug 19, 2025):
I notice just now that the logs do not show the crash reason since they are since the last time the app restarted