mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[GH-ISSUE #3796] 500 Error when Attempting to reach the Web UI #13387
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 @knguyen298 on GitHub (Jul 11, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/3796
Bug Report
Description
Bug Summary:
When trying to access Open-WebUI, a message shows up saying "500: Internal Error".
Steps to Reproduce:
Start up a fresh Docker container of both Open-WebUI and Ollama, and attempt to access it.
Expected Behavior:
The webpage loads.
Actual Behavior:
A message shows up displaying "500: Internal Error"
Environment
Open WebUI Version: v0.3.8-cuda
Ollama (if applicable): v0.2.1
Operating System: Ubuntu 20.04
Browser (if applicable): Firefox 127.0.2
Reproduction Details
Confirmation:
Logs and Screenshots
Browser Console Logs:
[Include relevant browser console logs, if applicable]
Docker Container Logs:
[Include relevant Docker container logs, if applicable]
Screenshots (if applicable):

Installation Method
Docker
Additional Information
This bug started happening after the SSO fix was deployed. On v0.3.7, I was able to access the site fine, and could SSO into it using a Trusted Header. On the initial release of v0.3.8, SSO was broken, but I did not get error 500 if I disabled SSO and logged in normally. On this build of v0.3.8, error 500 will show up, both with SSO enabled and disabled.
Open-WebUI is being reverse proxied via Traefik2, with authentication being performed by Authelia. I did a full removal of Open-WebUI and Ollama yesterday, including deleting the docker images and data folders. After starting fresh new containers for both, the error message was immediately present.
I am currently using v0.3.7 without issue, and if I go to v0.3.8 without changing anything (open-webui:0.3.7-cuda -> open-webui:cuda), I still get an error message.
Note
If the bug report is incomplete or does not follow the provided instructions, it may not be addressed. Please ensure that you have followed the steps outlined in the README.md and troubleshooting.md documents, and provide all necessary information for us to reproduce and address the issue. Thank you!