issue: Unexpected token 'd', "data: {"id"... is not valid JSON #6423

Closed
opened 2025-11-11 16:54:44 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @craftpip on GitHub (Sep 17, 2025).

Check Existing Issues

  • I have searched for any existing and/or related issues.
  • I have searched for any existing and/or related discussions.
  • I am using the latest version of Open WebUI.

Installation Method

Git Clone

Open WebUI Version

v0.6.28

Ollama Version (if applicable)

0.11.10

Operating System

Windows 10

Browser (if applicable)

any

Confirmation

  • I have read and followed all instructions in README.md.
  • I am using the latest version of both Open WebUI and Ollama.
  • I have included the browser console logs.
  • I have included the Docker container logs.
  • I have provided every relevant configuration, setting, and environment variable used in my setup.
  • I have clearly listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc).
  • I have documented step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation. My steps:
  • Start with the initial platform/version/OS and dependencies used,
  • Specify exact install/launch/configure commands,
  • List URLs visited, user input (incl. example values/emails/passwords if needed),
  • Describe all options and toggles enabled or changed,
  • Include any files or environmental changes,
  • Identify the expected and actual result at each stage,
  • Ensure any reasonably skilled user can follow and hit the same issue.

Expected Behavior

On chatting the LLM's response should be printed on screen

Actual Behavior

On chatting, the LLM replies "Unexpected token 'd', "data: {"id"... is not valid JSON"

Steps to Reproduce

  1. fresh install of v0.6.28
  2. latest install of docker,
  3. latest version of ollama
  4. pull image ghcr.io/open-webui/open-webui:v0.6.28
  5. docker-compose.yml -> version: '3.8'

services:
open-webui:
image: ghcr.io/open-webui/open-webui:v0.6.28
container_name: open-webui
ports:
- "3002:8080"
environment:
- OLLAMA_BASE_URL=http://10.69.1.164
volumes:
- ./open-webui3:/app/backend/data
restart: always

  1. setup the project (ollama api)
  2. chat with your model, none of the models work

response says "{}"

and the toast shows the error:

Unexpected token 'd', "data: {"id"... is not valid JSON

Logs & Screenshots

Image Image

Additional Information

i have been using openwebui for almost a year now,
on the latest update i've been facing this error. I've got no way to know whats wrong, i have tried many older versions still the same error.

it would be great if you point me to the right direction.
its a beautiful project.

Originally created by @craftpip on GitHub (Sep 17, 2025). ### Check Existing Issues - [x] I have searched for any existing and/or related issues. - [x] I have searched for any existing and/or related discussions. - [x] I am using the latest version of Open WebUI. ### Installation Method Git Clone ### Open WebUI Version v0.6.28 ### Ollama Version (if applicable) 0.11.10 ### Operating System Windows 10 ### Browser (if applicable) any ### Confirmation - [x] I have read and followed all instructions in `README.md`. - [x] I am using the latest version of **both** Open WebUI and Ollama. - [x] I have included the browser console logs. - [x] I have included the Docker container logs. - [x] I have **provided every relevant configuration, setting, and environment variable used in my setup.** - [x] I have clearly **listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup** (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc). - [x] I have documented **step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation**. My steps: - Start with the initial platform/version/OS and dependencies used, - Specify exact install/launch/configure commands, - List URLs visited, user input (incl. example values/emails/passwords if needed), - Describe all options and toggles enabled or changed, - Include any files or environmental changes, - Identify the expected and actual result at each stage, - Ensure any reasonably skilled user can follow and hit the same issue. ### Expected Behavior On chatting the LLM's response should be printed on screen ### Actual Behavior On chatting, the LLM replies "Unexpected token 'd', "data: {"id"... is not valid JSON" ### Steps to Reproduce 1. fresh install of [v0.6.28](https://github.com/open-webui/open-webui/releases/tag/v0.6.28) 2. latest install of docker, 3. latest version of ollama 4. pull image ghcr.io/open-webui/open-webui:v0.6.28 5. docker-compose.yml -> version: '3.8' services: open-webui: image: ghcr.io/open-webui/open-webui:v0.6.28 container_name: open-webui ports: - "3002:8080" environment: - OLLAMA_BASE_URL=http://10.69.1.164 volumes: - ./open-webui3:/app/backend/data restart: always 6. setup the project (ollama api) 7. chat with your model, none of the models work > response says "{}" and the toast shows the error: > Unexpected token 'd', "data: {"id"... is not valid JSON ### Logs & Screenshots <img width="1360" height="590" alt="Image" src="https://github.com/user-attachments/assets/58c31c8e-748f-46eb-bafe-da579871b369" /> <img width="1102" height="330" alt="Image" src="https://github.com/user-attachments/assets/4a342cf1-5557-4619-808f-a816f71c91dc" /> ### Additional Information i have been using openwebui for almost a year now, on the latest update i've been facing this error. I've got no way to know whats wrong, i have tried many older versions still the same error. it would be great if you point me to the right direction. its a beautiful project.
GiteaMirror added the bug label 2025-11-11 16:54:44 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#6423