Error Prompt when using chrome from Windows ( using IP Address ) to WSL2 + Docker for Local Network #1862

Closed
opened 2025-11-11 14:55:01 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @phicha20224 on GitHub (Aug 23, 2024).

Bug Report

WSL2 + Docker for Local Network

Installation Method

docker run -d -p 0.0.0.0:3000:8080 --gpus all --add-host=host.docker.internal:host-gateway
-v "/mnt/d/VHD/open-webui":/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:cuda

Environment

C:\Windows\system32>wsl --list
Windows Subsystem for Linux Distributions:
Ubuntu-20.04 (Default)
openweb ui v0.3.15
ollama version is 0.3.5

Windows 10
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.
  • I have included the browser console logs.
  • 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.

Reproduction Details

Using command prompt (Admin) from windows 10
netsh interface portproxy add v4tov4 listenport=3000 listenaddress=0.0.0.0 connectport=3000 connectaddress=127.0.0.1
netsh advfirewall firewall add rule name= "Open Port 3000" dir=in action=allow protocol=TCP localport=3000

Open Chrome
type address 192.168.53.30:3000 ( it is my windows 10 ip address )
login and type hi. ( and not responding )
but it is responding when i am using address 127.0.0.1:3000

0.txt

Bug Summary:
{"log":"INFO: 172.17.0.1:58262 - "POST /api/v1/memories/query HTTP/1.1" 500 Internal Server Error\n","stream":"stdout","time":"2024-08-23T10:03:17.967641553Z"}
{"log":"ERROR: Exception in ASGI application\n","stream":"stderr","time":"2024-08-23T10:03:17.996373704Z"}
..
..
{"log":"chromadb.errors.InvalidDimensionException: Embedding dimension 768 does not match collection dimensionality 1024\n","stream":"stderr","time":"2024-08-23T10:03:18.001166218Z"}

Originally created by @phicha20224 on GitHub (Aug 23, 2024). # Bug Report WSL2 + Docker for Local Network ## Installation Method docker run -d -p 0.0.0.0:3000:8080 --gpus all --add-host=host.docker.internal:host-gateway \ -v "/mnt/d/VHD/open-webui":/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:cuda ## Environment C:\Windows\system32>wsl --list Windows Subsystem for Linux Distributions: Ubuntu-20.04 (Default) openweb ui v0.3.15 ollama version is 0.3.5 Windows 10 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. - [ ] 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. ## Reproduction Details Using command prompt (Admin) from windows 10 netsh interface portproxy add v4tov4 listenport=3000 listenaddress=0.0.0.0 connectport=3000 connectaddress=127.0.0.1 netsh advfirewall firewall add rule name= "Open Port 3000" dir=in action=allow protocol=TCP localport=3000 Open Chrome type address 192.168.53.30:3000 ( it is my windows 10 ip address ) login and type hi. ( and not responding ) but it is responding when i am using address 127.0.0.1:3000 [0.txt](https://github.com/user-attachments/files/16727155/0.txt) **Bug Summary:** {"log":"INFO: 172.17.0.1:58262 - \"POST /api/v1/memories/query HTTP/1.1\" 500 Internal Server Error\n","stream":"stdout","time":"2024-08-23T10:03:17.967641553Z"} {"log":"ERROR: Exception in ASGI application\n","stream":"stderr","time":"2024-08-23T10:03:17.996373704Z"} .. .. {"log":"chromadb.errors.InvalidDimensionException: Embedding dimension 768 does not match collection dimensionality 1024\n","stream":"stderr","time":"2024-08-23T10:03:18.001166218Z"}
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#1862