[GH-ISSUE #5432] bug: Web Search (SearXNG) Fails in Dev #133708

Closed
opened 2026-05-24 23:04:40 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @Algorithm5838 on GitHub (Sep 15, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/5432

Bug Report

Installation Method

Docker

Environment

  • Open WebUI Version: latest dev

  • Ollama (if applicable): N/A

  • Operating System: Raspberry Pi OS

  • Browser (if applicable): Latest version of Brave (on both Android and macOS)

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.
  • I have included the browser console logs.
  • I have included the Docker container logs.
  • I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below.

Expected Behavior:

Web search using SearXNG should work correctly.

Actual Behavior:

"No search results found" is displayed, even though sources are visible in the logs.

Description

Bug Summary:
While using the latest dev version of Open WebUI on Raspberry Pi OS with Docker, the web search functionality using SearXNG is failing to return results with a "No search results found" message. This issue occurs despite the presence of valid sources in the logs, and is accompanied by a Cloudflare error code 524. The problem is isolated to the dev version, as the main version operates correctly.

Reproduction Details

Steps to Reproduce:

  1. Start a new chat
  2. Enable web search (using SearXNG)
  3. Send a query
  4. Wait for it to finish searching
  5. Observe that it responds without using searched results

Logs and Screenshots

Browser Console Logs:

Failed to load resource: the server responded with a status of 524 ()
index.ts:604 SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON

Docker Container Logs:
The following logs are present in the main version but missing in the dev version:

INFO:     [IP]:0 - "POST /rag/api/v1/web/search HTTP/1.1" 200 OK
INFO  [open_webui.apps.rag.utils] query_doc:result (...)

Note: I used (...) to truncate the long log entry.

Screenshots/Screen Recordings (if applicable):
N/A

Additional Information

The issue is encountered with the dev version, while the main version does not have this issue. Cloudflared is being used, and a Cloudflare error code 524 is received with the dev version but not with the main version. The web search is specifically using SearXNG.

Originally created by @Algorithm5838 on GitHub (Sep 15, 2024). Original GitHub issue: https://github.com/open-webui/open-webui/issues/5432 # Bug Report ## Installation Method Docker ## Environment - **Open WebUI Version:** latest dev - **Ollama (if applicable):** N/A - **Operating System:** Raspberry Pi OS - **Browser (if applicable):** Latest version of Brave (on both Android and macOS) **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. - [x] I have included the browser console logs. - [x] I have included the Docker container logs. - [x] I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below. ## Expected Behavior: Web search using SearXNG should work correctly. ## Actual Behavior: "No search results found" is displayed, even though sources are visible in the logs. ## Description **Bug Summary:** While using the latest dev version of Open WebUI on Raspberry Pi OS with Docker, the web search functionality using SearXNG is failing to return results with a "No search results found" message. This issue occurs despite the presence of valid sources in the logs, and is accompanied by a Cloudflare error code 524. The problem is isolated to the dev version, as the main version operates correctly. ## Reproduction Details **Steps to Reproduce:** 1. Start a new chat 2. Enable web search (using SearXNG) 3. Send a query 4. Wait for it to finish searching 5. Observe that it responds without using searched results ## Logs and Screenshots **Browser Console Logs:** ``` Failed to load resource: the server responded with a status of 524 () index.ts:604 SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON ``` **Docker Container Logs:** The following logs are present in the main version but missing in the dev version: ``` INFO: [IP]:0 - "POST /rag/api/v1/web/search HTTP/1.1" 200 OK INFO [open_webui.apps.rag.utils] query_doc:result (...) ``` Note: I used (...) to truncate the long log entry. **Screenshots/Screen Recordings (if applicable):** N/A ## Additional Information The issue is encountered with the dev version, while the main version does not have this issue. Cloudflared is being used, and a Cloudflare error code 524 is received with the dev version but not with the main version. The web search is specifically using SearXNG.
Author
Owner

@Algorithm5838 commented on GitHub (Sep 15, 2024):

update: When I use my local IP to access the dev version of Open WebUI, the web search works; however, it takes longer to complete than the main version.

<!-- gh-comment-id:2351329890 --> @Algorithm5838 commented on GitHub (Sep 15, 2024): update: When I use my local IP to access the dev version of Open WebUI, the web search works; however, it takes longer to complete than the main version.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#133708