mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
[GH-ISSUE #12175] issue: Failing SSL verification on search retrieval blocks OpenWebUI until (very long) timeouts happen #16494
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 @Ithanil on GitHub (Mar 29, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/12175
Check Existing Issues
Installation Method
Other
Open WebUI Version
dev (few commits off from current)
Ollama Version (if applicable)
No response
Operating System
.
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
Actual Behavior
At least if using Tavily Search AND extract (but I think it doesn't matter) and having the OpenWebUI in a private network with restrictive web proxy, but having bypass SSL verification enabled in the UI, the web loader will synchronously attempt to verify the SSL certificates of returned websites and wait for timeout on every single page. This completely blocks OpenWebUI for two minutes per result page.
So, there are multiple issues here:
Steps to Reproduce
Logs & Screenshots
Additional Information
Regarding the bypass setting, see current UI code:
See the current UI code:
@rgaricano commented on GitHub (Mar 29, 2025):
@rgaricano commented on GitHub (Mar 29, 2025):
if you want try this fix, i upload to my fork for test before PR:
9ad8182f7d&629ea4d0eb(lost comma)(I also had
periodic_usage_pool_cleanuperror in other circumstances, i think it is not directly related but I would like to know when this error occurs.)@Ithanil commented on GitHub (Mar 29, 2025):
Appreciate your immediate effort, but I won't be able to test it today. But could tomorrow, if still needed.
I would assume the cleanup thing is actually caused by the long blockage. I don't see it in my prod/staging logs otherwise, except for situations where Redis was inaccessible. But I don't have enough understanding of the mechanism to really know.
@rgaricano commented on GitHub (Mar 29, 2025):
( I lost a comma on commit i recommit & updated message )
@Ithanil commented on GitHub (Mar 29, 2025):
OK, I looked at your commits and I'm afraid this seems not helpful. ENABLE_RAG_WEB_LOADER_SSL_VERIFICATION already comes into play at this point:
08ff1d8d88/backend/open_webui/routers/retrieval.py (L1194)and has the desired effect, just the label on the corresponding UI switch is inverted ("bypass" instead of "enable").Besides the UI problem the actual main issues are:
@Lawlietr commented on GitHub (Mar 30, 2025):
Same issues here, i don't know why this issue happened today,
Could this problem be related to Ollama? Because I noticed that Ollama had an update yesterday.
@Ithanil commented on GitHub (Mar 30, 2025):
No, this is not related to Ollama.
@Xi-Gong commented on GitHub (Apr 4, 2025):
Same issues with tavily used, temporary closed "Bypass SSL verification for website".
@Ithanil commented on GitHub (Apr 13, 2025):
Just FYI, "Bypass SSL verification" meant the opposite of what it was doing before some recent changes.
Now, you need to first change web loader to "default" in the UI, disable verify SSL there, and then switch back to your desired loader (e.g. tavily).
@Xi-Gong commented on GitHub (Apr 13, 2025):
Thanks, It's good to see serveral web loader choice, I'm currently using tavily extract to complete solve extract problems.