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?
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.
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)"**
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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:
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.5Presumably the developer can resolve this issue by mandating the 6.3.5 version of DuckDuckGo's search package for new installations and upgrades?
@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.
@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)"