SearXNG search goes to the wrong url #3813

Closed
opened 2025-11-11 15:40:28 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @iplayfast on GitHub (Feb 13, 2025).

Bug Report


Installation Method

Docker (system working well)

Environment

  • Open WebUI Version: 5.11

  • Ollama (if applicable): 0.5.7

  • Operating System: linux

  • Browser (if applicable): Chrome

Confirmation:

  • 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.
  • 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:

In admin/websearch I set the searXNG engine to use url http://192.168.1.15:8080/search?q=
During a query when using the searXNG engine, it has an error.

Thought Process
An error occurred while searching SearXNG: HTTPConnectionPool(host='searxng', port=8080): Max retries exceeded with url: /search?q=How+to+fix+the+searXNG+search+feature&format=json (Caused by NameResolutionError(": Failed to resolve 'searxng' ([Errno -2] Name or service not known)"))

[Describe what you expected to happen.]
My Searxng is set to 192.168.1.15:8080 searxng:8080 doesn't point anywhere.

Originally created by @iplayfast on GitHub (Feb 13, 2025). # Bug Report --- ## Installation Method Docker (system working well) ## Environment - **Open WebUI Version:** 5.11 - **Ollama (if applicable):** 0.5.7 - **Operating System:** linux - **Browser (if applicable):** Chrome **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. - [ ] 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: In admin/websearch I set the searXNG engine to use url http://192.168.1.15:8080/search?q=<query> During a query when using the searXNG engine, it has an error. <details> <summary>Thought Process</summary> </details> An error occurred while searching SearXNG: HTTPConnectionPool(host='searxng', port=8080): Max retries exceeded with url: /search?q=How+to+fix+the+searXNG+search+feature&format=json (Caused by NameResolutionError("<urllib3.connection.HTTPConnection object at 0x750237bb10d0>: Failed to resolve 'searxng' ([Errno -2] Name or service not known)")) [Describe what you expected to happen.] My Searxng is set to 192.168.1.15:8080 searxng:8080 doesn't point anywhere.
Author
Owner

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

Docker localhost isn't the same as Host machine localhost.

@tjbck commented on GitHub (Feb 13, 2025): Docker localhost isn't the same as Host machine localhost.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#3813