[GH-ISSUE #7197] Docker Ollama Server Connection issue. MacOS Client, Ubuntu Ollama Server Local Network #69256

Closed
opened 2026-05-13 01:38:13 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @andrewtvuong on GitHub (Nov 22, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/7197

Hi all,

Not finding much information on Docker Ollama Server connection issues when the client is MacOS and Ubuntu Ollama Server on Local Network.

I can curl from Docker's Terminal. Ollama running. I can curl from my Macbook.

I used docker run -p 3000:8080 -e OLLAMA_BASE_URL=192.168.1.11:11434 --add-host=host.docker.internal:host-gateway -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:main

I have tried docker run -d --network=host -v open-webui:/app/backend/data -e OLLAMA_BASE_URL=192.168.1.11:11434 --name open-webui --restart always ghcr.io/open-webui/open-webui:main, and localhost:8080 I get site can't be reached.

I've deleted the image, and redownloaded.
I've cleared browser cache.
I've deleted the Ollama entry in the UI and manually typed in the 192.168.1.11:11434.

On Ollama server side, I have set to 0.0.0.0

Is anyone else experiencing connection issues to ollama server when the client is macos to ubuntu server?

### Editing /etc/systemd/system/ollama.service.d/override.conf
### Anything between here and the comment below will become the new contents of the file

[Service]
Environment="OLLAMA_HOST=0.0.0.0"

### Lines below this comment will be discarded

### /etc/systemd/system/ollama.service
# [Unit]
# Description=Ollama Service
# After=network-online.target
# 
# [Service]
# ExecStart=/usr/local/bin/ollama serve
# User=ollama
# Group=ollama
# Restart=always
# RestartSec=3
# Environment="PATH=/usr/local/miniconda3/condabin:/home/skyai/bin:/usr/local/bin:/home/skyai/.local/bin:/usr/local/cuda-12.2/bin:/usr/l>
# 
# [Install]
# WantedBy=default.target
2024-11-21 20:30:25 Loading WEBUI_SECRET_KEY from file, not provided as an environment variable.
2024-11-21 20:30:25 Generating WEBUI_SECRET_KEY
2024-11-21 20:30:25 Loading WEBUI_SECRET_KEY from .webui_secret_key
2024-11-21 20:30:28 /app/backend/open_webui
2024-11-21 20:30:28 /app/backend
2024-11-21 20:30:28 /app
2024-11-21 20:30:28 Running migrations
2024-11-21 20:30:28 INFO  [alembic.runtime.migration] Context impl SQLiteImpl.
2024-11-21 20:30:28 INFO  [alembic.runtime.migration] Will assume non-transactional DDL.
2024-11-21 20:30:28 INFO  [open_webui.env] 'ENABLE_OLLAMA_API' loaded from the latest database entry
2024-11-21 20:30:28 INFO  [open_webui.env] 'OLLAMA_BASE_URLS' loaded from the latest database entry
2024-11-21 20:30:28 INFO  [open_webui.env] 'OLLAMA_API_CONFIGS' loaded from the latest database entry
2024-11-21 20:30:28 INFO  [open_webui.env] 'ENABLE_OPENAI_API' loaded from the latest database entry
2024-11-21 20:30:28 INFO  [open_webui.env] 'OPENAI_API_KEYS' loaded from the latest database entry
2024-11-21 20:30:28 INFO  [open_webui.env] 'OPENAI_API_BASE_URLS' loaded from the latest database entry
2024-11-21 20:30:28 INFO  [open_webui.env] 'OPENAI_API_CONFIGS' loaded from the latest database entry
2024-11-21 20:30:28 INFO  [open_webui.env] 'ENABLE_SIGNUP' loaded from the latest database entry
2024-11-21 20:30:28 INFO  [open_webui.env] 'DEFAULT_LOCALE' loaded from the latest database entry
2024-11-21 20:30:28 INFO  [open_webui.env] 'DEFAULT_PROMPT_SUGGESTIONS' loaded from the latest database entry
2024-11-21 20:30:28 WARNI [open_webui.env] 
2024-11-21 20:30:28 
2024-11-21 20:30:28 WARNING: CORS_ALLOW_ORIGIN IS SET TO '*' - NOT RECOMMENDED FOR PRODUCTION DEPLOYMENTS.
2024-11-21 20:30:28 
2024-11-21 20:30:28 INFO  [open_webui.env] Embedding model set: sentence-transformers/all-MiniLM-L6-v2
2024-11-21 20:30:28 INFO  [open_webui.apps.audio.main] whisper_device_type: cpu
2024-11-21 20:30:30 WARNI [langchain_community.utils.user_agent] USER_AGENT environment variable not set, consider setting it to identify your requests.
2024-11-21 20:30:33 
Fetching 30 files:   0%|          | 0/30 [00:00<?, ?it/s]
Fetching 30 files: 100%|██████████| 30/30 [00:00<00:00, 113257.53it/s]
2024-11-21 20:30:34 INFO:     Started server process [1]
2024-11-21 20:30:34 INFO:     Waiting for application startup.
2024-11-21 20:30:34 INFO:     Application startup complete.
2024-11-21 20:30:34 INFO:     Uvicorn running on http://0.0.0.0:8080 (Press CTRL+C to quit)
2024-11-21 20:30:37 
2024-11-21 20:30:37   ___                    __        __   _     _   _ ___
2024-11-21 20:30:37  / _ \ _ __   ___ _ __   \ \      / /__| |__ | | | |_ _|
2024-11-21 20:30:37 | | | | '_ \ / _ \ '_ \   \ \ /\ / / _ \ '_ \| | | || |
2024-11-21 20:30:37 | |_| | |_) |  __/ | | |   \ V  V /  __/ |_) | |_| || |
2024-11-21 20:30:37  \___/| .__/ \___|_| |_|    \_/\_/ \___|_.__/ \___/|___|
2024-11-21 20:30:37       |_|
2024-11-21 20:30:37 
2024-11-21 20:30:37 
2024-11-21 20:30:37 v0.4.2 - building the best open-source AI user interface.
2024-11-21 20:30:37 
2024-11-21 20:30:37 https://github.com/open-webui/open-webui
2024-11-21 20:30:37 
2024-11-21 20:30:37 INFO:     172.17.0.1:57070 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PDI8ju1 HTTP/1.1" 200 OK
2024-11-21 20:30:37 INFO:     ('172.17.0.1', 57084) - "WebSocket /ws/socket.io/?EIO=4&transport=websocket&sid=Da5lbf-oxCQ_oGq8AAAA" [accepted]
2024-11-21 20:30:37 INFO:     connection open
2024-11-21 20:30:37 INFO:     172.17.0.1:57070 - "POST /ws/socket.io/?EIO=4&transport=polling&t=PDI8jwH&sid=Da5lbf-oxCQ_oGq8AAAA HTTP/1.1" 200 OK
2024-11-21 20:30:37 INFO:     172.17.0.1:57100 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PDI8jwH.0&sid=Da5lbf-oxCQ_oGq8AAAA HTTP/1.1" 200 OK
2024-11-21 20:30:38 INFO:     172.17.0.1:57070 - "GET /api/config HTTP/1.1" 200 OK
2024-11-21 20:30:38 INFO:     172.17.0.1:57100 - "GET /static/splash.png HTTP/1.1" 200 OK
2024-11-21 20:30:38 INFO:     172.17.0.1:57104 - "GET /api/v1/auths/ HTTP/1.1" 401 Unauthorized
2024-11-21 20:30:38 INFO:     172.17.0.1:57070 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PDI8kC0 HTTP/1.1" 200 OK
2024-11-21 20:30:38 INFO:     ('172.17.0.1', 57108) - "WebSocket /ws/socket.io/?EIO=4&transport=websocket&sid=QKj4DMXAFPV2DaU_AAAC" [accepted]
2024-11-21 20:30:38 INFO:     connection open
2024-11-21 20:30:38 INFO:     172.17.0.1:57104 - "GET /manifest.json HTTP/1.1" 200 OK
2024-11-21 20:30:38 INFO:     172.17.0.1:57070 - "POST /ws/socket.io/?EIO=4&transport=polling&t=PDI8kCG&sid=QKj4DMXAFPV2DaU_AAAC HTTP/1.1" 200 OK
2024-11-21 20:30:38 INFO:     172.17.0.1:57100 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PDI8kCH&sid=QKj4DMXAFPV2DaU_AAAC HTTP/1.1" 200 OK
2024-11-21 20:30:38 INFO:     172.17.0.1:57122 - "GET /static/favicon.png HTTP/1.1" 200 OK
2024-11-21 20:30:40 INFO  [open_webui.apps.webui.models.auths] authenticate_user: datarainfall@gmail.com
2024-11-21 20:30:40 INFO:     172.17.0.1:57138 - "POST /api/v1/auths/signin HTTP/1.1" 200 OK
2024-11-21 20:30:40 INFO:     172.17.0.1:57138 - "GET /api/config HTTP/1.1" 200 OK
2024-11-21 20:30:40 INFO:     172.17.0.1:57138 - "GET /api/changelog HTTP/1.1" 200 OK
2024-11-21 20:30:40 INFO:     172.17.0.1:57144 - "GET /api/v1/users/user/settings HTTP/1.1" 200 OK
2024-11-21 20:30:40 INFO  [open_webui.apps.ollama.main] get_all_models()
2024-11-21 20:30:40 ERROR [open_webui.apps.ollama.main] Connection error: 192.168.1.11:11434/api/tags
2024-11-21 20:30:40 [None]
2024-11-21 20:30:40 INFO:     172.17.0.1:57144 - "GET /api/models HTTP/1.1" 200 OK
2024-11-21 20:30:40 INFO:     172.17.0.1:57144 - "GET /api/v1/configs/banners HTTP/1.1" 200 OK
2024-11-21 20:30:40 INFO:     172.17.0.1:57144 - "GET /api/v1/tools/ HTTP/1.1" 200 OK
2024-11-21 20:30:40 ERROR [open_webui.apps.ollama.main] Connection error: 192.168.1.11:11434/api/version
2024-11-21 20:30:40 INFO:     172.17.0.1:57156 - "GET /ollama/api/version HTTP/1.1" 500 Internal Server Error
2024-11-21 20:30:40 INFO:     172.17.0.1:57138 - "GET /api/v1/chats/all/tags HTTP/1.1" 200 OK
2024-11-21 20:30:40 INFO:     172.17.0.1:57138 - "GET /api/v1/users/user/settings HTTP/1.1" 200 OK
2024-11-21 20:30:40 INFO:     172.17.0.1:57138 - "GET /api/v1/chats/pinned HTTP/1.1" 200 OK
2024-11-21 20:30:40 INFO:     172.17.0.1:57138 - "GET /api/v1/folders/ HTTP/1.1" 200 OK
2024-11-21 20:30:40 INFO:     172.17.0.1:57156 - "GET /api/v1/chats/?page=1 HTTP/1.1" 200 OK
2024-11-21 20:30:40 INFO:     172.17.0.1:57156 - "GET /api/v1/chats/?page=2 HTTP/1.1" 200 OK
2024-11-21 20:30:40 INFO:     172.17.0.1:57144 - "GET /api/version/updates HTTP/1.1" 200 OK
2024-11-21 20:30:47 INFO:     172.17.0.1:56122 - "GET /api/v1/users/ HTTP/1.1" 200 OK
2024-11-21 20:30:47 INFO:     172.17.0.1:56122 - "GET /api/v1/users/ HTTP/1.1" 200 OK
2024-11-21 20:30:49 INFO:     172.17.0.1:56136 - "GET /api/webhook HTTP/1.1" 200 OK
2024-11-21 20:30:49 INFO:     172.17.0.1:56124 - "GET /api/v1/auths/admin/config HTTP/1.1" 200 OK
2024-11-21 20:30:49 INFO:     172.17.0.1:56130 - "GET /api/v1/auths/admin/config/ldap/server HTTP/1.1" 200 OK
2024-11-21 20:30:49 INFO:     172.17.0.1:56130 - "GET /api/v1/auths/admin/config/ldap HTTP/1.1" 200 OK
2024-11-21 20:30:50 INFO:     172.17.0.1:56130 - "GET /ollama/config HTTP/1.1" 200 OK
2024-11-21 20:30:50 INFO:     172.17.0.1:56124 - "GET /openai/config HTTP/1.1" 200 OK
2024-11-21 20:30:55 ERROR [open_webui.apps.ollama.main] Client error: 192.168.1.11:11434/api/version
2024-11-21 20:30:55 Traceback (most recent call last):
2024-11-21 20:30:55   File "/app/backend/open_webui/apps/ollama/main.py", line 103, in verify_connection
2024-11-21 20:30:55     async with session.get(f"{url}/api/version", headers=headers) as r:
2024-11-21 20:30:55   File "/usr/local/lib/python3.11/site-packages/aiohttp/client.py", line 1355, in __aenter__
2024-11-21 20:30:55     self._resp: _RetType = await self._coro
2024-11-21 20:30:55                            ^^^^^^^^^^^^^^^^
2024-11-21 20:30:55   File "/usr/local/lib/python3.11/site-packages/aiohttp/client.py", line 522, in _request
2024-11-21 20:30:55     raise NonHttpUrlClientError(url)
2024-11-21 20:30:55 aiohttp.client_exceptions.NonHttpUrlClientError: 192.168.1.11:11434/api/version
2024-11-21 20:30:55 INFO:     172.17.0.1:57306 - "POST /ollama/verify HTTP/1.1" 500 Internal Server Error
2024-11-21 20:31:36 INFO  [open_webui.env] Saving 'ENABLE_OLLAMA_API' to the database
2024-11-21 20:31:36 INFO  [open_webui.env] Saving 'OLLAMA_BASE_URLS' to the database
2024-11-21 20:31:36 INFO  [open_webui.env] Saving 'OLLAMA_API_CONFIGS' to the database
2024-11-21 20:31:36 INFO:     172.17.0.1:59104 - "POST /ollama/config/update HTTP/1.1" 200 OK
2024-11-21 20:31:36 INFO  [open_webui.apps.ollama.main] get_all_models()
2024-11-21 20:31:36 ERROR [open_webui.apps.ollama.main] Connection error: 192.168.1.11:11434/api/tags
2024-11-21 20:31:36 [None]
2024-11-21 20:31:36 INFO:     172.17.0.1:59104 - "GET /api/models HTTP/1.1" 200 OK
2024-11-21 20:31:39 INFO  [open_webui.env] Saving 'ENABLE_OPENAI_API' to the database
2024-11-21 20:31:39 INFO  [open_webui.env] Saving 'OPENAI_API_BASE_URLS' to the database
2024-11-21 20:31:39 INFO  [open_webui.env] Saving 'OPENAI_API_KEYS' to the database
2024-11-21 20:31:39 INFO  [open_webui.env] Saving 'OPENAI_API_CONFIGS' to the database
2024-11-21 20:31:39 INFO:     172.17.0.1:59112 - "POST /openai/config/update HTTP/1.1" 200 OK
2024-11-21 20:31:39 INFO  [open_webui.env] Saving 'ENABLE_OLLAMA_API' to the database
2024-11-21 20:31:39 INFO  [open_webui.env] Saving 'OLLAMA_BASE_URLS' to the database
2024-11-21 20:31:39 INFO  [open_webui.env] Saving 'OLLAMA_API_CONFIGS' to the database
2024-11-21 20:31:39 INFO:     172.17.0.1:59120 - "POST /ollama/config/update HTTP/1.1" 200 OK
2024-11-21 20:31:39 INFO  [open_webui.apps.ollama.main] get_all_models()
2024-11-21 20:31:39 ERROR [open_webui.apps.ollama.main] Connection error: 192.168.1.11:11434/api/tags
2024-11-21 20:31:39 [None]
2024-11-21 20:31:39 INFO:     172.17.0.1:59112 - "GET /api/models HTTP/1.1" 200 OK
2024-11-21 20:31:39 INFO:     172.17.0.1:59112 - "GET /api/models HTTP/1.1" 200 OK
2024-11-21 20:31:46 ERROR [open_webui.apps.ollama.main] Client error: 192.168.1.11:11434/api/version
2024-11-21 20:31:46 Traceback (most recent call last):
2024-11-21 20:31:46   File "/app/backend/open_webui/apps/ollama/main.py", line 103, in verify_connection
2024-11-21 20:31:46     async with session.get(f"{url}/api/version", headers=headers) as r:
2024-11-21 20:31:46   File "/usr/local/lib/python3.11/site-packages/aiohttp/client.py", line 1355, in __aenter__
2024-11-21 20:31:46     self._resp: _RetType = await self._coro
2024-11-21 20:31:46                            ^^^^^^^^^^^^^^^^
2024-11-21 20:31:46   File "/usr/local/lib/python3.11/site-packages/aiohttp/client.py", line 522, in _request
2024-11-21 20:31:46     raise NonHttpUrlClientError(url)
2024-11-21 20:31:46 aiohttp.client_exceptions.NonHttpUrlClientError: 192.168.1.11:11434/api/version
2024-11-21 20:31:46 INFO:     172.17.0.1:55038 - "POST /ollama/verify HTTP/1.1" 500 Internal Server Error
2024-11-21 20:31:47 INFO  [open_webui.env] Saving 'ENABLE_OLLAMA_API' to the database
2024-11-21 20:31:47 INFO  [open_webui.env] Saving 'OLLAMA_BASE_URLS' to the database
2024-11-21 20:31:47 INFO  [open_webui.env] Saving 'OLLAMA_API_CONFIGS' to the database
2024-11-21 20:31:47 INFO:     172.17.0.1:55038 - "POST /ollama/config/update HTTP/1.1" 200 OK
2024-11-21 20:31:47 INFO  [open_webui.apps.ollama.main] get_all_models()
2024-11-21 20:31:47 ERROR [open_webui.apps.ollama.main] Connection error: 192.168.1.11:11434/api/tags
2024-11-21 20:31:47 [None]
2024-11-21 20:31:47 INFO:     172.17.0.1:55038 - "GET /api/models HTTP/1.1" 200 OK
Originally created by @andrewtvuong on GitHub (Nov 22, 2024). Original GitHub issue: https://github.com/open-webui/open-webui/issues/7197 Hi all, Not finding much information on Docker Ollama Server connection issues when the client is MacOS and Ubuntu Ollama Server on Local Network. I can curl from Docker's Terminal. Ollama running. I can curl from my Macbook. I used `docker run -p 3000:8080 -e OLLAMA_BASE_URL=192.168.1.11:11434 --add-host=host.docker.internal:host-gateway -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:main` I have tried `docker run -d --network=host -v open-webui:/app/backend/data -e OLLAMA_BASE_URL=192.168.1.11:11434 --name open-webui --restart always ghcr.io/open-webui/open-webui:main`, and localhost:8080 I get site can't be reached. I've deleted the image, and redownloaded. I've cleared browser cache. I've deleted the Ollama entry in the UI and manually typed in the 192.168.1.11:11434. On Ollama server side, I have set to 0.0.0.0 Is anyone else experiencing connection issues to ollama server when the client is macos to ubuntu server? ``` ### Editing /etc/systemd/system/ollama.service.d/override.conf ### Anything between here and the comment below will become the new contents of the file [Service] Environment="OLLAMA_HOST=0.0.0.0" ### Lines below this comment will be discarded ### /etc/systemd/system/ollama.service # [Unit] # Description=Ollama Service # After=network-online.target # # [Service] # ExecStart=/usr/local/bin/ollama serve # User=ollama # Group=ollama # Restart=always # RestartSec=3 # Environment="PATH=/usr/local/miniconda3/condabin:/home/skyai/bin:/usr/local/bin:/home/skyai/.local/bin:/usr/local/cuda-12.2/bin:/usr/l> # # [Install] # WantedBy=default.target ``` ``` 2024-11-21 20:30:25 Loading WEBUI_SECRET_KEY from file, not provided as an environment variable. 2024-11-21 20:30:25 Generating WEBUI_SECRET_KEY 2024-11-21 20:30:25 Loading WEBUI_SECRET_KEY from .webui_secret_key 2024-11-21 20:30:28 /app/backend/open_webui 2024-11-21 20:30:28 /app/backend 2024-11-21 20:30:28 /app 2024-11-21 20:30:28 Running migrations 2024-11-21 20:30:28 INFO [alembic.runtime.migration] Context impl SQLiteImpl. 2024-11-21 20:30:28 INFO [alembic.runtime.migration] Will assume non-transactional DDL. 2024-11-21 20:30:28 INFO [open_webui.env] 'ENABLE_OLLAMA_API' loaded from the latest database entry 2024-11-21 20:30:28 INFO [open_webui.env] 'OLLAMA_BASE_URLS' loaded from the latest database entry 2024-11-21 20:30:28 INFO [open_webui.env] 'OLLAMA_API_CONFIGS' loaded from the latest database entry 2024-11-21 20:30:28 INFO [open_webui.env] 'ENABLE_OPENAI_API' loaded from the latest database entry 2024-11-21 20:30:28 INFO [open_webui.env] 'OPENAI_API_KEYS' loaded from the latest database entry 2024-11-21 20:30:28 INFO [open_webui.env] 'OPENAI_API_BASE_URLS' loaded from the latest database entry 2024-11-21 20:30:28 INFO [open_webui.env] 'OPENAI_API_CONFIGS' loaded from the latest database entry 2024-11-21 20:30:28 INFO [open_webui.env] 'ENABLE_SIGNUP' loaded from the latest database entry 2024-11-21 20:30:28 INFO [open_webui.env] 'DEFAULT_LOCALE' loaded from the latest database entry 2024-11-21 20:30:28 INFO [open_webui.env] 'DEFAULT_PROMPT_SUGGESTIONS' loaded from the latest database entry 2024-11-21 20:30:28 WARNI [open_webui.env] 2024-11-21 20:30:28 2024-11-21 20:30:28 WARNING: CORS_ALLOW_ORIGIN IS SET TO '*' - NOT RECOMMENDED FOR PRODUCTION DEPLOYMENTS. 2024-11-21 20:30:28 2024-11-21 20:30:28 INFO [open_webui.env] Embedding model set: sentence-transformers/all-MiniLM-L6-v2 2024-11-21 20:30:28 INFO [open_webui.apps.audio.main] whisper_device_type: cpu 2024-11-21 20:30:30 WARNI [langchain_community.utils.user_agent] USER_AGENT environment variable not set, consider setting it to identify your requests. 2024-11-21 20:30:33 Fetching 30 files: 0%| | 0/30 [00:00<?, ?it/s] Fetching 30 files: 100%|██████████| 30/30 [00:00<00:00, 113257.53it/s] 2024-11-21 20:30:34 INFO: Started server process [1] 2024-11-21 20:30:34 INFO: Waiting for application startup. 2024-11-21 20:30:34 INFO: Application startup complete. 2024-11-21 20:30:34 INFO: Uvicorn running on http://0.0.0.0:8080 (Press CTRL+C to quit) 2024-11-21 20:30:37 2024-11-21 20:30:37 ___ __ __ _ _ _ ___ 2024-11-21 20:30:37 / _ \ _ __ ___ _ __ \ \ / /__| |__ | | | |_ _| 2024-11-21 20:30:37 | | | | '_ \ / _ \ '_ \ \ \ /\ / / _ \ '_ \| | | || | 2024-11-21 20:30:37 | |_| | |_) | __/ | | | \ V V / __/ |_) | |_| || | 2024-11-21 20:30:37 \___/| .__/ \___|_| |_| \_/\_/ \___|_.__/ \___/|___| 2024-11-21 20:30:37 |_| 2024-11-21 20:30:37 2024-11-21 20:30:37 2024-11-21 20:30:37 v0.4.2 - building the best open-source AI user interface. 2024-11-21 20:30:37 2024-11-21 20:30:37 https://github.com/open-webui/open-webui 2024-11-21 20:30:37 2024-11-21 20:30:37 INFO: 172.17.0.1:57070 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PDI8ju1 HTTP/1.1" 200 OK 2024-11-21 20:30:37 INFO: ('172.17.0.1', 57084) - "WebSocket /ws/socket.io/?EIO=4&transport=websocket&sid=Da5lbf-oxCQ_oGq8AAAA" [accepted] 2024-11-21 20:30:37 INFO: connection open 2024-11-21 20:30:37 INFO: 172.17.0.1:57070 - "POST /ws/socket.io/?EIO=4&transport=polling&t=PDI8jwH&sid=Da5lbf-oxCQ_oGq8AAAA HTTP/1.1" 200 OK 2024-11-21 20:30:37 INFO: 172.17.0.1:57100 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PDI8jwH.0&sid=Da5lbf-oxCQ_oGq8AAAA HTTP/1.1" 200 OK 2024-11-21 20:30:38 INFO: 172.17.0.1:57070 - "GET /api/config HTTP/1.1" 200 OK 2024-11-21 20:30:38 INFO: 172.17.0.1:57100 - "GET /static/splash.png HTTP/1.1" 200 OK 2024-11-21 20:30:38 INFO: 172.17.0.1:57104 - "GET /api/v1/auths/ HTTP/1.1" 401 Unauthorized 2024-11-21 20:30:38 INFO: 172.17.0.1:57070 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PDI8kC0 HTTP/1.1" 200 OK 2024-11-21 20:30:38 INFO: ('172.17.0.1', 57108) - "WebSocket /ws/socket.io/?EIO=4&transport=websocket&sid=QKj4DMXAFPV2DaU_AAAC" [accepted] 2024-11-21 20:30:38 INFO: connection open 2024-11-21 20:30:38 INFO: 172.17.0.1:57104 - "GET /manifest.json HTTP/1.1" 200 OK 2024-11-21 20:30:38 INFO: 172.17.0.1:57070 - "POST /ws/socket.io/?EIO=4&transport=polling&t=PDI8kCG&sid=QKj4DMXAFPV2DaU_AAAC HTTP/1.1" 200 OK 2024-11-21 20:30:38 INFO: 172.17.0.1:57100 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PDI8kCH&sid=QKj4DMXAFPV2DaU_AAAC HTTP/1.1" 200 OK 2024-11-21 20:30:38 INFO: 172.17.0.1:57122 - "GET /static/favicon.png HTTP/1.1" 200 OK 2024-11-21 20:30:40 INFO [open_webui.apps.webui.models.auths] authenticate_user: datarainfall@gmail.com 2024-11-21 20:30:40 INFO: 172.17.0.1:57138 - "POST /api/v1/auths/signin HTTP/1.1" 200 OK 2024-11-21 20:30:40 INFO: 172.17.0.1:57138 - "GET /api/config HTTP/1.1" 200 OK 2024-11-21 20:30:40 INFO: 172.17.0.1:57138 - "GET /api/changelog HTTP/1.1" 200 OK 2024-11-21 20:30:40 INFO: 172.17.0.1:57144 - "GET /api/v1/users/user/settings HTTP/1.1" 200 OK 2024-11-21 20:30:40 INFO [open_webui.apps.ollama.main] get_all_models() 2024-11-21 20:30:40 ERROR [open_webui.apps.ollama.main] Connection error: 192.168.1.11:11434/api/tags 2024-11-21 20:30:40 [None] 2024-11-21 20:30:40 INFO: 172.17.0.1:57144 - "GET /api/models HTTP/1.1" 200 OK 2024-11-21 20:30:40 INFO: 172.17.0.1:57144 - "GET /api/v1/configs/banners HTTP/1.1" 200 OK 2024-11-21 20:30:40 INFO: 172.17.0.1:57144 - "GET /api/v1/tools/ HTTP/1.1" 200 OK 2024-11-21 20:30:40 ERROR [open_webui.apps.ollama.main] Connection error: 192.168.1.11:11434/api/version 2024-11-21 20:30:40 INFO: 172.17.0.1:57156 - "GET /ollama/api/version HTTP/1.1" 500 Internal Server Error 2024-11-21 20:30:40 INFO: 172.17.0.1:57138 - "GET /api/v1/chats/all/tags HTTP/1.1" 200 OK 2024-11-21 20:30:40 INFO: 172.17.0.1:57138 - "GET /api/v1/users/user/settings HTTP/1.1" 200 OK 2024-11-21 20:30:40 INFO: 172.17.0.1:57138 - "GET /api/v1/chats/pinned HTTP/1.1" 200 OK 2024-11-21 20:30:40 INFO: 172.17.0.1:57138 - "GET /api/v1/folders/ HTTP/1.1" 200 OK 2024-11-21 20:30:40 INFO: 172.17.0.1:57156 - "GET /api/v1/chats/?page=1 HTTP/1.1" 200 OK 2024-11-21 20:30:40 INFO: 172.17.0.1:57156 - "GET /api/v1/chats/?page=2 HTTP/1.1" 200 OK 2024-11-21 20:30:40 INFO: 172.17.0.1:57144 - "GET /api/version/updates HTTP/1.1" 200 OK 2024-11-21 20:30:47 INFO: 172.17.0.1:56122 - "GET /api/v1/users/ HTTP/1.1" 200 OK 2024-11-21 20:30:47 INFO: 172.17.0.1:56122 - "GET /api/v1/users/ HTTP/1.1" 200 OK 2024-11-21 20:30:49 INFO: 172.17.0.1:56136 - "GET /api/webhook HTTP/1.1" 200 OK 2024-11-21 20:30:49 INFO: 172.17.0.1:56124 - "GET /api/v1/auths/admin/config HTTP/1.1" 200 OK 2024-11-21 20:30:49 INFO: 172.17.0.1:56130 - "GET /api/v1/auths/admin/config/ldap/server HTTP/1.1" 200 OK 2024-11-21 20:30:49 INFO: 172.17.0.1:56130 - "GET /api/v1/auths/admin/config/ldap HTTP/1.1" 200 OK 2024-11-21 20:30:50 INFO: 172.17.0.1:56130 - "GET /ollama/config HTTP/1.1" 200 OK 2024-11-21 20:30:50 INFO: 172.17.0.1:56124 - "GET /openai/config HTTP/1.1" 200 OK 2024-11-21 20:30:55 ERROR [open_webui.apps.ollama.main] Client error: 192.168.1.11:11434/api/version 2024-11-21 20:30:55 Traceback (most recent call last): 2024-11-21 20:30:55 File "/app/backend/open_webui/apps/ollama/main.py", line 103, in verify_connection 2024-11-21 20:30:55 async with session.get(f"{url}/api/version", headers=headers) as r: 2024-11-21 20:30:55 File "/usr/local/lib/python3.11/site-packages/aiohttp/client.py", line 1355, in __aenter__ 2024-11-21 20:30:55 self._resp: _RetType = await self._coro 2024-11-21 20:30:55 ^^^^^^^^^^^^^^^^ 2024-11-21 20:30:55 File "/usr/local/lib/python3.11/site-packages/aiohttp/client.py", line 522, in _request 2024-11-21 20:30:55 raise NonHttpUrlClientError(url) 2024-11-21 20:30:55 aiohttp.client_exceptions.NonHttpUrlClientError: 192.168.1.11:11434/api/version 2024-11-21 20:30:55 INFO: 172.17.0.1:57306 - "POST /ollama/verify HTTP/1.1" 500 Internal Server Error 2024-11-21 20:31:36 INFO [open_webui.env] Saving 'ENABLE_OLLAMA_API' to the database 2024-11-21 20:31:36 INFO [open_webui.env] Saving 'OLLAMA_BASE_URLS' to the database 2024-11-21 20:31:36 INFO [open_webui.env] Saving 'OLLAMA_API_CONFIGS' to the database 2024-11-21 20:31:36 INFO: 172.17.0.1:59104 - "POST /ollama/config/update HTTP/1.1" 200 OK 2024-11-21 20:31:36 INFO [open_webui.apps.ollama.main] get_all_models() 2024-11-21 20:31:36 ERROR [open_webui.apps.ollama.main] Connection error: 192.168.1.11:11434/api/tags 2024-11-21 20:31:36 [None] 2024-11-21 20:31:36 INFO: 172.17.0.1:59104 - "GET /api/models HTTP/1.1" 200 OK 2024-11-21 20:31:39 INFO [open_webui.env] Saving 'ENABLE_OPENAI_API' to the database 2024-11-21 20:31:39 INFO [open_webui.env] Saving 'OPENAI_API_BASE_URLS' to the database 2024-11-21 20:31:39 INFO [open_webui.env] Saving 'OPENAI_API_KEYS' to the database 2024-11-21 20:31:39 INFO [open_webui.env] Saving 'OPENAI_API_CONFIGS' to the database 2024-11-21 20:31:39 INFO: 172.17.0.1:59112 - "POST /openai/config/update HTTP/1.1" 200 OK 2024-11-21 20:31:39 INFO [open_webui.env] Saving 'ENABLE_OLLAMA_API' to the database 2024-11-21 20:31:39 INFO [open_webui.env] Saving 'OLLAMA_BASE_URLS' to the database 2024-11-21 20:31:39 INFO [open_webui.env] Saving 'OLLAMA_API_CONFIGS' to the database 2024-11-21 20:31:39 INFO: 172.17.0.1:59120 - "POST /ollama/config/update HTTP/1.1" 200 OK 2024-11-21 20:31:39 INFO [open_webui.apps.ollama.main] get_all_models() 2024-11-21 20:31:39 ERROR [open_webui.apps.ollama.main] Connection error: 192.168.1.11:11434/api/tags 2024-11-21 20:31:39 [None] 2024-11-21 20:31:39 INFO: 172.17.0.1:59112 - "GET /api/models HTTP/1.1" 200 OK 2024-11-21 20:31:39 INFO: 172.17.0.1:59112 - "GET /api/models HTTP/1.1" 200 OK 2024-11-21 20:31:46 ERROR [open_webui.apps.ollama.main] Client error: 192.168.1.11:11434/api/version 2024-11-21 20:31:46 Traceback (most recent call last): 2024-11-21 20:31:46 File "/app/backend/open_webui/apps/ollama/main.py", line 103, in verify_connection 2024-11-21 20:31:46 async with session.get(f"{url}/api/version", headers=headers) as r: 2024-11-21 20:31:46 File "/usr/local/lib/python3.11/site-packages/aiohttp/client.py", line 1355, in __aenter__ 2024-11-21 20:31:46 self._resp: _RetType = await self._coro 2024-11-21 20:31:46 ^^^^^^^^^^^^^^^^ 2024-11-21 20:31:46 File "/usr/local/lib/python3.11/site-packages/aiohttp/client.py", line 522, in _request 2024-11-21 20:31:46 raise NonHttpUrlClientError(url) 2024-11-21 20:31:46 aiohttp.client_exceptions.NonHttpUrlClientError: 192.168.1.11:11434/api/version 2024-11-21 20:31:46 INFO: 172.17.0.1:55038 - "POST /ollama/verify HTTP/1.1" 500 Internal Server Error 2024-11-21 20:31:47 INFO [open_webui.env] Saving 'ENABLE_OLLAMA_API' to the database 2024-11-21 20:31:47 INFO [open_webui.env] Saving 'OLLAMA_BASE_URLS' to the database 2024-11-21 20:31:47 INFO [open_webui.env] Saving 'OLLAMA_API_CONFIGS' to the database 2024-11-21 20:31:47 INFO: 172.17.0.1:55038 - "POST /ollama/config/update HTTP/1.1" 200 OK 2024-11-21 20:31:47 INFO [open_webui.apps.ollama.main] get_all_models() 2024-11-21 20:31:47 ERROR [open_webui.apps.ollama.main] Connection error: 192.168.1.11:11434/api/tags 2024-11-21 20:31:47 [None] 2024-11-21 20:31:47 INFO: 172.17.0.1:55038 - "GET /api/models HTTP/1.1" 200 OK ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#69256