Originally created by @rolkey on GitHub (Jun 7, 2024).
Bug Summary: Docker log:
INFO:apps.ollama.main:get_all_models() ERROR:apps.ollama.main:Connection error:
没有错误信息,但我认为是http_proxy设置引起的,但我不设置http_proxy无法正常访问网络
Steps to Reproduce: I have test curl http://172.100.0.20:11434/api/tags and success in container,but still error
Actual Behavior: [Describe what actually happened.]
Docker Container Logs:
INFO: Started server process [1] INFO: Waiting for application startup. INFO: Application startup complete. INFO: Uvicorn running on http://0.0.0.0:8080 (Press CTRL+C to quit) /app ___ __ __ _ _ _ ___ / _ \ _ __ ___ _ __ \ \ / /__| |__ | | | |_ _| | | | | '_ \ / _ \ '_ \ \ \ /\ / / _ \ '_ \| | | || | | |_| | |_) | __/ | | | \ V V / __/ |_) | |_| || | \___/| .__/ \___|_| |_| \_/\_/ \___|_.__/ \___/|___| |_| v0.2.5 - building the best open-source AI user interface. https://github.com/open-webui/open-webui INFO:apps.openai.main:get_all_models() INFO:apps.ollama.main:get_all_models() ERROR:apps.ollama.main:Connection error: INFO: 192.168.137.1:58116 - "GET /ws/socket.io/?EIO=4&transport=polling&t=O_nL1uc HTTP/1.1" 200 OK INFO:apps.openai.main:get_all_models() INFO:apps.ollama.main:get_all_models() INFO: ('192.168.137.1', 58119) - "WebSocket /ws/socket.io/?EIO=4&transport=websocket&sid=0bNqVrl5M0oxBM2TAAAA" [accepted] INFO: connection open INFO:apps.openai.main:get_all_models() INFO:apps.ollama.main:get_all_models() ERROR:apps.ollama.main:Connection error: ERROR:apps.ollama.main:Connection error: connect _ZtdUaDM7xCCEtEpAAAB INFO: 192.168.137.1:58116 - "POST /ws/socket.io/?EIO=4&transport=polling&t=O_nL37j&sid=0bNqVrl5M0oxBM2TAAAA HTTP/1.1" 200 OK INFO: 192.168.137.1:58120 - "GET /ws/socket.io/?EIO=4&transport=polling&t=O_nL37l&sid=0bNqVrl5M0oxBM2TAAAA HTTP/1.1" 200 OK
docker-compose.yaml
version: '3' services: open-webui: image: ghcr.io/open-webui/open-webui:main container_name: open-webui volumes: - ./ollama/open-webui:/app/backend/data depends_on: - ollama ports: - 8080:8080 environment: # - OLLAMA_BASE_URLS=http://host.docker.internal:11434 #comma separated ollama hosts - OLLAMA_BASE_URLS=http://172.100.0.20:11434 #comma separated ollama hosts # - OLLAMA_BASE_URL=http://172.100.0.20:11434 #comma separated ollama hosts - OLLAMA_API_BASE_URL=http://172.100.0.20:11434/api - WEBUI_AUTH=False - WEBUI_NAME=Rolkey ChatRoot # - WEBUI_URL=http://127.0.0.1:8080 - WEBUI_SECRET_KEY=t0p-s3cr3t - TZ=Asia/Shanghai # - http_proxy=http://192.168.137.1:7890 # - https_proxy=http://192.168.137.1:7890 # - no_proxy=127.0.0.1,localhost,172.100.0.0/16,192.168.0.0/16 restart: always
No dependencies set.
The note is not visible to the blocked user.
Originally created by @rolkey on GitHub (Jun 7, 2024).
Bug Report
Description
Bug Summary:
Docker log:
没有错误信息,但我认为是http_proxy设置引起的,但我不设置http_proxy无法正常访问网络
Steps to Reproduce:

I have test curl http://172.100.0.20:11434/api/tags and success in container,but still error
Actual Behavior:
[Describe what actually happened.]
Environment
Reproduction Details
Logs and Screenshots
Docker Container Logs:
Installation Method
docker-compose.yaml