mirror of
https://github.com/open-webui/open-webui.git
synced 2026-06-03 07:24:59 -05:00
[GH-ISSUE #20602] issue: Allow external link navigation from WebUI (configurable) – ERR_BLOCKED_BY_RESPONSE when opening YouTube from tool UI #122544
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 @dhaern on GitHub (Jan 12, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/20602
Check Existing Issues
Installation Method
Pip Install
Open WebUI Version
0.7.2
Ollama Version (if applicable)
No response
Operating System
Ubuntu 24.04
Browser (if applicable)
Zen, Snap Chromium for ARM64
Confirmation
README.md.Expected Behavior
Clicking a clean external URL in a tool UI should open the target in a new tab without being blocked.
Actual Behavior
External navigation is blocked by browser (ERR_BLOCKED_BY_RESPONSE), even when headers are permissive.
Important detail: Regular links rendered in normal assistant text work fine.
The block only happens when the link is inside a tool UI component (HTMLResponse/embedded UI). So the problem appears tied to the UI component renderer/router, not to general link handling.
Steps to Reproduce
When a tool returns an embedded UI (HTMLResponse/iframe), any external link clicked inside the WebUI context is blocked with:
www.youtube.com is blocked
www.youtube.com refused to connect.
ERR_BLOCKED_BY_RESPONSE
This happens even with a clean URL like:
https://www.youtube.com/watch?v=VIDEO_ID
If I copy the exact same URL and open it in a fresh tab or duplicate the tab, it works.
So the URL itself is valid; the navigation initiated from the OWUI context is blocked.
Logs & Screenshots
Hypothesis
OWUI front-end SPA may intercept external link navigation (or force internal routing) in a way that triggers browser blocking (ERR_BLOCKED_BY_RESPONSE). This appears unrelated to COOP/CSP now.
Additional Information
What I tried:
Using this tool Youtube search and embed
Request
Please add a user-level setting (or global setting) to:
Even a toggle like:
Allow external navigation from tool outputs (UI components) would solve this.
@Classic298 commented on GitHub (Jan 12, 2026):
@silentoplayz can you reproduce? I think this is a matter of the existing settings in the interface settings
@dhaern commented on GitHub (Jan 12, 2026):
I already tried in user settings:
Detect Artifacts Automatically ON and OFF
iframe Sandbox Allow Same Origin ON and OFF
iframe Sandbox Allow Forms ON and OFF
Web Search (prob useless but I tried) Default and Always
And redirects from that youtube search and embed tool are blocked aswell.
I am running Open WebUI on an Oracle Cloud Infrastructure (OCI) ARM64 VPS, managed as a systemd service. The instance is exposed to the internet via Caddy (reverse proxy) using a DuckDNS domain. I access the WebUI remotely from my local Windows 11 machine.