[GH-ISSUE #10172] SyntaxError: Unexpected token '<', "<html> #15796

Closed
opened 2026-04-19 21:55:17 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @qubit999 on GitHub (Feb 17, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/10172

Bug Report


Installation Method

git clone

Environment

  • Open WebUI Version: 0.5.12

  • Operating System: macOS most recent

  • Browser (if applicable): Brave most recent

Confirmation:

  • I have read and followed all the instructions provided in the README.md.
  • I am on the latest version of both Open WebUI and Ollama.

Expected Behavior:

Should not throw an error.

Actual Behavior:

SyntaxError: Unexpected token '<', "<html>
<h"... is not valid JSON

Description

Bug Summary:
Using the web search to answer questions.

Reproduction Details

Steps to Reproduce:
Enable web search. I'm using "serper" in admin settings.

Logs and Screenshots

Screenshots/Screen Recordings (if applicable):

Image

Additional Information

Sometimes when I search something I get this. Maybe the server expects json?

Originally created by @qubit999 on GitHub (Feb 17, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/10172 # Bug Report --- ## Installation Method git clone ## Environment - **Open WebUI Version:** 0.5.12 - **Operating System:** macOS most recent - **Browser (if applicable):** Brave most recent **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. ## Expected Behavior: Should not throw an error. ## Actual Behavior: SyntaxError: Unexpected token '<', "<html> <h"... is not valid JSON ## Description **Bug Summary:** Using the web search to answer questions. ## Reproduction Details **Steps to Reproduce:** Enable web search. I'm using "serper" in admin settings. ## Logs and Screenshots **Screenshots/Screen Recordings (if applicable):** ![Image](https://github.com/user-attachments/assets/6169b802-22ac-4cf5-a7d8-45bc0a18ffe0) ## Additional Information Sometimes when I search something I get this. Maybe the server expects json?
Author
Owner

@tjbck commented on GitHub (Feb 17, 2025):

Most likely caused by your reverse proxy timeout, keep us updated!

<!-- gh-comment-id:2663572023 --> @tjbck commented on GitHub (Feb 17, 2025): Most likely caused by your reverse proxy timeout, keep us updated!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#15796