mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-24 03:18:21 -05:00
[GH-ISSUE #16227] issue: Open WebUI aborts search on invalid URLs from searXNG #33359
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 @OracleToes on GitHub (Aug 2, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/16227
Check Existing Issues
Installation Method
Pip Install
Open WebUI Version
v0.6.18
Ollama Version (if applicable)
0.10.1
Operating System
Arch
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
Open WebUI should handle invalid URLs gracefully (e.g., log warnings instead of aborting the search).
Actual Behavior
Open WebUI raises socket.gaierror and aborts the search when encountering invalid URLs from searXNG, resulting in the status message "An error occurred while searching the web" and the model continuing to generate text with no search result context. Its reasoning will say stuff like "since i can't get up-to-date information, etc.
Steps to Reproduce
Logs & Screenshots
Additional Information
When Open WebUI’s web search functionality processes URLs provided by searXNG, it raises [Errno -2] Name or service not known errors if the URL cannot be resolved via DNS. This occurs because searXNG returns invalid domains like claudeai.wiki, which are confirmed unreachable via nslookup.
@tjbck commented on GitHub (Aug 2, 2025):
Intended behaviour.