mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-10 07:43:10 -05:00
issue: JSON.parse error in OpenWebUI #6337
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 @ZahraDehghani99 on GitHub (Sep 7, 2025).
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.6.26
Ollama Version (if applicable)
No response
Operating System
Debian 12
Browser (if applicable)
Firefox
Confirmation
README.md.Expected Behavior
The LLM response should be displayed correctly in the OpenWebUI chat interface when running behind a reverse proxy (Caddy in my case).
Actual Behavior
The LLM response is generated successfully on the backend (verified in logs), but the UI fails to render it and throws the following error:
Instead of showing the answer, the message bubble is empty with the error.
Steps to Reproduce
.localdomain).read_timeout,write_timeout,idle_timeout).Logs & Screenshots
Openwebui container logs:
open-webui | 2025-09-07 10:21:35.363 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 172.25.7.18:0 - "GET /c/e24e41e6-575d-4d16-a96c-c207ded9e56c HTTP/1.1" 200
open-webui | 2025-09-07 10:21:35.442 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 172.25.7.18:0 - "GET /static/loader.js HTTP/1.1" 200
open-webui | 2025-09-07 10:21:35.446 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 172.25.7.18:0 - "GET /static/custom.css HTTP/1.1" 304
open-webui | 2025-09-07 10:21:35.495 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 172.25.7.18:0 - "GET /static/splash.png HTTP/1.1" 304
open-webui | 2025-09-07 10:21:35.498 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 172.25.7.18:0 - "GET /static/splash-dark.png HTTP/1.1" 304
open-webui | 2025-09-07 10:21:36.280 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 172.25.7.18:0 - "GET /api/config HTTP/1.1" 200
open-webui | 2025-09-07 10:21:36.325 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 172.25.7.18:0 - "GET /api/v1/auths/ HTTP/1.1" 200
open-webui | 2025-09-07 10:21:36.350 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 172.25.7.18:0 - "GET /api/config HTTP/1.1" 200
open-webui | 2025-09-07 10:21:36.503 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 172.25.7.18:0 - "GET /api/changelog HTTP/1.1" 200
open-webui | 2025-09-07 10:21:36.505 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 172.25.7.18:0 - "GET /api/v1/chats/archived?page=1&order_by=updated_at&direction=desc HTTP/1.1" 200
open-webui | 2025-09-07 10:21:36.521 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 172.25.7.18:0 - "GET /api/v1/channels/ HTTP/1.1" 200
open-webui | 2025-09-07 10:21:36.522 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 172.25.7.18:0 - "GET /api/v1/folders/ HTTP/1.1" 200
open-webui | 2025-09-07 10:21:36.523 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 172.25.7.18:0 - "GET /static/favicon.png HTTP/1.1" 304
open-webui | 2025-09-07 10:21:36.539 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 172.25.7.18:0 - "GET /api/v1/users/user/settings HTTP/1.1" 200
open-webui | 2025-09-07 10:21:36.550 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 172.25.7.18:0 - "GET /api/v1/chats/?page=1 HTTP/1.1" 200
open-webui | 2025-09-07 10:21:36.578 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 172.25.7.18:0 - "GET /api/v1/chats/all/tags HTTP/1.1" 200
open-webui | 2025-09-07 10:21:36.590 | INFO | open_webui.routers.openai:get_all_models:406 - get_all_models()
open-webui | 2025-09-07 10:21:36.618 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 172.25.7.18:0 - "GET /api/models HTTP/1.1" 200
open-webui | 2025-09-07 10:21:36.638 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 172.25.7.18:0 - "GET /api/v1/chats/pinned HTTP/1.1" 200
open-webui | 2025-09-07 10:21:36.646 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 172.25.7.18:0 - "GET /api/v1/configs/banners HTTP/1.1" 200
open-webui | 2025-09-07 10:21:36.684 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 172.25.7.18:0 - "GET /api/v1/folders/ HTTP/1.1" 200
open-webui | 2025-09-07 10:21:36.685 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 172.25.7.18:0 - "GET /api/v1/tools/ HTTP/1.1" 200
open-webui | 2025-09-07 10:21:36.711 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 172.25.7.18:0 - "GET /api/v1/chats/?page=1 HTTP/1.1" 200
open-webui | 2025-09-07 10:21:36.749 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 172.25.7.18:0 - "GET /api/v1/chats/e24e41e6-575d-4d16-a96c-c207ded9e56c HTTP/1.1" 200
open-webui | 2025-09-07 10:21:36.763 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 172.25.7.18:0 - "GET /api/v1/folders/ HTTP/1.1" 200
open-webui | 2025-09-07 10:21:36.917 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 172.25.7.18:0 - "GET /api/v1/chats/e24e41e6-575d-4d16-a96c-c207ded9e56c/tags HTTP/1.1" 200
open-webui | 2025-09-07 10:21:36.955 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 172.25.7.18:0 - "GET /api/v1/users/user/settings HTTP/1.1" 200
open-webui | 2025-09-07 10:21:36.977 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 172.25.7.18:0 - "GET /api/tasks/chat/e24e41e6-575d-4d16-a96c-c207ded9e56c HTTP/1.1" 200
open-webui | 2025-09-07 10:21:37.038 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 172.25.7.18:0 - "GET /ollama/api/version HTTP/1.1" 200
open-webui | 2025-09-07 10:21:37.104 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 172.25.7.18:0 - "GET /api/v1/auths/ HTTP/1.1" 200
open-webui | 2025-09-07 10:21:37.271 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 172.25.7.18:0 - "GET /api/version/updates HTTP/1.1" 200
open-webui | 2025-09-07 10:21:38.678 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 172.25.7.18:0 - "GET /ollama/api/version HTTP/1.1" 200
open-webui | 2025-09-07 10:21:38.751 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 172.25.7.18:0 - "GET /api/v1/users/user/settings HTTP/1.1" 200
open-webui | 2025-09-07 10:21:42.517 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 172.25.7.18:0 - "GET /api/v1/auths/ HTTP/1.1" 200
open-webui | 2025-09-07 10:21:42.532 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 172.25.7.18:0 - "GET /api/v1/auths/ HTTP/1.1" 200
open-webui | 2025-09-07 10:21:42.549 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 172.25.7.18:0 - "POST /api/v1/chats/new HTTP/1.1" 200
open-webui | 2025-09-07 10:21:42.620 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 172.25.7.18:0 - "GET /api/v1/chats/?page=1 HTTP/1.1" 200
open-webui | 2025-09-07 10:21:42.650 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 172.25.7.18:0 - "GET /api/v1/folders/ HTTP/1.1" 200
open-webui | 2025-09-07 10:21:42.668 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 172.25.7.18:0 - "POST /api/v1/chats/c1372e8e-a705-4e7a-a1af-e3416dab3cd8 HTTP/1.1" 200
open-webui | 2025-09-07 10:21:42.700 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 172.25.7.18:0 - "GET /api/v1/chats/?page=1 HTTP/1.1" 200
open-webui | 2025-09-07 10:21:42.739 | INFO | open_webui.routers.openai:get_all_models:406 - get_all_models()
open-webui | 2025-09-07 10:21:42.745 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 172.25.7.18:0 - "GET /api/v1/folders/ HTTP/1.1" 200
open-webui | 2025-09-07 10:21:43.556 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 172.25.7.18:0 - "POST /api/chat/completions HTTP/1.1" 200
open-webui | 2025-09-07 10:21:43.625 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 172.25.7.18:0 - "GET /api/v1/chats/?page=1 HTTP/1.1" 200
open-webui | 2025-09-07 10:21:43.645 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 172.25.7.18:0 - "GET /api/v1/folders/ HTTP/1.1" 200
open-webui | 2025-09-07 10:21:44.155 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 172.25.7.18:0 - "GET /api/v1/chats/79e1e69b-1482-4ea1-a269-4ebf988f8905 HTTP/1.1" 200
open-webui | 2025-09-07 10:21:44.192 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 172.25.7.18:0 - "GET /api/v1/chats/11773e7d-83ff-4297-b2c7-d34d86267c97 HTTP/1.1" 200
Additional Information
Here is my caddy configuration which worked a few hours ago:
openwebui.local {
tls internal
encode gzip
}