mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 19:38:46 -05:00
[GH-ISSUE #20499] issue: Open-WebUI cannot use Bocha, but calling Bocha via a Python script works normally. #34730
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 @gongshaojie12 on GitHub (Jan 9, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/20499
Check Existing Issues
Installation Method
Pip Install
Open WebUI Version
0.6.43
Ollama Version (if applicable)
No response
Operating System
Centos 7.9
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
Bocha can be used normally.
Actual Behavior
When I use Bocha, the following error occurs.
However, when I run the following Python script on this machine, it works normally.
What could be the cause of this issue, and how can I resolve it?
Steps to Reproduce
None
Logs & Screenshots
None
Additional Information
No response
@owui-terminator[bot] commented on GitHub (Jan 9, 2026):
🔍 Similar Issues Found
I found some existing issues that might be related to this one. Please check if any of these are duplicates or contain helpful solutions:
#20128 issue: Characters are broken in 0.6.43
by frenzybiscuit • Dec 22, 2025 •
bug#20327 issue: Unable to use any Open WebUI version newer than 0.6.25 due to hybrid search performance
by galvanoid • Jan 02, 2026 •
bug#11661 issue: Can not use Bocha websearch API, return "No search results found"
by pandalaohe • Mar 14, 2025 •
bug#19733 issue: AttributeError: 'str' object has no attribute 'get' when using Bocha search engine
by Sorkai • Dec 04, 2025 •
bug💡 Tips:
This comment was generated automatically by a bot. Please react with a 👍 if this comment was helpful, or a 👎 if it was not.
@Classic298 commented on GitHub (Jan 9, 2026):
"fastapi.exceptions.HTTPException: 400: HTTPSConnectionPool(host='api.bochaai.com', port=443): Max retries exceeded with url: /v1/web-search?utm_source=ollama (Caused by SSLError(SSLEOFError(8, '[SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1006)')))"
Either you got rate limited or the web search did not work because of certificate issues and PYTHONHTTPSVERIFY here.
If you say the code works in a standalone script but not in open webui, then it's not an open webui issue.
More likely you need to configure open webui to have access to the certificates if you have any firewall in-between or other self signed certs, or disable certificate verification