mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
[GH-ISSUE #22543] issue: Frontend fetch of openapi.json from external tool server has no timeout, causing infinite UI hang on page load #19742
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 @jprovolone on GitHub (Mar 10, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/22543
Check Existing Issues
Installation Method
Docker
Open WebUI Version
0.8.10
Ollama Version (if applicable)
No response
Operating System
Kubernetes
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
When a configured external OpenAPI tool server is unreachable, the frontend should time out, skip the unavailable server, and continue loading. The user should see a non-blocking warning rather than an indefinite spinner.
Actual Behavior
The UI hangs indefinitely with a spinning wheel whenever an enabled external tool server is unreachable. The page never loads and no error is shown to the user.
Steps to Reproduce
UI spins indefinitely — openapi.json shows as Pending in DevTools Network tab with no resolution
Logs & Screenshots
Additional Information
The backend already handles this correctly with AIOHTTP_CLIENT_TIMEOUT_TOOL_SERVER_DATA. This appears to be a frontend-only gap
Workaround: Blocking the unreachable tool server URL at the browser/network level (blocking trackers & ads) allows the fetch() to fail fast with a connection refused error rather than hanging, which unblocks the UI and allows Open WebUI to load normally
@tjbck commented on GitHub (Mar 25, 2026):
Addressed in dev.