mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 03:18:23 -05:00
[GH-ISSUE #14031] issue: Brave search fails: 429 Too Many Requests #32642
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 @robinelvin on GitHub (May 19, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/14031
Check Existing Issues
Installation Method
Other
Open WebUI Version
0.6.9
Ollama Version (if applicable)
No response
Operating System
Fedora 41
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
The search should work - it used to but seemed to stop working in the later releases.
Actual Behavior
The search string is generated but fails to complete:
Steps to Reproduce
Logs & Screenshots
Brave API usage:

Additional Information
No response
@robinelvin commented on GitHub (May 19, 2025):
I have dropped "Concurrent Requests" down to 1 and I am still getting the same error.
Manual test works:
@cloudnull commented on GitHub (May 19, 2025):
ran into the same error with verion 0.6.10 as well.
@jmasarweh commented on GitHub (May 19, 2025):
Same exact issue with 0.6.10 ( uv local install not in a docker container.)
`File \AppData\Local\uv\cache\archive-v0\2bkAtQw6NJ-S16aa0Ez-_\Lib\site-packages\open_webui\utils\middleware.py, line 778, in process_chat_payload
form_data = await chat_web_search_handler(
<function chat_web_search_handler at 0x0000014C15708C20>
fastapi.exceptions.HTTPException: 400: 429 Client Error: Too Many Requests for url: https://api.search.brave.com/res/v1/web/search?q=popular+github+repositories+2025&count=5`
@Classic298 commented on GitHub (May 19, 2025):
I do not think this is an Open WebUI issue, and I do not think the new version (or the old version) is in any way at fault.
429 Error from the Brave API means "Too Many Requests"
This is an error from Brave, not Open WebUI.
Maybe you have sent too many requests per hour, day, week or month, depending on how they handle their rate limits.
Or perhaps you were generally rate limited.
With rate limit errors such as this one (429) it's generally advisable to search for hints in brave's api docs or get support from them.
Try calling brave search with a small little python script yourself - if you, again, get 429 errors, we definitely know it is not Open WebUI that is at fault.
@tth37 commented on GitHub (May 19, 2025):
@tjbck I think it might be an issue introduced by #13664 (
34ec10a78c) or #13111 😢. These changes significantly increased the parallelism of web searches, and there have been a lot of rate limit errors (especially from Brave and DuckDuckGo) since v0.6.8.Related discussion: #13292 #13947
@erictmnz commented on GitHub (May 19, 2025):
Agree, we are on a paid Brave plan and still get "Too Many Request" even for a simple model side by side web search.
@Classic298 commented on GitHub (May 19, 2025):
Can you reproduce this even when manually sending requests? (E.g. using a small python script)?