[GH-ISSUE #5208] bug: 500 Internal Server Error #52561

Closed
opened 2026-05-05 13:39:54 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @luochen1990 on GitHub (Sep 6, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/5208

Bug Report

Using OIDC login, worked for a few weeks, but few days ago following issue occurs :

"POST /api/chat/completed HTTP/1.0" 500 Internal Server Error

File "/nix/store/zz8gyfz05lyl6kyi0m9vf5jb8mly7sw7-open-webui-0.3.10/lib/python3.12/site-packages/main.py", line 1178, in chat_completed
    "session_id": data["session_id"],
                   ~~~~^^^^^^^^^^^^^^
 KeyError: 'session_id'

Full log: journalctl output

Installation Method

[Describe the method you used to install the project, e.g., git clone, Docker, pip, etc.]

NixOS module

Environment

  • Open WebUI Version: open-webui-0.3.10

  • Operating System: NixOS 24.11.20240903.e6ee66e (Vicuna) x86_64

  • Browser (if applicable): Microsoft Edge
    Version 126.0.2592.102 (Official build) (64-bit)

Originally created by @luochen1990 on GitHub (Sep 6, 2024). Original GitHub issue: https://github.com/open-webui/open-webui/issues/5208 # Bug Report Using OIDC login, worked for a few weeks, but few days ago following issue occurs : ``` "POST /api/chat/completed HTTP/1.0" 500 Internal Server Error File "/nix/store/zz8gyfz05lyl6kyi0m9vf5jb8mly7sw7-open-webui-0.3.10/lib/python3.12/site-packages/main.py", line 1178, in chat_completed "session_id": data["session_id"], ~~~~^^^^^^^^^^^^^^ KeyError: 'session_id' ``` Full log: [journalctl output](https://gist.github.com/luochen1990/b57bee523dd43f943287a9df507d05c0) ## Installation Method [Describe the method you used to install the project, e.g., git clone, Docker, pip, etc.] [NixOS module](https://github.com/NixOS/nixpkgs/blob/927501e2d033a79ee18bbf9d6a17444c48e1356e/nixos/modules/services/misc/open-webui.nix) ## Environment - **Open WebUI Version:** open-webui-0.3.10 - **Operating System:** NixOS 24.11.20240903.e6ee66e (Vicuna) x86_64 - **Browser (if applicable):** Microsoft Edge Version 126.0.2592.102 (Official build) (64-bit)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#52561