open-webui can not start. #2585

Closed
opened 2025-11-11 15:10:07 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @shudingcai on GitHub (Nov 7, 2024).

NFO [open_webui.env] Embedding model set: sentence-transformers/all-MiniLM-L6-v2
INFO [open_webui.apps.audio.main] whisper_device_type: cpu
WARNI [langchain_community.utils.user_agent] USER_AGENT environment variable not set, consider setting it to identify your requests.


/ _ \ _ __ ___ _ __ \ \ / /| | | | | |_ |
| | | | '
\ / _ \ '_ \ \ \ /\ / / _ \ '_ | | | || |
| || | |) | / | | | \ V V / / |) | || || |
_
/| .
/ _|| || _/_/ _|./ _/|_|
|
|

v0.3.35 - building the best open-source AI user interface.

https://github.com/open-webui/open-webui

INFO: Started server process [316816]
INFO: Waiting for application startup.
INFO: Application startup complete.
INFO: Uvicorn running on http://0.0.0.0:8080 (Press CTRL+C to quit)
INFO [open_webui.apps.openai.main] get_all_models()
INFO [open_webui.apps.openai.main] get_all_models()
INFO [open_webui.apps.openai.main] get_all_models()
INFO [open_webui.apps.openai.main] get_all_models()
INFO [open_webui.apps.openai.main] get_all_models()
INFO [open_webui.apps.openai.main] get_all_models()
INFO [open_webui.apps.openai.main] get_all_models()
ERROR [open_webui.apps.openai.main] Connection error:
INFO [open_webui.apps.ollama.main] get_all_models()
INFO: 127.0.0.1:49270 - "GET /static/splash.png HTTP/1.1" 200 OK
ERROR [open_webui.apps.openai.main] Connection error:
INFO [open_webui.apps.ollama.main] get_all_models()
ERROR [open_webui.apps.openai.main] Connection error:
INFO [open_webui.apps.ollama.main] get_all_models()
ERROR [open_webui.apps.openai.main] Connection error:
INFO [open_webui.apps.ollama.main] get_all_models()
ERROR: Exception in ASGI application

  • Exception Group Traceback (most recent call last):
    | File "/home/shudingcai/harddisk0/condaenvironment/lib/python3.11/site-packages/starlette/_utils.py", line 87, in collapse_excgroups
    | yield
    | File "/home/shudingcai/harddisk0/condaenvironment/lib/python3.11/site-packages/starlette/middleware/base.py", line 190, in call
    | async with anyio.create_task_group() as task_group:
    | File "/home/shudingcai/harddisk0/condaenvironment/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 763, in aexit
    | raise BaseExceptionGroup(
    | ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)
    +-+---------------- 1 ----------------
    | Traceback (most recent call last):
    | File "/home/shudingcai/harddisk0/condaenvironment/lib/python3.11/site-packages/uvicorn/protocols/http/httptools_impl.py", line 401, in run_asgi
    | result = await app( # type: ignore[func-returns-value]
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    | File "/home/shudingcai/harddisk0/condaenvironment/lib/python3.11/site-packages/uvicorn/middleware/proxy_headers.py", line 70, in call
    | return await self.app(scope, receive, send)
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    | File "/home/shudingcai/harddisk0/condaenvironment/lib/python3.11/site-packages/fastapi/applications.py", line 1054, in call
    | await super().call(scope, receive, send)
    | File "/home/shudingcai/harddisk0/condaenvironment/lib/python3.11/site-packages/starlette/applications.py", line 123, in call
    | await self.middleware_stack(scope, receive, send)
    | File "/home/shudingcai/harddisk0/condaenvironment/lib/python3.11/site-packages/starlette/middleware/errors.py", line 186, in call
    | raise exc
    | File "/home/shudingcai/harddisk0/condaenvironment/lib/python3.11/site-packages/starlette/middleware/errors.py", line 164, in call
    | await self.app(scope, receive, _send)
    | File "/home/shudingcai/harddisk0/condaenvironment/lib/python3.11/site-packages/starlette/middleware/base.py", line 189, in call
    | with collapse_excgroups():
    | File "/home/shudingcai/harddisk0/condaenvironment/lib/python3.11/contextlib.py", line 158, in exit
    | self.gen.throw(typ, value, traceback)
    | File "/home/shudingcai/harddisk0/condaenvironment/lib/python3.11/site-packages/starlette/_utils.py", line 93, in collapse_excgroups
    | raise exc
    | File "/home/shudingcai/harddisk0/condaenvironment/lib/python3.11/site-packages/starlette/middleware/base.py", line 191, in call
    | response = await self.dispatch_func(request, call_next)
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    | File "/home/shudingcai/harddisk0/condaenvironment/lib/python3.11/site-packages/open_webui/main.py", line 901, in inspect_websocket
    | return await call_next(request)
    | ^^^^^^^^^^^^^^^^^^^^^^^^
    | File "/home/shudingcai/harddisk0/condaenvironment/lib/python3.11/site-packages/starlette/middleware/base.py", line 165, in call_next
    | raise app_exc
    | File "/home/shudingcai/harddisk0/condaenvironment/lib/python3.11/site-packages/starlette/middleware/base.py", line 151, in coro
    | await self.app(scope, receive_or_disconnect, send_no_error)
    | File "/home/shudingcai/harddisk0/condaenvironment/lib/python3.11/site-packages/starlette/middleware/base.py", line 189, in call
    | with collapse_excgroups():
    | File "/home/shudingcai/harddisk0/condaenvironment/lib/python3.11/contextlib.py", line 158, in exit
    | self.gen.throw(typ, value, traceback)
    | File "/home/shudingcai/harddisk0/condaenvironment/lib/python3.11/site-packages/starlette/_utils.py", line 93, in collapse_excgroups
    | raise exc
    | File "/home/shudingcai/harddisk0/condaenvironment/lib/python3.11/site-packages/starlette/middleware/base.py", line 191, in call
    | response = await self.dispatch_func(request, call_next)
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    | File "/home/shudingcai/harddisk0/condaenvironment/lib/python3.11/site-packages/open_webui/main.py", line 880, in update_embedding_function
    | response = await call_next(request)
    | ^^^^^^^^^^^^^^^^^^^^^^^^
    | File "/home/shudingcai/harddisk0/condaenvironment/lib/python3.11/site-packages/starlette/middleware/base.py", line 165, in call_next
    | raise app_exc
    | File "/home/shudingcai/harddisk0/condaenvironment/lib/python3.11/site-packages/starlette/middleware/base.py", line 151, in coro
    | await self.app(scope, receive_or_disconnect, send_no_error)
    | File "/home/shudingcai/harddisk0/condaenvironment/lib/python3.11/site-packages/starlette/middleware/base.py", line 189, in call
    | with collapse_excgroups():
    | File "/home/shudingcai/harddisk0/condaenvironment/lib/python3.11/contextlib.py", line 158, in exit
    | self.gen.throw(typ, value, traceback)
    | File "/home/shudingcai/harddisk0/condaenvironment/lib/python3.11/site-packages/starlette/_utils.py", line 93, in collapse_excgroups
    | raise exc
    | File "/home/shudingcai/harddisk0/condaenvironment/lib/python3.11/site-packages/starlette/middleware/base.py", line 191, in call
    | response = await self.dispatch_func(request, call_next)
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    | File "/home/shudingcai/harddisk0/condaenvironment/lib/python3.11/site-packages/open_webui/main.py", line 871, in check_url
    | response = await call_next(request)
    | ^^^^^^^^^^^^^^^^^^^^^^^^
    | File "/home/shudingcai/harddisk0/condaenvironment/lib/python3.11/site-packages/starlette/middleware/base.py", line 166, in call_next
    | raise RuntimeError("No response returned.")
    | RuntimeError: No response returned.
    +------------------------------------

During handling of the above exception, another exception occurred:

Originally created by @shudingcai on GitHub (Nov 7, 2024). NFO [open_webui.env] Embedding model set: sentence-transformers/all-MiniLM-L6-v2 INFO [open_webui.apps.audio.main] whisper_device_type: cpu WARNI [langchain_community.utils.user_agent] USER_AGENT environment variable not set, consider setting it to identify your requests. ___ __ __ _ _ _ ___ / _ \ _ __ ___ _ __ \ \ / /__| |__ | | | |_ _| | | | | '_ \ / _ \ '_ \ \ \ /\ / / _ \ '_ \| | | || | | |_| | |_) | __/ | | | \ V V / __/ |_) | |_| || | \___/| .__/ \___|_| |_| \_/\_/ \___|_.__/ \___/|___| |_| v0.3.35 - building the best open-source AI user interface. https://github.com/open-webui/open-webui INFO: Started server process [316816] INFO: Waiting for application startup. INFO: Application startup complete. INFO: Uvicorn running on http://0.0.0.0:8080 (Press CTRL+C to quit) INFO [open_webui.apps.openai.main] get_all_models() INFO [open_webui.apps.openai.main] get_all_models() INFO [open_webui.apps.openai.main] get_all_models() INFO [open_webui.apps.openai.main] get_all_models() INFO [open_webui.apps.openai.main] get_all_models() INFO [open_webui.apps.openai.main] get_all_models() INFO [open_webui.apps.openai.main] get_all_models() ERROR [open_webui.apps.openai.main] Connection error: INFO [open_webui.apps.ollama.main] get_all_models() INFO: 127.0.0.1:49270 - "GET /static/splash.png HTTP/1.1" 200 OK ERROR [open_webui.apps.openai.main] Connection error: INFO [open_webui.apps.ollama.main] get_all_models() ERROR [open_webui.apps.openai.main] Connection error: INFO [open_webui.apps.ollama.main] get_all_models() ERROR [open_webui.apps.openai.main] Connection error: INFO [open_webui.apps.ollama.main] get_all_models() ERROR: Exception in ASGI application + Exception Group Traceback (most recent call last): | File "/home/shudingcai/harddisk0/condaenvironment/lib/python3.11/site-packages/starlette/_utils.py", line 87, in collapse_excgroups | yield | File "/home/shudingcai/harddisk0/condaenvironment/lib/python3.11/site-packages/starlette/middleware/base.py", line 190, in __call__ | async with anyio.create_task_group() as task_group: | File "/home/shudingcai/harddisk0/condaenvironment/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 763, in __aexit__ | raise BaseExceptionGroup( | ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception) +-+---------------- 1 ---------------- | Traceback (most recent call last): | File "/home/shudingcai/harddisk0/condaenvironment/lib/python3.11/site-packages/uvicorn/protocols/http/httptools_impl.py", line 401, in run_asgi | result = await app( # type: ignore[func-returns-value] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/home/shudingcai/harddisk0/condaenvironment/lib/python3.11/site-packages/uvicorn/middleware/proxy_headers.py", line 70, in __call__ | return await self.app(scope, receive, send) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/home/shudingcai/harddisk0/condaenvironment/lib/python3.11/site-packages/fastapi/applications.py", line 1054, in __call__ | await super().__call__(scope, receive, send) | File "/home/shudingcai/harddisk0/condaenvironment/lib/python3.11/site-packages/starlette/applications.py", line 123, in __call__ | await self.middleware_stack(scope, receive, send) | File "/home/shudingcai/harddisk0/condaenvironment/lib/python3.11/site-packages/starlette/middleware/errors.py", line 186, in __call__ | raise exc | File "/home/shudingcai/harddisk0/condaenvironment/lib/python3.11/site-packages/starlette/middleware/errors.py", line 164, in __call__ | await self.app(scope, receive, _send) | File "/home/shudingcai/harddisk0/condaenvironment/lib/python3.11/site-packages/starlette/middleware/base.py", line 189, in __call__ | with collapse_excgroups(): | File "/home/shudingcai/harddisk0/condaenvironment/lib/python3.11/contextlib.py", line 158, in __exit__ | self.gen.throw(typ, value, traceback) | File "/home/shudingcai/harddisk0/condaenvironment/lib/python3.11/site-packages/starlette/_utils.py", line 93, in collapse_excgroups | raise exc | File "/home/shudingcai/harddisk0/condaenvironment/lib/python3.11/site-packages/starlette/middleware/base.py", line 191, in __call__ | response = await self.dispatch_func(request, call_next) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/home/shudingcai/harddisk0/condaenvironment/lib/python3.11/site-packages/open_webui/main.py", line 901, in inspect_websocket | return await call_next(request) | ^^^^^^^^^^^^^^^^^^^^^^^^ | File "/home/shudingcai/harddisk0/condaenvironment/lib/python3.11/site-packages/starlette/middleware/base.py", line 165, in call_next | raise app_exc | File "/home/shudingcai/harddisk0/condaenvironment/lib/python3.11/site-packages/starlette/middleware/base.py", line 151, in coro | await self.app(scope, receive_or_disconnect, send_no_error) | File "/home/shudingcai/harddisk0/condaenvironment/lib/python3.11/site-packages/starlette/middleware/base.py", line 189, in __call__ | with collapse_excgroups(): | File "/home/shudingcai/harddisk0/condaenvironment/lib/python3.11/contextlib.py", line 158, in __exit__ | self.gen.throw(typ, value, traceback) | File "/home/shudingcai/harddisk0/condaenvironment/lib/python3.11/site-packages/starlette/_utils.py", line 93, in collapse_excgroups | raise exc | File "/home/shudingcai/harddisk0/condaenvironment/lib/python3.11/site-packages/starlette/middleware/base.py", line 191, in __call__ | response = await self.dispatch_func(request, call_next) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/home/shudingcai/harddisk0/condaenvironment/lib/python3.11/site-packages/open_webui/main.py", line 880, in update_embedding_function | response = await call_next(request) | ^^^^^^^^^^^^^^^^^^^^^^^^ | File "/home/shudingcai/harddisk0/condaenvironment/lib/python3.11/site-packages/starlette/middleware/base.py", line 165, in call_next | raise app_exc | File "/home/shudingcai/harddisk0/condaenvironment/lib/python3.11/site-packages/starlette/middleware/base.py", line 151, in coro | await self.app(scope, receive_or_disconnect, send_no_error) | File "/home/shudingcai/harddisk0/condaenvironment/lib/python3.11/site-packages/starlette/middleware/base.py", line 189, in __call__ | with collapse_excgroups(): | File "/home/shudingcai/harddisk0/condaenvironment/lib/python3.11/contextlib.py", line 158, in __exit__ | self.gen.throw(typ, value, traceback) | File "/home/shudingcai/harddisk0/condaenvironment/lib/python3.11/site-packages/starlette/_utils.py", line 93, in collapse_excgroups | raise exc | File "/home/shudingcai/harddisk0/condaenvironment/lib/python3.11/site-packages/starlette/middleware/base.py", line 191, in __call__ | response = await self.dispatch_func(request, call_next) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/home/shudingcai/harddisk0/condaenvironment/lib/python3.11/site-packages/open_webui/main.py", line 871, in check_url | response = await call_next(request) | ^^^^^^^^^^^^^^^^^^^^^^^^ | File "/home/shudingcai/harddisk0/condaenvironment/lib/python3.11/site-packages/starlette/middleware/base.py", line 166, in call_next | raise RuntimeError("No response returned.") | RuntimeError: No response returned. +------------------------------------ During handling of the above exception, another exception occurred:
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#2585