[GH-ISSUE #13192] issue: 500 internal error on loading old chats #55504

Closed
opened 2026-05-05 17:36:30 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @discostur on GitHub (Apr 24, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/13192

Check Existing Issues

  • I have searched the existing issues and discussions.
  • I am using the latest version of Open WebUI.

Installation Method

Docker

Open WebUI Version

v0.6.5

Ollama Version (if applicable)

v0.6.6

Operating System

Ubuntu 24.04

Browser (if applicable)

Safari

Confirmation

  • I have read and followed all instructions in README.md.
  • I am using the latest version of both Open WebUI and Ollama.
  • I have included the browser console logs.
  • I have included the Docker container logs.
  • I have listed steps to reproduce the bug in detail.

Expected Behavior

I try to open one of my last chats from the history on the left and i get an "500 Internal Error". The old chat history should load normal.

Loading old chats from the history worked with older versions from open-webui (can't say which with version the error occured first)

Actual Behavior

"500 Internal Error"

Steps to Reproduce

  1. Install open-webui via docker (with local ollama)
  2. start some chats
  3. try to load an old chat from the history left

Logs & Screenshots

Docker Logs

2025-04-24 08:01:02.420 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 212.77.177.51:0 - "GET /api/v1/chats/ed697431-5b53-49d2-9645-492ba363e213 HTTP/1.1" 200 - {}
2025-04-24 08:01:02.435 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 212.77.177.51:0 - "GET /api/v1/chats/4fcb5c0f-09f9-4718-8833-5e08ce58f9e9 HTTP/1.1" 200 - {}
2025-04-24 08:01:02.445 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 212.77.177.51:0 - "GET /api/v1/chats/4fcb5c0f-09f9-4718-8833-5e08ce58f9e9 HTTP/1.1" 200 - {}
2025-04-24 08:01:02.467 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 212.77.177.51:0 - "GET /api/v1/chats/4fcb5c0f-09f9-4718-8833-5e08ce58f9e9 HTTP/1.1" 200 - {}
2025-04-24 08:01:05.679 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 212.77.177.51:0 - "GET /_app/version.json HTTP/1.1" 304 - {}
2025-04-24 08:01:05.693 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 212.77.177.51:0 - "GET /_app/version.json HTTP/1.1" 304 - {}

Browser console log

[Error] TypeError: Importing a module script failed.
	handleError (app.ChcUvDlU.js:2:15751)
	V (vcqg7ZRj.js:1:23991)
	(anonyme Funktion) (vcqg7ZRj.js:1:18577)

Additional Information

No response

Originally created by @discostur on GitHub (Apr 24, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/13192 ### Check Existing Issues - [x] I have searched the existing issues and discussions. - [x] I am using the latest version of Open WebUI. ### Installation Method Docker ### Open WebUI Version v0.6.5 ### Ollama Version (if applicable) v0.6.6 ### Operating System Ubuntu 24.04 ### Browser (if applicable) Safari ### Confirmation - [x] I have read and followed all instructions in `README.md`. - [x] I am using the latest version of **both** Open WebUI and Ollama. - [x] I have included the browser console logs. - [x] I have included the Docker container logs. - [x] I have listed steps to reproduce the bug in detail. ### Expected Behavior I try to open one of my last chats from the history on the left and i get an "500 Internal Error". The old chat history should load normal. Loading old chats from the history worked with older versions from open-webui (can't say which with version the error occured first) ### Actual Behavior "500 Internal Error" ### Steps to Reproduce 1. Install open-webui via docker (with local ollama) 2. start some chats 3. try to load an old chat from the history left ### Logs & Screenshots Docker Logs ```bash 2025-04-24 08:01:02.420 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 212.77.177.51:0 - "GET /api/v1/chats/ed697431-5b53-49d2-9645-492ba363e213 HTTP/1.1" 200 - {} 2025-04-24 08:01:02.435 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 212.77.177.51:0 - "GET /api/v1/chats/4fcb5c0f-09f9-4718-8833-5e08ce58f9e9 HTTP/1.1" 200 - {} 2025-04-24 08:01:02.445 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 212.77.177.51:0 - "GET /api/v1/chats/4fcb5c0f-09f9-4718-8833-5e08ce58f9e9 HTTP/1.1" 200 - {} 2025-04-24 08:01:02.467 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 212.77.177.51:0 - "GET /api/v1/chats/4fcb5c0f-09f9-4718-8833-5e08ce58f9e9 HTTP/1.1" 200 - {} 2025-04-24 08:01:05.679 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 212.77.177.51:0 - "GET /_app/version.json HTTP/1.1" 304 - {} 2025-04-24 08:01:05.693 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 212.77.177.51:0 - "GET /_app/version.json HTTP/1.1" 304 - {} ``` Browser console log ```bash [Error] TypeError: Importing a module script failed. handleError (app.ChcUvDlU.js:2:15751) V (vcqg7ZRj.js:1:23991) (anonyme Funktion) (vcqg7ZRj.js:1:18577) ``` ### Additional Information _No response_
GiteaMirror added the bug label 2026-05-05 17:36:30 -05:00
Author
Owner

@discostur commented on GitHub (Apr 24, 2025):

The error occures on every chat from the history i try to load - doesn't matter which one i choose. Even if i create a new chat, start a new one after that and try to load the chat from one minute ago i get the 500 ...

<!-- gh-comment-id:2826737371 --> @discostur commented on GitHub (Apr 24, 2025): The error occures on every chat from the history i try to load - doesn't matter which one i choose. Even if i create a new chat, start a new one after that and try to load the chat from one minute ago i get the 500 ...
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#55504