[GH-ISSUE #8854] OpenAI/Pipelines endpoint timeout too long #118599

Closed
opened 2026-05-20 19:56:43 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @JKratto on GitHub (Jan 24, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/8854

Bug Report

Installation Method

Docker + Pipelines Docker

Environment

Confirmation:

  • [ x] I have read and followed all the instructions provided in the README.md.
  • [ x] I am on the latest version of both Open WebUI and Ollama.
  • [ x] I have included the Docker container logs.
  • [x ] I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below.

Expected Behavior:

OpenWebUI loads without a hickup when Pipelines server is not reachable.

Actual Behavior:

OpenWebUI probably tries to connect to Pipelines, which is not possible and timeout is very long. You can't change the configuration (quickly), as GUI does not really load. I can't really change it in sqlite, because the JSON config is hard for me to navigate and I was not able to correctly put in the rigth ammout of quotes to make it work. I did not die trying though and after a few minutes, WebUI was accessible again, so I fixed IP address and everything is working as expected.

Description

Bug Summary:
Timeout for Pipelines (OpenAI endpoints) is too long, GUI does not load in a timely manner.

Reproduction Details

Steps to Reproduce:

  • attach pipelines server
  • check status OK
  • make pipelines server unreachable
  • restart OpenWebUI
  • go make yourself a cup of coffee 'cause it ain't accessible soon

Logs and Screenshots

Docker Container Logs:

INFO  [open_webui.routers.openai] get_all_models()
ERROR [open_webui.routers.openai] Connection error: Cannot connect to host 10.10.10.10:9099 ssl:default [Connect call failed ('10.10.10.10', 9099)]
DEBUG [open_webui.routers.openai] get_all_models:responses() [None]
DEBUG [open_webui.routers.openai] merge_models_lists <map object at 0x7f09a8b734c0>
DEBUG [open_webui.routers.openai] models: {'data': []}

Additional Information

I migrated my instance to another place and it did not occur to me that Pipelines address changed as well (same host, not using docker network, but actual host IP). This exact thing used to happen with Ollama endpoints and I think it does not happen anymore. One day it really drove me almost nuts until I opened the logs and found out I accidentaly left an old ollama host IP in the configuration.

Thanks so much for the great effort. I really appreciate all the hard work and I am amazed by the quality and progress tha OpenWebUI is making every day! <3

Originally created by @JKratto on GitHub (Jan 24, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/8854 # Bug Report ## Installation Method Docker + Pipelines Docker ## Environment - **Open WebUI Version:** v0.5.7 - **Ollama (if applicable):** v0.5.7 - **Operating System:** Debian 12 - **Browser (if applicable):** Brave [Version 1.74.48 Chromium: 132.0.6834.83 (Official Build) (arm64)](https://brave.com/latest/) **Confirmation:** - [ x] I have read and followed all the instructions provided in the README.md. - [ x] I am on the latest version of both Open WebUI and Ollama. - [ x] I have included the Docker container logs. - [x ] I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below. ## Expected Behavior: OpenWebUI loads without a hickup when Pipelines server is not reachable. ## Actual Behavior: OpenWebUI probably tries to connect to Pipelines, which is not possible and timeout is very long. You can't change the configuration (quickly), as GUI does not really load. I can't really change it in sqlite, because the JSON config is hard for me to navigate and I was not able to correctly put in the rigth ammout of quotes to make it work. I did not die trying though and after a few minutes, WebUI was accessible again, so I fixed IP address and everything is working as expected. ## Description **Bug Summary:** Timeout for Pipelines (OpenAI endpoints) is too long, GUI does not load in a timely manner. ## Reproduction Details **Steps to Reproduce:** * attach pipelines server * check status OK * make pipelines server unreachable * restart OpenWebUI * go make yourself a cup of coffee 'cause it ain't accessible soon ## Logs and Screenshots **Docker Container Logs:** ``` INFO [open_webui.routers.openai] get_all_models() ERROR [open_webui.routers.openai] Connection error: Cannot connect to host 10.10.10.10:9099 ssl:default [Connect call failed ('10.10.10.10', 9099)] DEBUG [open_webui.routers.openai] get_all_models:responses() [None] DEBUG [open_webui.routers.openai] merge_models_lists <map object at 0x7f09a8b734c0> DEBUG [open_webui.routers.openai] models: {'data': []} ``` ## Additional Information I migrated my instance to another place and it did not occur to me that Pipelines address changed as well (same host, not using docker network, but actual host IP). This exact thing used to happen with Ollama endpoints and I think it does not happen anymore. One day it really drove me almost nuts until I opened the logs and found out I accidentaly left an old ollama host IP in the configuration. Thanks so much for the great effort. I really appreciate all the hard work and I am amazed by the quality and progress tha OpenWebUI is making every day! <3
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#118599