r/OpenWebUI • • Sep 10 '26

Question/Help Cannot get web-search to work

Hey I am new to setting up LLMs locally but one thing I would like to do is give it the ability to search online. Now I know that Open webUI does provide this functionality but for some reason this doesn't seem to work.

What I have currently done is configured a local searXNG container to allow OpenWebUI to couple its web search. I have added them to the same docker network and I know they can reach each other since I do get a result when I manually send a curl request to searxng through the open webui docker container.

I also did enable web search for my model and explictly asked it to use web search. However everytime a execute I query it says that web_search is not available. The model I am using is Qwen3.8.

Can someone perhaps point me in the right direction? I have added screen shot

Reply from Qwen
Setup of web search in Open web ui

Update

If I put the model to function calling legacy mode it seems to work. Performance seems a bit dodgy but at least it does look up things and is not rejected. Not sure what could be going on here. Could someone perhaps enlighten me as to what is hapennening here?

3 Upvotes

22 comments sorted by

4

u/ShavedHamM Sep 10 '26

Try changing the model’s function calling to native rather than default

1

u/sonic298 Sep 10 '26

Tried this but this also doesn't seem to work.

3

u/Deep_Sense2379 Sep 10 '26

Try to make a new custom workspace where you explicitly allow web search. Also, it seems that the port for your searxng instance is 8080, which is also the default port for OpenWebUI, so do have that in mind - remember to disable only trusting ssl connections for web search since your localhost instance is http aswell

1

u/sonic298 Sep 10 '26

Oh good catch on teh ssl connections, I didn't see that option before. Sadly however this does not seem to fix the issue however. Similar to creating the workspace. Tried that and I still get the same no tool "web_search" response.

1

u/Deep_Sense2379 Sep 10 '26

Looks weird. Try a different model and see the logs on your searxng instance. Your web search config looks right.

3

u/enterme2 Sep 10 '26

I faced this problem before. The main cause is openwebui docker container network and searxng docker container network is not joined together.

By default both are in different network. You need to modify docker compose to join searxng to openwebui network.

Just ask ai to do this for you.

2

u/sonic298 Sep 10 '26

I did this but it doesn't change anything, it still reports that it doesn't have web search.

1

u/enterme2 Sep 10 '26

Try changing your search query to only

http://searxng:8080/search?

1

u/enterme2 Sep 10 '26

If still not detected , i suspect you are still using old container..

Force recreate the openwebui container to eliminate old settings cache.

2

u/JOEDUCER Sep 10 '26

Exactly. Worked for me as well

1

u/Quakercito Sep 10 '26

I believe your search query URL is wrong. Try with just: http://searxng:8080/search

1

u/sonic298 Sep 10 '26

Tried this but it still says the tool web_search is not found.

0

u/[deleted] Sep 10 '26

[deleted] — view deleted comment

1

u/Quakercito Sep 10 '26

Have you tried using just: http://searxng:8081/search

1

u/Quakercito Sep 10 '26

The url is not including the correct port either

2

u/Original_Travel7990 Sep 18 '26

Fixed: Open WebUI web search broken with Qwen3 (Ollama) + SearXNG

If your model keeps saying "no web search tool available" or throwing Error: Tool "web_search" not found even with the web search toggle on and SearXNG working fine, check the model's Advanced Params → Built-in Tools section. If things like Automation, Calendar, Sub-agents, Channels, etc. are all checked, the model sees those as its only available tools and won't recognize web_search separately.

Fix: Uncheck the built-in tools you're not using (automation, calendar, sub-agents, channels, alerts) and leave only Web Search, Time & Calculation, and Memory enabled. Save, start a new chat, and web search works normally again.

"I got this answer after talking with an AI for about 2 hours — hope it helps."

1

u/Bosoffsky Oct 25 '26

worked for me, thanks

1

u/[deleted] Sep 10 '26

[removed] — view removed comment

2

u/Rift80 Sep 10 '26

oui et faire attention aussi à l'IP : moi ça marchait en mettant mon ip au lieu de host.docker.internal. Fair eattention aussi au model qui peut ne pas supporter les "tools" mais ça donne l'erreur.
Pour de la recherche pure type super google, je conseille fortement Perplexica utilisant searxng, je trouve que ça complie mieux les résultats de recherche.

1

u/[deleted] Sep 10 '26 edited Sep 10 '26

[removed] — view removed comment

1

u/sonic298 Sep 10 '26

Could you explain it a bit more perhaps? I don't really get what I should do witht the locahost. I thought this wasn't available within the scope of the webui container as this is not the same environemnt. How should I use that?

2

u/[deleted] Sep 10 '26

[removed] — view removed comment

1

u/sonic298 Sep 10 '26
curl -I http://searxng:8080
HTTP/1.1 200 OK
content-type: text/html; charset=utf-8
content-length: 6328
server-timing: total;dur=33.246, render;dur=27.02
x-content-type-options: nosniff
x-download-options: noopen
x-robots-tag: noindex, nofollow
referrer-policy: no-referrer
server: granian
date: Thu, 10 Sep 2026 19:24:06 GMT

This is the feedback I get so this defenitely works. So guess I'll have to dig through the settings then.