mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 11:28:35 -05:00
[GH-ISSUE #20230] Bocha: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)'))) #19132
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 (Dec 29, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/20230
Check Existing Issues
Installation Method
Pip Install
Open WebUI Version
v0.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 search normally.
Actual Behavior
When I enable Bocha search, the following error occurs:
However, when I run the code that calls Bocha search separately from the source code, it works normally. What could be the reason for this, and how can it be resolved?
The code is as follows:
Steps to Reproduce
None
Logs & Screenshots
None
Additional Information
No response
@owui-terminator[bot] commented on GitHub (Dec 29, 2025):
🔍 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:
#20107 issue:
by mengdeer589 • Dec 22, 2025 •
bug#20155 issue:
by dhaern • Dec 24, 2025 •
bug#20196 issue:
by dhaern • Dec 27, 2025 •
bug#19755 issue: Error: 404, message='Not Found', url='http://ollama:11434/api/embed'
by stevewillett • Dec 04, 2025 •
bug#20003 issue: Web Search with BRAVE API does not work.
by tigran123 • Dec 17, 2025 •
bugShow 5 more related issues
#20019 issue:
by j63440490 • Dec 17, 2025 •
bug#19777 issue:
by Yaute7 • Dec 05, 2025 •
bug#19864 issue:
by Haervwe • Dec 10, 2025 •
bug#19877 issue:
by dotmobo • Dec 11, 2025 •
bug#19563 issue:
by naruto7g • Nov 28, 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.
@gongshaojie12 commented on GitHub (Dec 29, 2025):
Can you stop having the bot answer? The answers are not accurate.
@Classic298 commented on GitHub (Dec 29, 2025):
Bocha was recently added by the community and is a community addition. PR welcome
@Classic298 commented on GitHub (Dec 30, 2025):
@gongshaojie12
Analysis
This is a network/proxy configuration issue, not a bug in Open WebUI.
Looking at your traceback, the key detail is:
'proxies': OrderedDict([('http', 'http://192.168.201.207:80'), ('https', 'http://192.168.201.207:80')])
You have an HTTP proxy (http://...) configured for HTTPS traffic. This causes the SSL handshake to fail with
UNEXPECTED_EOF_WHILE_READINGbecause an HTTP proxy cannot properly handle TLS connections without additional configuration (like CONNECT tunneling).Why your standalone script works
When you run the script directly, Python isn't inheriting the same
http_proxy/https_proxy/HTTP_PROXY/HTTPS_PROXYenvironment variables that your Open WebUI service is using.Solutions
NO_PROXY=api.bochaai.comin your environmenthttps_proxy/HTTPS_PROXYenvironment variables if you don't need themThis is not an Open WebUI issue - it's a network configuration problem in your environment.