mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-10 23:55:15 -05:00
[GH-ISSUE #13541] issue: #120255
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 @harrismcc on GitHub (May 6, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/13541
Check Existing Issues
Installation Method
Docker
Open WebUI Version
0.6.6
Ollama Version (if applicable)
No response
Operating System
Linux (NixOs)
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
Using Openrouter should work, like it did in previous versions
Actual Behavior
When using Openrouter, any chat throws the error
SyntaxError: Unexpected token 'd', "data: {"id"... is not valid JSONLooking in the browser network tab, I'm seeing these openrouter heartbeats that seem to be the problem

Steps to Reproduce
Logs & Screenshots
OpenRouter heartbeat in stream:

Error message in the UI:
SyntaxError: Unexpected token 'd', "data: {"id"... is not valid JSONAdditional Information
No response
@cpwan commented on GitHub (May 6, 2025):
Similar issue, not sure if they have the same root.
I am using 0.6.5
when accessing with http, i see the chat stream with http. (No problem, can stream normally with local model)
when accessing with https, i see the chat stream with websocket and keeps throwing in the console with the following
the UI shows
@cpwan commented on GitHub (May 6, 2025):
It can be this https://github.com/open-webui/open-webui/discussions/13140