mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-11 00:04:08 -05:00
Open WebUI not working when Ollama is not reachable #3630
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 @sebiweise on GitHub (Feb 6, 2025).
Bug Report
Installation Method
Docker Compose
Environment
Open WebUI Version: v0.5.10
Ollama (if applicable): 0.5.7-0-ga420a45-dirty
Operating System: Ubuntu
Browser (if applicable): Chrome
Confirmation:
Expected Behavior:
The WebUI should load without an error and just don´t show the Ollama Models (because they are not available currently).
Actual Behavior:
The WebUi just shows a blank page and prints an error in the Docker logs.
Description
Bug Summary:
Open WebUI not working when Ollama is not reachable
Reproduction Details
Steps to Reproduce:
Logs and Screenshots
Browser Console Logs:
Docker Container Logs:
@tjbck commented on GitHub (Feb 6, 2025):
Deliberate design choice we made here,
AIOHTTP_CLIENT_TIMEOUT_OPENAI_MODEL_LISTenv is provided for this.@sebiweise commented on GitHub (Feb 6, 2025):
Perfect thanks a lot, setting the ENV var
AIOHTTP_CLIENT_TIMEOUT_OPENAI_MODEL_LIST: 1solves the problem.