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:
I have read and followed all the instructions provided in the README.md.
I am on 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 provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below.
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:
Define a Ollama connection.
Take the Ollama instance offline and try to reload Open WebUI
Logs and Screenshots
Browser Console Logs:
Error GET https://chat.*********.com/api/models 524 (<none>)
Error VM244:1 Uncaught (in promise) SyntaxError: Failed to execute 'json' on 'Response': Unexpected end of JSON input
at index.ts:14:33
at async j (index.ts:5:14)
at async +layout.svelte:96:11
Docker Container Logs:
INFO [open_webui.routers.openai] get_all_models()
ERROR [open_webui.routers.ollama] Connection error: Cannot connect to host ***.***.***.***:11434 ssl:default [Connect call failed ('***.***.***.***', 11434)]
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:**
- [x] I have read and followed all the instructions provided in the README.md.
- [x] I am on 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 provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below.
## 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:**
- Define a Ollama connection.
- Take the Ollama instance offline and try to reload Open WebUI
## Logs and Screenshots
**Browser Console Logs:**
```
Error GET https://chat.*********.com/api/models 524 (<none>)
Error VM244:1 Uncaught (in promise) SyntaxError: Failed to execute 'json' on 'Response': Unexpected end of JSON input
at index.ts:14:33
at async j (index.ts:5:14)
at async +layout.svelte:96:11
```
**Docker Container Logs:**
```
INFO [open_webui.routers.openai] get_all_models()
ERROR [open_webui.routers.ollama] Connection error: Cannot connect to host ***.***.***.***:11434 ssl:default [Connect call failed ('***.***.***.***', 11434)]
```
Perfect thanks a lot, setting the ENV var AIOHTTP_CLIENT_TIMEOUT_OPENAI_MODEL_LIST: 1 solves the problem.
@sebiweise commented on GitHub (Feb 6, 2025):
Perfect thanks a lot, setting the ENV var `AIOHTTP_CLIENT_TIMEOUT_OPENAI_MODEL_LIST: 1` solves the problem.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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.