[GH-ISSUE #9504] DuckDuckGo Web Search broken due to rate limit error + FIX #118850

Closed
opened 2026-05-20 20:06:57 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @kylespencer on GitHub (Feb 6, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/9504

The Web Search feature does not work reliably with DuckDuckGo due to a rate limit error. Logs show something like this:

INFO  [open_webui.routers.openai] get_all_models()
ERROR [open_webui.routers.retrieval] https://lite.duckduckgo.com/lite/ 202 Ratelimit

This occurs with instances deployed via both Docker and UVX. The fix/workaround is as follows:

On a UVX based installation, run the following command then restart the OpenWebUI service:

pip3 install -U duckduckgo_search==6.3.5

Presumably the developer can resolve this issue by mandating the 6.3.5 version of DuckDuckGo's search package for new installations and upgrades?

Originally created by @kylespencer on GitHub (Feb 6, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/9504 The Web Search feature does not work reliably with DuckDuckGo due to a rate limit error. Logs show something like this: ``` INFO [open_webui.routers.openai] get_all_models() ERROR [open_webui.routers.retrieval] https://lite.duckduckgo.com/lite/ 202 Ratelimit ``` This occurs with instances deployed via both Docker and UVX. The fix/workaround is as follows: On a UVX based installation, run the following command then restart the OpenWebUI service: `pip3 install -U duckduckgo_search==6.3.5` Presumably the developer can resolve this issue by mandating the 6.3.5 version of DuckDuckGo's search package for new installations and upgrades?
Author
Owner

@kylespencer commented on GitHub (Feb 6, 2025):

Results following the fix were inconsistent. Closed the issue for now and will re-open if I gather more useful data.

<!-- gh-comment-id:2639897834 --> @kylespencer commented on GitHub (Feb 6, 2025): Results following the fix were inconsistent. Closed the issue for now and will re-open if I gather more useful data.
Author
Owner

@hillzzz commented on GitHub (Feb 6, 2025):

Unfortunately I am getting frequent errors relating to Duckduck go search. So I turned websearch off in the settings but the errors did not stop even though websearch is turned off the error keeps happening. I am using duckduckgo_search==6.3.5. I am also getting this error "cannot import name 'AsyncDDGS' from 'duckduckgo_search' (/usr/local/lib/python3.11/site-packages/duckduckgo_search/__init__.py)"

<!-- gh-comment-id:2641351314 --> @hillzzz commented on GitHub (Feb 6, 2025): Unfortunately I am getting frequent errors relating to Duckduck go search. So I turned websearch off in the settings but the errors did not stop even though websearch is turned off the error keeps happening. I am using duckduckgo_search==6.3.5. I am also getting this error **"cannot import name 'AsyncDDGS' from 'duckduckgo_search' (/usr/local/lib/python3.11/site-packages/duckduckgo_search/__init__.py)"**
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#118850