mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
[GH-ISSUE #16433] issue: Can't connect litellm-proxy to open-webui container #56568
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 @lackos on GitHub (Aug 10, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/16433
Check Existing Issues
Installation Method
Git Clone
Open WebUI Version
v0.5.20
Ollama Version (if applicable)
No response
Operating System
Manjaro Linux 25.0.6
Browser (if applicable)
Firefox 141.0
Confirmation
README.md.Expected Behavior
Connection established between the litellm-proxy container and open-webui container.
Actual Behavior
Steps to Reproduce
docker-compose.yaml
.env
config.yaml
docker-compose updocker-compose exec open-webui curl http://litellm:4000/models -H "Authorization: Bearer sk-12345"Logs & Screenshots
open-webui container logs
2025-08-10 09:29:44.954 | DEBUG | aiocache.base:set:280 - SET open_webui.routers.ollamaget_all_models(<starlette.requests.Request object at 0x7f351c39fc90>,)[('user', UserModel(id='a8c88fff-23cd-44f7-a49c-a35193de762e', name='User', email='user@gmail.com', role='admin', profile_image_url=, last_active_at=1754818179, updated_at=1754568415, created_at=1754568415, api_key=None, settings=UserSettings(ui={'version': '0.5.20', 'directConnections': {'OPENAI_API_BASE_URLS': ['http://litellm:4000'], 'OPENAI_API_KEYS': ['sk-12345'], 'OPENAI_API_CONFIGS': {'0': {'enable': True, 'prefix_id': 'lite', 'model_ids': []}}}, 'models': ['deepseek-r1:32b']}), info=None, oauth_sub=None))] 1 (0.0000)s - {}
2025-08-10 09:29:44.956 | DEBUG | open_webui.utils.models:get_all_models:220 - get_all_models() returned 5 models - {}
2025-08-10 09:29:44.957 | DEBUG | open_webui.main:get_models:971 - /api/models returned filtered models accessible to the user: ["deepseek-coder-v2:16b", "deepseek-r1:32b", "deepseek-r1:14b", "deepseek-r1:latest", "arena-model"] - {}
2025-08-10 09:29:44.958 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 172.22.0.1:53480 - "GET /api/models HTTP/1.1" 200 - {}
2025-08-10 09:29:44.990 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 172.22.0.1:53480 - "POST /api/v1/users/user/settings/update HTTP/1.1" 200 - {}
Verify connection between containers
Screenshot of error when verifying connection
Additional Information
No response