mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
[GH-ISSUE #9226] Open-WebUI takes a very long time to become usable when it cannot connect to api.openai.com #30954
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 @endotronic on GitHub (Feb 2, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/9226
Bug Report
Installation Method
Docker via this docker-compose configuration:
Environment
I used the latest tags for Open WebUI and Ollama today. I can look up what versions these are if it becomes necessary.
Confirmation:
Expected Behavior:
Open WebUI claims that it was designed to operate entirely offline. I expect that no matter what network I put the container on, as long as I can access the hosted web interface, I can use the UI. In my case, I provided a network with access to Ollama in another container, but no Internet access.
Actual Behavior:
If I don't provide internet access, I get a blank page after login. If I add a network to my docker container that has an internet gateway, everything works great right away. The blank page eventually becomes usable when a call to api.openai.com times out.
Description
Bug Summary:
I can see in Docker logs that a call is made to api.openai.com that times out. Right after login, I see a blank page for a long time while waiting on this call. When it eventually times out, the UI is usable.
Reproduction Details
Steps to Reproduce:
Logs and Screenshots
Browser Console Logs:

Docker Container Logs:
Screenshots/Screen Recordings (if applicable):
@endotronic commented on GitHub (Feb 2, 2025):
Ugh, I just realized I can turn OpenAI off in the settings, and then everything works great. I guess you can close this, but I will leave it open as a suggestion to make this more obvious.
@tjbck commented on GitHub (Feb 2, 2025):
Alternative solution: https://docs.openwebui.com/getting-started/env-configuration#aiohttp_client_timeout_openai_model_list