I started a webui container and then I started to get this error in OpenWebUI interface.
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
- latest Ollama on windows
- latest Open WebUI in docker desktop
according to a post online, I should set ENABLE_WEBSOCKET_SUPPORT=True
in my docker compose, but I’m not using reverse proxy. Is ENABLE_WEBSOCKET_SUPPORT=True
necessary?
What could a possible solution be for this?
My docker compose
services:
open-webui:
image: ghcr.io/open-webui/open-webui:cuda
container_name: open-webui
restart: unless-stopped
ports:
- "3000:8080"
extra_hosts:
- "host.docker.internal:host-gateway"
volumes:
- ./data:/app/backend/data
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu]
volumes:
open-webui:
The problem is with this plugin https://addons.mozilla.org/en-US/firefox/addon/chameleon-ext/ Everything works fine with it disabled.
The reason my chameleon breaks openwebui is because I changed a setting in it that it blocks all websocket connection
ah that makes sense