[GH-ISSUE #10736] open-webui can not use searxng #86751

Closed
opened 2026-05-15 11:04:37 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @showyoung on GitHub (Feb 25, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/10736

Environment

  • Open WebUI Version: v0.5.16

  • Ollama (if applicable): 0.5.12

  • Operating System: Windows 11

  • Browser (if applicable): Edge 133.0.3065.82

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:

open web UI can search websites by searxng, get the data to an AI model for analysis, and then provide an answer.

Actual Behavior:

AI cannot use the search results by searxng and considers itself to be offline.

Description

Bug Summary:
AI cannot use the search results by searxng

Reproduction Details

Steps to Reproduce:
web search sets to searxng. Open Web UI's web search enabled
In the following figure, searching for Beijing weather yielded 9 website results.
However, the AI provided me with the following response:
"Regarding today's weather in Beijing,
please check the latest weather forecast or relevant weather apps to view real-time information."

Logs and Screenshots

Docker Container Logs:
docker:
2025-02-25 17:03:16 INFO: 172.17.0.1:57884 - "GET /api/v1/chats/8279762d-cdfd-4e5c-88d6-30c828d36497 HTTP/1.1" 200 OK
2025-02-25 17:03:20 INFO: 172.17.0.1:57884 - "GET /api/v1/users/user/settings HTTP/1.1" 200 OK
2025-02-25 17:03:23 INFO: 172.17.0.1:57884 - "GET /api/v1/users/user/settings HTTP/1.1" 200 OK
2025-02-25 17:03:48 INFO: 172.17.0.1:34184 - "GET /static/favicon.png HTTP/1.1" 304 Not Modified
2025-02-25 17:04:49
Fetching pages: 0%| | 0/1 [00:00<?, ?it/s]WARNI [langchain_community.document_loaders.web_base] Error fetching , skipping due to continue_on_failure=True
2025-02-25 17:04:49
Fetching pages: 100%|##########| 1/1 [00:00<00:00, 890.89it/s]
2025-02-25 17:04:51
Fetching pages: 0%| | 0/1 [00:00<?, ?it/s]WARNI [langchain_community.document_loaders.web_base] Error fetching , skipping due to continue_on_failure=True
2025-02-25 17:04:51
Fetching pages: 100%|##########| 1/1 [00:00<00:00, 689.63it/s]
2025-02-25 17:04:53
Fetching pages: 0%| | 0/1 [00:00<?, ?it/s]WARNI [langchain_community.document_loaders.web_base] Error fetching , skipping due to continue_on_failure=True
2025-02-25 17:04:53
Fetching pages: 100%|##########| 1/1 [00:00<00:00, 622.67it/s]
2025-02-25 17:05:26 INFO: 172.17.0.1:34184 - "POST /api/v1/tasks/auto/completions HTTP/1.1" 200 OK
2025-02-25 17:05:47 INFO: 172.17.0.1:34192 - "POST /api/chat/completions HTTP/1.1" 200 OK
2025-02-25 17:05:47 INFO: 172.17.0.1:34192 - "GET /api/v1/chats/?page=1 HTTP/1.1" 200 OK
2025-02-25 17:06:16 INFO: 172.17.0.1:41150 - "POST /api/chat/completed HTTP/1.1" 200 OK

Screenshots/Screen Recordings (if applicable):

Image

Additional Information

docker exec -it open-webui curl "http://host.docker.internal:8000/search?q=今天北京的天气&format=json"

results:

Image

Originally created by @showyoung on GitHub (Feb 25, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/10736 ## Environment - **Open WebUI Version:** v0.5.16 - **Ollama (if applicable):** 0.5.12 - **Operating System:** Windows 11 - **Browser (if applicable):** Edge 133.0.3065.82 **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: open web UI can search websites by searxng, get the data to an AI model for analysis, and then provide an answer. ## Actual Behavior: AI cannot use the search results by searxng and considers itself to be offline. ## Description **Bug Summary:** AI cannot use the search results by searxng ## Reproduction Details **Steps to Reproduce:** web search sets to searxng. Open Web UI's web search enabled In the following figure, searching for Beijing weather yielded 9 website results. However, the AI provided me with the following response: "Regarding today's weather in Beijing, please check the latest weather forecast or relevant weather apps to view real-time information." ## Logs and Screenshots **Docker Container Logs:** docker: 2025-02-25 17:03:16 INFO: 172.17.0.1:57884 - "GET /api/v1/chats/8279762d-cdfd-4e5c-88d6-30c828d36497 HTTP/1.1" 200 OK 2025-02-25 17:03:20 INFO: 172.17.0.1:57884 - "GET /api/v1/users/user/settings HTTP/1.1" 200 OK 2025-02-25 17:03:23 INFO: 172.17.0.1:57884 - "GET /api/v1/users/user/settings HTTP/1.1" 200 OK 2025-02-25 17:03:48 INFO: 172.17.0.1:34184 - "GET /static/favicon.png HTTP/1.1" 304 Not Modified 2025-02-25 17:04:49 Fetching pages: 0%| | 0/1 [00:00<?, ?it/s]WARNI [langchain_community.document_loaders.web_base] Error fetching , skipping due to continue_on_failure=True 2025-02-25 17:04:49 Fetching pages: 100%|##########| 1/1 [00:00<00:00, 890.89it/s] 2025-02-25 17:04:51 Fetching pages: 0%| | 0/1 [00:00<?, ?it/s]WARNI [langchain_community.document_loaders.web_base] Error fetching , skipping due to continue_on_failure=True 2025-02-25 17:04:51 Fetching pages: 100%|##########| 1/1 [00:00<00:00, 689.63it/s] 2025-02-25 17:04:53 Fetching pages: 0%| | 0/1 [00:00<?, ?it/s]WARNI [langchain_community.document_loaders.web_base] Error fetching , skipping due to continue_on_failure=True 2025-02-25 17:04:53 Fetching pages: 100%|##########| 1/1 [00:00<00:00, 622.67it/s] 2025-02-25 17:05:26 INFO: 172.17.0.1:34184 - "POST /api/v1/tasks/auto/completions HTTP/1.1" 200 OK 2025-02-25 17:05:47 INFO: 172.17.0.1:34192 - "POST /api/chat/completions HTTP/1.1" 200 OK 2025-02-25 17:05:47 INFO: 172.17.0.1:34192 - "GET /api/v1/chats/?page=1 HTTP/1.1" 200 OK 2025-02-25 17:06:16 INFO: 172.17.0.1:41150 - "POST /api/chat/completed HTTP/1.1" 200 OK **Screenshots/Screen Recordings (if applicable):** ![Image](https://github.com/user-attachments/assets/efbdf383-174c-44cd-9f48-e347bb8f1a13) ## Additional Information docker exec -it open-webui curl "http://host.docker.internal:8000/search?q=今天北京的天气&format=json" results: ![Image](https://github.com/user-attachments/assets/09d782b4-275a-4116-86cb-22195b7ed49e)
Author
Owner

@907739769 commented on GitHub (Feb 25, 2025):

我的没有问题,你的searxng设置了json返回没有?

<!-- gh-comment-id:2682561778 --> @907739769 commented on GitHub (Feb 25, 2025): 我的没有问题,你的searxng设置了json返回没有?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#86751