0% found this document useful (0 votes)
11 views4 pages

Open WebUI Listener Error Logs

The log details the operation of a daemon generating UUIDs and reports multiple AppArmor denials for a Python process related to the 'snap.open-webui.listener'. An internal server error occurred during a POST request, leading to an exception in the ASGI application, specifically an AttributeError indicating a missing 'RAG_OPENAI_API_KEY' in the application state. The log captures the traceback of the error, highlighting the failure in handling requests and middleware interactions.

Uploaded by

vsnl2016
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views4 pages

Open WebUI Listener Error Logs

The log details the operation of a daemon generating UUIDs and reports multiple AppArmor denials for a Python process related to the 'snap.open-webui.listener'. An internal server error occurred during a POST request, leading to an exception in the ASGI application, specifically an AttributeError indicating a missing 'RAG_OPENAI_API_KEY' in the application state. The log captures the traceback of the error, highlighting the failure in handling requests and middleware interactions.

Uploaded by

vsnl2016
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

Apr 8 10:34:13 ubuntugpu systemd[1]: Started Daemon for generating UUIDs.

Apr 8 10:34:13 ubuntugpu kernel: [ 1375.687270] audit: type=1400


audit(1744088653.499:57): apparmor="DENIED" operation="mknod" profile="[Link]-
[Link]" name="/dev/shm/sem.muW6aQ" pid=1303 comm="python3"
requested_mask="c" denied_mask="c" fsuid=0 ouid=0
Apr 8 10:34:13 ubuntugpu kernel: [ 1375.688332] audit: type=1400
audit(1744088653.499:58): apparmor="DENIED" operation="open" profile="[Link]-
[Link]" name="/sys/fs/cgroup/cpu,cpuacct/[Link]/cpu.cfs_quota_us"
pid=1303 comm="python3" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Apr 8 10:34:13 ubuntugpu kernel: [ 1375.688335] audit: type=1400
audit(1744088653.499:59): apparmor="DENIED" operation="open" profile="[Link]-
[Link]" name="/sys/fs/cgroup/cpu,cpuacct/[Link]/cpu.cfs_period_us"
pid=1303 comm="python3" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Apr 8 10:34:15 ubuntugpu [Link][1303]: #015Batches: 0%| |
0/1 [00:00<?, ?it/s]#015Batches: 100%|██████████| 1/1
[00:02<00:00, 2.29s/it]#015Batches: 100%|██████████| 1/1
[00:02<00:00, 2.29s/it]
Apr 8 10:34:15 ubuntugpu [Link][1303]: INFO: [Link]:50203 -
"POST /rag/api/v1/doc HTTP/1.1" 200 OK
Apr 8 10:34:31 ubuntugpu [Link][1303]: INFO: [Link]:50213 -
"POST /ollama/api/chat HTTP/1.1" 500 Internal Server Error
Apr 8 10:34:31 ubuntugpu [Link][1303]: ERROR: Exception in ASGI
application
Apr 8 10:34:31 ubuntugpu [Link][1303]: + Exception Group Traceback
(most recent call last):
Apr 8 10:34:31 ubuntugpu [Link][1303]: | File
"/snap/open-webui/7/lib/python3.10/site-packages/starlette/_utils.py", line 87, in
collapse_excgroups
Apr 8 10:34:31 ubuntugpu [Link][1303]: | yield
Apr 8 10:34:31 ubuntugpu [Link][1303]: | File
"/snap/open-webui/7/lib/python3.10/site-packages/starlette/middleware/[Link]",
line 190, in __call__
Apr 8 10:34:31 ubuntugpu [Link][1303]: | async with
anyio.create_task_group() as task_group:
Apr 8 10:34:31 ubuntugpu [Link][1303]: | File
"/snap/open-webui/7/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line
678, in __aexit__
Apr 8 10:34:31 ubuntugpu [Link][1303]: | raise
BaseExceptionGroup(
Apr 8 10:34:31 ubuntugpu [Link][1303]: |
[Link]: unhandled errors in a TaskGroup (1 sub-exception)
Apr 8 10:34:31 ubuntugpu [Link][1303]: +-+---------------- 1
----------------
Apr 8 10:34:31 ubuntugpu [Link][1303]: | Traceback (most recent
call last):
Apr 8 10:34:31 ubuntugpu [Link][1303]: | File "/snap/open-
webui/7/lib/python3.10/site-packages/uvicorn/protocols/http/httptools_impl.py",
line 411, in run_asgi
Apr 8 10:34:31 ubuntugpu [Link][1303]: | result = await app(
# type: ignore[func-returns-value]
Apr 8 10:34:31 ubuntugpu [Link][1303]: | File "/snap/open-
webui/7/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 69,
in __call__
Apr 8 10:34:31 ubuntugpu [Link][1303]: | return await
[Link](scope, receive, send)
Apr 8 10:34:31 ubuntugpu [Link][1303]: | File "/snap/open-
webui/7/lib/python3.10/site-packages/fastapi/[Link]", line 1054, in
__call__
Apr 8 10:34:31 ubuntugpu [Link][1303]: | await
super().__call__(scope, receive, send)
Apr 8 10:34:31 ubuntugpu [Link][1303]: | File "/snap/open-
webui/7/lib/python3.10/site-packages/starlette/[Link]", line 123, in
__call__
Apr 8 10:34:31 ubuntugpu [Link][1303]: | await
self.middleware_stack(scope, receive, send)
Apr 8 10:34:31 ubuntugpu [Link][1303]: | File "/snap/open-
webui/7/lib/python3.10/site-packages/starlette/middleware/[Link]", line 186, in
__call__
Apr 8 10:34:31 ubuntugpu [Link][1303]: | raise exc
Apr 8 10:34:31 ubuntugpu [Link][1303]: | File "/snap/open-
webui/7/lib/python3.10/site-packages/starlette/middleware/[Link]", line 164, in
__call__
Apr 8 10:34:31 ubuntugpu [Link][1303]: | await
[Link](scope, receive, _send)
Apr 8 10:34:31 ubuntugpu [Link][1303]: | File "/snap/open-
webui/7/lib/python3.10/site-packages/starlette/middleware/[Link]", line 189, in
__call__
Apr 8 10:34:31 ubuntugpu [Link][1303]: | with
collapse_excgroups():
Apr 8 10:34:31 ubuntugpu [Link][1303]: | File
"/usr/lib/python3.10/[Link]", line 153, in __exit__
Apr 8 10:34:31 ubuntugpu [Link][1303]: | [Link](typ,
value, traceback)
Apr 8 10:34:31 ubuntugpu [Link][1303]: | File "/snap/open-
webui/7/lib/python3.10/site-packages/starlette/_utils.py", line 93, in
collapse_excgroups
Apr 8 10:34:31 ubuntugpu [Link][1303]: | raise exc
Apr 8 10:34:31 ubuntugpu [Link][1303]: | File "/snap/open-
webui/7/lib/python3.10/site-packages/starlette/middleware/[Link]", line 191, in
__call__
Apr 8 10:34:31 ubuntugpu [Link][1303]: | response = await
self.dispatch_func(request, call_next)
Apr 8 10:34:31 ubuntugpu [Link][1303]: | File "/snap/open-
webui/7/backend/[Link]", line 164, in check_url
Apr 8 10:34:31 ubuntugpu [Link][1303]: | response = await
call_next(request)
Apr 8 10:34:31 ubuntugpu [Link][1303]: | File "/snap/open-
webui/7/lib/python3.10/site-packages/starlette/middleware/[Link]", line 165, in
call_next
Apr 8 10:34:31 ubuntugpu [Link][1303]: | raise app_exc
Apr 8 10:34:31 ubuntugpu [Link][1303]: | File "/snap/open-
webui/7/lib/python3.10/site-packages/starlette/middleware/[Link]", line 151, in
coro
Apr 8 10:34:31 ubuntugpu [Link][1303]: | await
[Link](scope, receive_or_disconnect, send_no_error)
Apr 8 10:34:31 ubuntugpu [Link][1303]: | File "/snap/open-
webui/7/lib/python3.10/site-packages/starlette/middleware/[Link]", line 93, in
__call__
Apr 8 10:34:31 ubuntugpu [Link][1303]: | await
self.simple_response(scope, receive, send, request_headers=headers)
Apr 8 10:34:31 ubuntugpu [Link][1303]: | File "/snap/open-
webui/7/lib/python3.10/site-packages/starlette/middleware/[Link]", line 148, in
simple_response
Apr 8 10:34:31 ubuntugpu [Link][1303]: | await
[Link](scope, receive, send)
Apr 8 10:34:31 ubuntugpu [Link][1303]: | File "/snap/open-
webui/7/lib/python3.10/site-packages/starlette/middleware/[Link]", line 189, in
__call__
Apr 8 10:34:31 ubuntugpu [Link][1303]: | with
collapse_excgroups():
Apr 8 10:34:31 ubuntugpu [Link][1303]: | File
"/usr/lib/python3.10/[Link]", line 153, in __exit__
Apr 8 10:34:31 ubuntugpu [Link][1303]: | [Link](typ,
value, traceback)
Apr 8 10:34:31 ubuntugpu [Link][1303]: | File "/snap/open-
webui/7/lib/python3.10/site-packages/starlette/_utils.py", line 93, in
collapse_excgroups
Apr 8 10:34:31 ubuntugpu [Link][1303]: | raise exc
Apr 8 10:34:31 ubuntugpu [Link][1303]: | File "/snap/open-
webui/7/lib/python3.10/site-packages/starlette/middleware/[Link]", line 191, in
__call__
Apr 8 10:34:31 ubuntugpu [Link][1303]: | response = await
self.dispatch_func(request, call_next)
Apr 8 10:34:31 ubuntugpu [Link][1303]: | File "/snap/open-
webui/7/backend/[Link]", line 120, in dispatch
Apr 8 10:34:31 ubuntugpu [Link][1303]: |
rag_app.state.RAG_OPENAI_API_KEY,
Apr 8 10:34:31 ubuntugpu [Link][1303]: | File "/snap/open-
webui/7/lib/python3.10/site-packages/starlette/[Link]", line 702, in
__getattr__
Apr 8 10:34:31 ubuntugpu [Link][1303]: | raise
AttributeError([Link](self.__class__.__name__, key))
Apr 8 10:34:31 ubuntugpu [Link][1303]: | AttributeError: 'State'
object has no attribute 'RAG_OPENAI_API_KEY'
Apr 8 10:34:31 ubuntugpu [Link][1303]:
+------------------------------------
Apr 8 10:34:31 ubuntugpu [Link][1303]: During handling of the above
exception, another exception occurred:
Apr 8 10:34:31 ubuntugpu [Link][1303]: Traceback (most recent call
last):
Apr 8 10:34:31 ubuntugpu [Link][1303]: File
"/snap/open-webui/7/lib/python3.10/site-packages/uvicorn/protocols/http/
httptools_impl.py", line 411, in run_asgi
Apr 8 10:34:31 ubuntugpu [Link][1303]: result = await app( #
type: ignore[func-returns-value]
Apr 8 10:34:31 ubuntugpu [Link][1303]: File
"/snap/open-webui/7/lib/python3.10/site-packages/uvicorn/middleware/
proxy_headers.py", line 69, in __call__
Apr 8 10:34:31 ubuntugpu [Link][1303]: return await
[Link](scope, receive, send)
Apr 8 10:34:31 ubuntugpu [Link][1303]: File
"/snap/open-webui/7/lib/python3.10/site-packages/fastapi/[Link]", line
1054, in __call__
Apr 8 10:34:31 ubuntugpu [Link][1303]: await
super().__call__(scope, receive, send)
Apr 8 10:34:31 ubuntugpu [Link][1303]: File
"/snap/open-webui/7/lib/python3.10/site-packages/starlette/[Link]", line
123, in __call__
Apr 8 10:34:31 ubuntugpu [Link][1303]: await
self.middleware_stack(scope, receive, send)
Apr 8 10:34:31 ubuntugpu [Link][1303]: File
"/snap/open-webui/7/lib/python3.10/site-packages/starlette/middleware/[Link]",
line 186, in __call__
Apr 8 10:34:31 ubuntugpu [Link][1303]: raise exc
Apr 8 10:34:31 ubuntugpu [Link][1303]: File
"/snap/open-webui/7/lib/python3.10/site-packages/starlette/middleware/[Link]",
line 164, in __call__
Apr 8 10:34:31 ubuntugpu [Link][1303]: await [Link](scope,
receive, _send)
Apr 8 10:34:31 ubuntugpu [Link][1303]: File
"/snap/open-webui/7/lib/python3.10/site-packages/starlette/middleware/[Link]",
line 189, in __call__
Apr 8 10:34:31 ubuntugpu [Link][1303]: with collapse_excgroups():
Apr 8 10:34:31 ubuntugpu [Link][1303]: File
"/usr/lib/python3.10/[Link]", line 153, in __exit__
Apr 8 10:34:31 ubuntugpu [Link][1303]: [Link](typ, value,
traceback)
Apr 8 10:34:31 ubuntugpu [Link][1303]: File
"/snap/open-webui/7/lib/python3.10/site-packages/starlette/_utils.py", line 93, in
collapse_excgroups
Apr 8 10:34:31 ubuntugpu [Link][1303]: raise exc
Apr 8 10:34:31 ubuntugpu [Link][1303]: File
"/snap/open-webui/7/lib/python3.10/site-packages/starlette/middleware/[Link]",
line 191, in __call__
Apr 8 10:34:31 ubuntugpu [Link][1303]: response = await
self.dispatch_func(request, call_next)
Apr 8 10:34:31 ubuntugpu [Link][1303]: File
"/snap/open-webui/7/backend/[Link]", line 164, in check_url
Apr 8 10:34:31 ubuntugpu [Link][1303]: response = await
call_next(request)
Apr 8 10:34:31 ubuntugpu [Link][1303]: File
"/snap/open-webui/7/lib/python3.10/site-packages/starlette/middleware/[Link]",
line 165, in call_next
Apr 8 10:34:31 ubuntugpu [Link][1303]: raise app_exc
exit

You might also like