mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 11:28:35 -05:00
[GH-ISSUE #8065] Image Generation Error: get_automatic1111_api_auth() missing 1 required positional argument: 'request' #14983
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 @misterjice on GitHub (Dec 25, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/8065
Installation Method
Docker
Environment
Open WebUI Version: 0.5.0
Ollama (if applicable): 0.5.4
Operating System: Windows 11
Browser (if applicable): Brave
Confirmation:
Expected Behavior:
I expect to be able to connect to the automatic1111 server and generate images in OpenWebUI
Actual Behavior:
I'm getting an error: [ERROR: get_automatic1111_api_auth() missing 1 required positional argument: 'request']
Image generation button is no longer available in chats.
Description
Bug Summary:
Merry Christmas and thank you for the update.
I cannot connect to the server. Also, after last update, models were not automatically generating images as they saw fit, I had to press the button. Now, no button even... Images do not seem to work at all. My server is up and running and I've tested it in the automatic1111 GUI.
Also of note, I'm getting these errors in my docker logs:
I'm confident the first error relates to the bug. It seems to be looking for images in OpenWebUI instead of Automatic1111? And the second WebSocket error is similar to the first error. While I'm not sure if it is related to the bug, I think it's something you may want to be aware of.
Reproduction Details
Steps to Reproduce:
Go to bottom-left UserName -> Settings -> Admin Settings -> Images
Toggle Image Generation (Experimental)
(sever address is same as before)
Get error pop-up: [ERROR: get_automatic1111_api_auth() missing 1 required positional argument: 'request']
Logs and Screenshots
Browser Console Logs:
Backend config: {status: true, name: 'Open WebUI', version: '0.5.0', default_locale: '', oauth: {…}, …}
+layout.svelte:66 connected K1njgh9Xvnd8rAVfAAAD
+layout.svelte:85 user-count {count: 1}
+layout.svelte:90 usage {models: Array(0)}
+layout.svelte:85 user-count {count: 1}
+layout.svelte:85 user-count {count: 1}
+layout.svelte:90 usage {models: Array(0)}
Images.svelte:204 {type: 'prompt', key: 'text', node_ids: Array(0)}
Images.svelte:204 {type: 'model', key: 'ckpt_name', node_ids: Array(0)}
Images.svelte:204 {type: 'width', key: 'width', node_ids: Array(0)}
Images.svelte:204 {type: 'height', key: 'height', node_ids: Array(0)}
Images.svelte:204 {type: 'steps', key: 'steps', node_ids: Array(0)}
Images.svelte:204 {type: 'seed', key: 'seed', node_ids: Array(0)}
index.ts:170
window.fetch @ fetcher.js:76
p @ index.ts:170
E @ Images.svelte:101
w @ Images.svelte:124
await in w
y @ Images.svelte:267
(anonymous) @ lifecycle.js:105
(anonymous) @ lifecycle.js:104
n.$$.update @ Switch.svelte:8
dt @ scheduler.js:115
_t @ scheduler.js:79
Promise.then
ut @ scheduler.js:20
ht @ Component.js:81
(anonymous) @ Component.js:139
T @ Images.svelte:244
Me @ Images.svelte:287
(anonymous) @ Component.js:138
l @ Switch.svelte:12
i @ switch-thumb.svelte:12
(anonymous) @ Component.js:138
onCheckedChange @ switch.svelte:29
(anonymous) @ overridable.js:9
f @ index.js:69
r @ overridable.js:5
r @ create.js:21
(anonymous) @ create.js:38
(anonymous) @ event.js:23
(anonymous) @ event.js:51
index.ts:183 {detail: "[ERROR: get_automatic1111_api_auth() missing 1 required positional argument: 'request']"}
index.ts:137
window.fetch @ fetcher.js:76
f @ index.ts:137
I @ Images.svelte:167
await in I
(anonymous) @ Images.svelte:228
(anonymous) @ dom.js:371
index.ts:151 SyntaxError: Unexpected token 'I', "Internal S"... is not valid JSON
index.ts:170
window.fetch @ fetcher.js:76
p @ index.ts:170
E @ Images.svelte:101
I @ Images.svelte:173
await in I
(anonymous) @ Images.svelte:228
(anonymous) @ dom.js:371
index.ts:183 {detail: "[ERROR: get_automatic1111_api_auth() missing 1 required positional argument: 'request']"}
Docker Container Logs:
2024-12-25 14:13:44
2024-12-25 14:13:44 ___ __ __ _ _ _ ___
2024-12-25 14:13:44 / _ \ _ __ ___ _ __ \ \ / /| | | | | |_ |
2024-12-25 14:13:44 | | | | ' \ / _ \ '_ \ \ \ /\ / / _ \ '_ | | | || |
2024-12-25 14:13:44 | || | |) | / | | | \ V V / / |) | || || |
2024-12-25 14:13:44 _/| ./ _|| || _/_/ _|./ _/|_|
2024-12-25 14:13:44 ||
2024-12-25 14:13:44
2024-12-25 14:13:44
2024-12-25 14:13:44 v0.5.0 - building the best open-source AI user interface.
2024-12-25 14:13:44
2024-12-25 14:13:44 https://github.com/open-webui/open-webui
2024-12-25 14:13:44
2024-12-25 14:13:44
Fetching 13 files: 0%| | 0/13 [00:00<?, ?it/s]
Fetching 13 files: 100%|██████████| 13/13 [00:00<00:00, 299593.14it/s]
2024-12-25 14:13:45 INFO: Started server process [1]
2024-12-25 14:13:45 INFO: Waiting for application startup.
2024-12-25 14:13:45 INFO: Application startup complete.
2024-12-25 14:13:45 INFO: Uvicorn running on http://0.0.0.0:8080 (Press CTRL+C to quit)
2024-12-25 14:13:46 INFO: ('172.17.0.1', 34242) - "WebSocket /ws/socket.io/?EIO=4&transport=websocket" [accepted]
2024-12-25 14:13:46 INFO: connection open
2024-12-25 14:13:46 INFO: 172.17.0.1:34248 - "GET /admin/settings HTTP/1.1" 304 Not Modified
2024-12-25 14:13:46 INFO: 172.17.0.1:34248 - "GET /api/config HTTP/1.1" 200 OK
2024-12-25 14:13:46 INFO: 172.17.0.1:34262 - "GET /static/favicon.png HTTP/1.1" 200 OK
2024-12-25 14:13:46 INFO: ('172.17.0.1', 34266) - "WebSocket /ws/socket.io/?EIO=4&transport=websocket" [accepted]
2024-12-25 14:13:46 INFO: connection open
2024-12-25 14:13:46 INFO: 172.17.0.1:34262 - "GET /api/v1/auths/ HTTP/1.1" 200 OK
2024-12-25 14:13:46 INFO: 172.17.0.1:34262 - "GET /api/config HTTP/1.1" 200 OK
2024-12-25 14:13:46 INFO: 172.17.0.1:34262 - "GET /api/changelog HTTP/1.1" 200 OK
2024-12-25 14:13:46 INFO: 172.17.0.1:34248 - "GET /api/v1/users/user/settings HTTP/1.1" 200 OK
2024-12-25 14:13:46 INFO [open_webui.routers.ollama] get_all_models()
2024-12-25 14:13:46 INFO [open_webui.utils.plugin] Loaded module: function_intelligent_llm_v2
2024-12-25 14:13:46 Erreur lors de l'entraînement des systèmes: name 'pd' is not defined
2024-12-25 14:13:46 Erreur lors de l'entraînement des systèmes: name 'pd' is not defined
2024-12-25 14:13:46 INFO: 172.17.0.1:34248 - "GET /api/models HTTP/1.1" 200 OK
2024-12-25 14:13:46 INFO: 172.17.0.1:34248 - "GET /api/v1/configs/banners HTTP/1.1" 200 OK
2024-12-25 14:13:46 INFO: 172.17.0.1:34248 - "GET /api/v1/tools/ HTTP/1.1" 200 OK
2024-12-25 14:13:46 INFO: 172.17.0.1:34262 - "GET /api/v1/channels/ HTTP/1.1" 200 OK
2024-12-25 14:13:46 INFO: 172.17.0.1:34304 - "GET /static/favicon.png HTTP/1.1" 304 Not Modified
2024-12-25 14:13:46 INFO: 172.17.0.1:34274 - "GET /api/v1/auths/admin/config HTTP/1.1" 200 OK
2024-12-25 14:13:46 INFO: 172.17.0.1:34294 - "GET /api/v1/auths/admin/config/ldap/server HTTP/1.1" 200 OK
2024-12-25 14:13:46 INFO: 172.17.0.1:34284 - "GET /api/webhook HTTP/1.1" 200 OK
2024-12-25 14:13:46 INFO: 172.17.0.1:34274 - "GET /api/v1/chats/all/tags HTTP/1.1" 200 OK
2024-12-25 14:13:46 INFO: 172.17.0.1:34284 - "GET /api/v1/auths/admin/config/ldap HTTP/1.1" 200 OK
2024-12-25 14:13:46 INFO: 172.17.0.1:34284 - "GET /api/v1/chats/pinned HTTP/1.1" 200 OK
2024-12-25 14:13:46 INFO: 172.17.0.1:34284 - "GET /api/v1/folders/ HTTP/1.1" 200 OK
2024-12-25 14:13:46 INFO: 172.17.0.1:34274 - "GET /api/v1/chats/?page=1 HTTP/1.1" 200 OK
2024-12-25 14:13:46 INFO: 172.17.0.1:34248 - "GET /api/version/updates HTTP/1.1" 200 OK
2024-12-25 14:13:47 INFO: 172.17.0.1:34248 - "GET /api/v1/chats/?page=2 HTTP/1.1" 200 OK
2024-12-25 14:13:50 INFO: ('172.17.0.1', 34320) - "WebSocket /ws/socket.io/?EIO=4&transport=websocket" [accepted]
2024-12-25 14:13:50 INFO: connection open
2024-12-25 14:13:52 INFO: 172.17.0.1:34248 - "GET /api/v1/images/config HTTP/1.1" 200 OK
2024-12-25 14:13:52 INFO: 172.17.0.1:34248 - "GET /api/v1/images/image/config HTTP/1.1" 200 OK
2024-12-25 14:13:52 Invalid transport (further occurrences of this error will be logged with level INFO)
2024-12-25 14:13:52 ERROR [engineio.server] Invalid transport (further occurrences of this error will be logged with level INFO)
2024-12-25 14:13:52 INFO: 172.17.0.1:34248 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_T4b1 HTTP/1.1" 400 Bad Request
2024-12-25 14:13:56 INFO [open_webui.env] Saving 'IMAGE_GENERATION_ENGINE' to the database
2024-12-25 14:13:56 INFO [open_webui.env] Saving 'ENABLE_IMAGE_GENERATION' to the database
2024-12-25 14:13:56 INFO [open_webui.env] Saving 'IMAGES_OPENAI_API_BASE_URL' to the database
2024-12-25 14:13:56 INFO [open_webui.env] Saving 'IMAGES_OPENAI_API_KEY' to the database
2024-12-25 14:13:56 INFO [open_webui.env] Saving 'AUTOMATIC1111_BASE_URL' to the database
2024-12-25 14:13:56 INFO [open_webui.env] Saving 'AUTOMATIC1111_API_AUTH' to the database
2024-12-25 14:13:56 INFO [open_webui.env] Saving 'AUTOMATIC1111_CFG_SCALE' to the database
2024-12-25 14:13:56 INFO [open_webui.env] Saving 'AUTOMATIC1111_SAMPLER' to the database
2024-12-25 14:13:56 INFO [open_webui.env] Saving 'AUTOMATIC1111_SCHEDULER' to the database
2024-12-25 14:13:56 INFO [open_webui.env] Saving 'COMFYUI_BASE_URL' to the database
2024-12-25 14:13:56 INFO [open_webui.env] Saving 'COMFYUI_WORKFLOW' to the database
2024-12-25 14:13:56 INFO [open_webui.env] Saving 'COMFYUI_WORKFLOW' to the database
2024-12-25 14:13:56 INFO: 172.17.0.1:34248 - "POST /api/v1/images/config/update HTTP/1.1" 200 OK
2024-12-25 14:13:56 INFO: 172.17.0.1:34248 - "GET /api/config HTTP/1.1" 200 OK
2024-12-25 14:13:56 INFO [open_webui.env] Saving 'ENABLE_IMAGE_GENERATION' to the database
2024-12-25 14:13:56 INFO: 172.17.0.1:34248 - "GET /api/v1/images/models HTTP/1.1" 400 Bad Request
2024-12-25 14:13:58 INFO: 172.17.0.1:34248 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_T62- HTTP/1.1" 400 Bad Request
2024-12-25 14:14:01 INFO [open_webui.env] Saving 'IMAGE_GENERATION_ENGINE' to the database
2024-12-25 14:14:01 INFO [open_webui.env] Saving 'ENABLE_IMAGE_GENERATION' to the database
2024-12-25 14:14:01 INFO [open_webui.env] Saving 'IMAGES_OPENAI_API_BASE_URL' to the database
2024-12-25 14:14:01 INFO [open_webui.env] Saving 'IMAGES_OPENAI_API_KEY' to the database
2024-12-25 14:14:01 INFO [open_webui.env] Saving 'AUTOMATIC1111_BASE_URL' to the database
2024-12-25 14:14:01 INFO [open_webui.env] Saving 'AUTOMATIC1111_API_AUTH' to the database
2024-12-25 14:14:01 INFO [open_webui.env] Saving 'AUTOMATIC1111_CFG_SCALE' to the database
2024-12-25 14:14:01 INFO [open_webui.env] Saving 'AUTOMATIC1111_SAMPLER' to the database
2024-12-25 14:14:01 INFO [open_webui.env] Saving 'AUTOMATIC1111_SCHEDULER' to the database
2024-12-25 14:14:01 INFO [open_webui.env] Saving 'COMFYUI_BASE_URL' to the database
2024-12-25 14:14:01 INFO [open_webui.env] Saving 'COMFYUI_WORKFLOW' to the database
2024-12-25 14:14:01 INFO [open_webui.env] Saving 'COMFYUI_WORKFLOW' to the database
2024-12-25 14:14:01 INFO: 172.17.0.1:34248 - "POST /api/v1/images/config/update HTTP/1.1" 200 OK
2024-12-25 14:14:01 INFO [open_webui.routers.images] Setting image model to sd\epicrealism_naturalSinRC1VAE.safetensors [84d76a0328]
2024-12-25 14:14:01 INFO [open_webui.env] Saving 'IMAGE_GENERATION_MODEL' to the database
2024-12-25 14:14:01 INFO: 172.17.0.1:34248 - "POST /api/v1/images/image/config/update HTTP/1.1" 500 Internal Server Error
2024-12-25 14:14:01 ERROR: Exception in ASGI application
2024-12-25 14:14:01 + Exception Group Traceback (most recent call last):
2024-12-25 14:14:01 | File "/usr/local/lib/python3.11/site-packages/starlette/_utils.py", line 87, in collapse_excgroups
2024-12-25 14:14:01 | yield
2024-12-25 14:14:01 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 190, in call
2024-12-25 14:14:01 | async with anyio.create_task_group() as task_group:
2024-12-25 14:14:01 | File "/usr/local/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 815, in aexit
2024-12-25 14:14:01 | raise BaseExceptionGroup(
2024-12-25 14:14:01 | ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)
2024-12-25 14:14:01 +-+---------------- 1 ----------------
2024-12-25 14:14:01 | Traceback (most recent call last):
2024-12-25 14:14:01 | File "/usr/local/lib/python3.11/site-packages/uvicorn/protocols/http/httptools_impl.py", line 401, in run_asgi
2024-12-25 14:14:01 | result = await app( # type: ignore[func-returns-value]
2024-12-25 14:14:01 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-12-25 14:14:01 | File "/usr/local/lib/python3.11/site-packages/uvicorn/middleware/proxy_headers.py", line 70, in call
2024-12-25 14:14:01 | return await self.app(scope, receive, send)
2024-12-25 14:14:01 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-12-25 14:14:01 | File "/usr/local/lib/python3.11/site-packages/fastapi/applications.py", line 1054, in call
2024-12-25 14:14:01 | await super().call(scope, receive, send)
2024-12-25 14:14:01 | File "/usr/local/lib/python3.11/site-packages/starlette/applications.py", line 123, in call
2024-12-25 14:14:01 | await self.middleware_stack(scope, receive, send)
2024-12-25 14:14:01 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/errors.py", line 186, in call
2024-12-25 14:14:01 | raise exc
2024-12-25 14:14:01 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/errors.py", line 164, in call
2024-12-25 14:14:01 | await self.app(scope, receive, _send)
2024-12-25 14:14:01 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/cors.py", line 93, in call
2024-12-25 14:14:01 | await self.simple_response(scope, receive, send, request_headers=headers)
2024-12-25 14:14:01 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/cors.py", line 148, in simple_response
2024-12-25 14:14:01 | await self.app(scope, receive, send)
2024-12-25 14:14:01 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 189, in call
2024-12-25 14:14:01 | with collapse_excgroups():
2024-12-25 14:14:01 | File "/usr/local/lib/python3.11/contextlib.py", line 158, in exit
2024-12-25 14:14:01 | self.gen.throw(typ, value, traceback)
2024-12-25 14:14:01 | File "/usr/local/lib/python3.11/site-packages/starlette/_utils.py", line 93, in collapse_excgroups
2024-12-25 14:14:01 | raise exc
2024-12-25 14:14:01 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 191, in call
2024-12-25 14:14:01 | response = await self.dispatch_func(request, call_next)
2024-12-25 14:14:01 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-12-25 14:14:01 | File "/app/backend/open_webui/main.py", line 716, in inspect_websocket
2024-12-25 14:14:01 | return await call_next(request)
2024-12-25 14:14:01 | ^^^^^^^^^^^^^^^^^^^^^^^^
2024-12-25 14:14:01 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 165, in call_next
2024-12-25 14:14:01 | raise app_exc
2024-12-25 14:14:01 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 151, in coro
2024-12-25 14:14:01 | await self.app(scope, receive_or_disconnect, send_no_error)
2024-12-25 14:14:01 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 189, in call
2024-12-25 14:14:01 | with collapse_excgroups():
2024-12-25 14:14:01 | File "/usr/local/lib/python3.11/contextlib.py", line 158, in exit
2024-12-25 14:14:01 | self.gen.throw(typ, value, traceback)
2024-12-25 14:14:01 | File "/usr/local/lib/python3.11/site-packages/starlette/_utils.py", line 93, in collapse_excgroups
2024-12-25 14:14:01 | raise exc
2024-12-25 14:14:01 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 191, in call
2024-12-25 14:14:01 | response = await self.dispatch_func(request, call_next)
2024-12-25 14:14:01 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-12-25 14:14:01 | File "/app/backend/open_webui/main.py", line 695, in check_url
2024-12-25 14:14:01 | response = await call_next(request)
2024-12-25 14:14:01 | ^^^^^^^^^^^^^^^^^^^^^^^^
2024-12-25 14:14:01 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 165, in call_next
2024-12-25 14:14:01 | raise app_exc
2024-12-25 14:14:01 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 151, in coro
2024-12-25 14:14:01 | await self.app(scope, receive_or_disconnect, send_no_error)
2024-12-25 14:14:01 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 189, in call
2024-12-25 14:14:01 | with collapse_excgroups():
2024-12-25 14:14:01 | File "/usr/local/lib/python3.11/contextlib.py", line 158, in exit
2024-12-25 14:14:01 | self.gen.throw(typ, value, traceback)
2024-12-25 14:14:01 | File "/usr/local/lib/python3.11/site-packages/starlette/_utils.py", line 93, in collapse_excgroups
2024-12-25 14:14:01 | raise exc
2024-12-25 14:14:01 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 191, in call
2024-12-25 14:14:01 | response = await self.dispatch_func(request, call_next)
2024-12-25 14:14:01 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-12-25 14:14:01 | File "/app/backend/open_webui/main.py", line 685, in commit_session_after_request
2024-12-25 14:14:01 | response = await call_next(request)
2024-12-25 14:14:01 | ^^^^^^^^^^^^^^^^^^^^^^^^
2024-12-25 14:14:01 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 165, in call_next
2024-12-25 14:14:01 | raise app_exc
2024-12-25 14:14:01 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 151, in coro
2024-12-25 14:14:01 | await self.app(scope, receive_or_disconnect, send_no_error)
2024-12-25 14:14:01 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 189, in call
2024-12-25 14:14:01 | with collapse_excgroups():
2024-12-25 14:14:01 | File "/usr/local/lib/python3.11/contextlib.py", line 158, in exit
2024-12-25 14:14:01 | self.gen.throw(typ, value, traceback)
2024-12-25 14:14:01 | File "/usr/local/lib/python3.11/site-packages/starlette/_utils.py", line 93, in collapse_excgroups
2024-12-25 14:14:01 | raise exc
2024-12-25 14:14:01 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 191, in call
2024-12-25 14:14:01 | response = await self.dispatch_func(request, call_next)
2024-12-25 14:14:01 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-12-25 14:14:01 | File "/app/backend/open_webui/utils/security_headers.py", line 11, in dispatch
2024-12-25 14:14:01 | response = await call_next(request)
2024-12-25 14:14:01 | ^^^^^^^^^^^^^^^^^^^^^^^^
2024-12-25 14:14:01 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 165, in call_next
2024-12-25 14:14:01 | raise app_exc
2024-12-25 14:14:01 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 151, in coro
2024-12-25 14:14:01 | await self.app(scope, receive_or_disconnect, send_no_error)
2024-12-25 14:14:01 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 189, in call
2024-12-25 14:14:01 | with collapse_excgroups():
2024-12-25 14:14:01 | File "/usr/local/lib/python3.11/contextlib.py", line 158, in exit
2024-12-25 14:14:01 | self.gen.throw(typ, value, traceback)
2024-12-25 14:14:01 | File "/usr/local/lib/python3.11/site-packages/starlette/_utils.py", line 93, in collapse_excgroups
2024-12-25 14:14:01 | raise exc
2024-12-25 14:14:01 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 191, in call
2024-12-25 14:14:01 | response = await self.dispatch_func(request, call_next)
2024-12-25 14:14:01 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-12-25 14:14:01 | File "/app/backend/open_webui/main.py", line 674, in dispatch
2024-12-25 14:14:01 | response = await call_next(request)
2024-12-25 14:14:01 | ^^^^^^^^^^^^^^^^^^^^^^^^
2024-12-25 14:14:01 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 165, in call_next
2024-12-25 14:14:01 | raise app_exc
2024-12-25 14:14:01 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 151, in coro
2024-12-25 14:14:01 | await self.app(scope, receive_or_disconnect, send_no_error)
2024-12-25 14:14:01 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 65, in call
2024-12-25 14:14:01 | await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
2024-12-25 14:14:01 | File "/usr/local/lib/python3.11/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app
2024-12-25 14:14:01 | raise exc
2024-12-25 14:14:01 | File "/usr/local/lib/python3.11/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
2024-12-25 14:14:01 | await app(scope, receive, sender)
2024-12-25 14:14:01 | File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 756, in call
2024-12-25 14:14:01 | await self.middleware_stack(scope, receive, send)
2024-12-25 14:14:01 | File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 776, in app
2024-12-25 14:14:01 | await route.handle(scope, receive, send)
2024-12-25 14:14:01 | File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 297, in handle
2024-12-25 14:14:01 | await self.app(scope, receive, send)
2024-12-25 14:14:01 | File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 77, in app
2024-12-25 14:14:01 | await wrap_app_handling_exceptions(app, request)(scope, receive, send)
2024-12-25 14:14:01 | File "/usr/local/lib/python3.11/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app
2024-12-25 14:14:01 | raise exc
2024-12-25 14:14:01 | File "/usr/local/lib/python3.11/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
2024-12-25 14:14:01 | await app(scope, receive, sender)
2024-12-25 14:14:01 | File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 72, in app
2024-12-25 14:14:01 | response = await func(request)
2024-12-25 14:14:01 | ^^^^^^^^^^^^^^^^^^^
2024-12-25 14:14:01 | File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 278, in app
2024-12-25 14:14:01 | raw_response = await run_endpoint_function(
2024-12-25 14:14:01 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-12-25 14:14:01 | File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 191, in run_endpoint_function
2024-12-25 14:14:01 | return await dependant.call(**values)
2024-12-25 14:14:01 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-12-25 14:14:01 | File "/app/backend/open_webui/routers/images.py", line 268, in update_image_config
2024-12-25 14:14:01 | set_image_model(request, form_data.MODEL)
2024-12-25 14:14:01 | File "/app/backend/open_webui/routers/images.py", line 203, in set_image_model
2024-12-25 14:14:01 | api_auth = get_automatic1111_api_auth()
2024-12-25 14:14:01 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-12-25 14:14:01 | TypeError: get_automatic1111_api_auth() missing 1 required positional argument: 'request'
2024-12-25 14:14:01 +------------------------------------
2024-12-25 14:14:01
2024-12-25 14:14:01 During handling of the above exception, another exception occurred:
2024-12-25 14:14:01
2024-12-25 14:14:01 Traceback (most recent call last):
2024-12-25 14:14:01 File "/usr/local/lib/python3.11/site-packages/uvicorn/protocols/http/httptools_impl.py", line 401, in run_asgi
2024-12-25 14:14:01 result = await app( # type: ignore[func-returns-value]
2024-12-25 14:14:01 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-12-25 14:14:01 File "/usr/local/lib/python3.11/site-packages/uvicorn/middleware/proxy_headers.py", line 70, in call
2024-12-25 14:14:01 return await self.app(scope, receive, send)
2024-12-25 14:14:01 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-12-25 14:14:01 File "/usr/local/lib/python3.11/site-packages/fastapi/applications.py", line 1054, in call
2024-12-25 14:14:01 await super().call(scope, receive, send)
2024-12-25 14:14:01 File "/usr/local/lib/python3.11/site-packages/starlette/applications.py", line 123, in call
2024-12-25 14:14:01 await self.middleware_stack(scope, receive, send)
2024-12-25 14:14:01 File "/usr/local/lib/python3.11/site-packages/starlette/middleware/errors.py", line 186, in call
2024-12-25 14:14:01 raise exc
2024-12-25 14:14:01 File "/usr/local/lib/python3.11/site-packages/starlette/middleware/errors.py", line 164, in call
2024-12-25 14:14:01 await self.app(scope, receive, _send)
2024-12-25 14:14:01 File "/usr/local/lib/python3.11/site-packages/starlette/middleware/cors.py", line 93, in call
2024-12-25 14:14:01 await self.simple_response(scope, receive, send, request_headers=headers)
2024-12-25 14:14:01 File "/usr/local/lib/python3.11/site-packages/starlette/middleware/cors.py", line 148, in simple_response
2024-12-25 14:14:01 await self.app(scope, receive, send)
2024-12-25 14:14:01 File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 189, in call
2024-12-25 14:14:01 with collapse_excgroups():
2024-12-25 14:14:01 File "/usr/local/lib/python3.11/contextlib.py", line 158, in exit
2024-12-25 14:14:01 self.gen.throw(typ, value, traceback)
2024-12-25 14:14:01 File "/usr/local/lib/python3.11/site-packages/starlette/_utils.py", line 93, in collapse_excgroups
2024-12-25 14:14:01 raise exc
2024-12-25 14:14:01 File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 191, in call
2024-12-25 14:14:01 response = await self.dispatch_func(request, call_next)
2024-12-25 14:14:01 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-12-25 14:14:01 File "/app/backend/open_webui/main.py", line 716, in inspect_websocket
2024-12-25 14:14:01 return await call_next(request)
2024-12-25 14:14:01 ^^^^^^^^^^^^^^^^^^^^^^^^
2024-12-25 14:14:01 File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 165, in call_next
2024-12-25 14:14:01 raise app_exc
2024-12-25 14:14:01 File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 151, in coro
2024-12-25 14:14:01 await self.app(scope, receive_or_disconnect, send_no_error)
2024-12-25 14:14:01 File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 189, in call
2024-12-25 14:14:01 with collapse_excgroups():
2024-12-25 14:14:01 File "/usr/local/lib/python3.11/contextlib.py", line 158, in exit
2024-12-25 14:14:01 self.gen.throw(typ, value, traceback)
2024-12-25 14:14:01 File "/usr/local/lib/python3.11/site-packages/starlette/_utils.py", line 93, in collapse_excgroups
2024-12-25 14:14:01 raise exc
2024-12-25 14:14:01 File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 191, in call
2024-12-25 14:14:01 response = await self.dispatch_func(request, call_next)
2024-12-25 14:14:01 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-12-25 14:14:01 File "/app/backend/open_webui/main.py", line 695, in check_url
2024-12-25 14:14:01 response = await call_next(request)
2024-12-25 14:14:01 ^^^^^^^^^^^^^^^^^^^^^^^^
2024-12-25 14:14:01 File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 165, in call_next
2024-12-25 14:14:01 raise app_exc
2024-12-25 14:14:01 File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 151, in coro
2024-12-25 14:14:01 await self.app(scope, receive_or_disconnect, send_no_error)
2024-12-25 14:14:01 File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 189, in call
2024-12-25 14:14:01 with collapse_excgroups():
2024-12-25 14:14:01 File "/usr/local/lib/python3.11/contextlib.py", line 158, in exit
2024-12-25 14:14:01 self.gen.throw(typ, value, traceback)
2024-12-25 14:14:01 File "/usr/local/lib/python3.11/site-packages/starlette/_utils.py", line 93, in collapse_excgroups
2024-12-25 14:14:01 raise exc
2024-12-25 14:14:01 File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 191, in call
2024-12-25 14:14:01 response = await self.dispatch_func(request, call_next)
2024-12-25 14:14:01 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-12-25 14:14:01 File "/app/backend/open_webui/main.py", line 685, in commit_session_after_request
2024-12-25 14:14:01 response = await call_next(request)
2024-12-25 14:14:01 ^^^^^^^^^^^^^^^^^^^^^^^^
2024-12-25 14:14:01 File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 165, in call_next
2024-12-25 14:14:01 raise app_exc
2024-12-25 14:14:01 File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 151, in coro
2024-12-25 14:14:01 await self.app(scope, receive_or_disconnect, send_no_error)
2024-12-25 14:14:01 File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 189, in call
2024-12-25 14:14:01 with collapse_excgroups():
2024-12-25 14:14:01 File "/usr/local/lib/python3.11/contextlib.py", line 158, in exit
2024-12-25 14:14:01 self.gen.throw(typ, value, traceback)
2024-12-25 14:14:01 File "/usr/local/lib/python3.11/site-packages/starlette/_utils.py", line 93, in collapse_excgroups
2024-12-25 14:14:01 raise exc
2024-12-25 14:14:01 File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 191, in call
2024-12-25 14:14:01 response = await self.dispatch_func(request, call_next)
2024-12-25 14:14:01 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-12-25 14:14:01 File "/app/backend/open_webui/utils/security_headers.py", line 11, in dispatch
2024-12-25 14:14:01 response = await call_next(request)
2024-12-25 14:14:01 ^^^^^^^^^^^^^^^^^^^^^^^^
2024-12-25 14:14:01 File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 165, in call_next
2024-12-25 14:14:01 raise app_exc
2024-12-25 14:14:01 File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 151, in coro
2024-12-25 14:14:01 await self.app(scope, receive_or_disconnect, send_no_error)
2024-12-25 14:14:01 File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 189, in call
2024-12-25 14:14:01 with collapse_excgroups():
2024-12-25 14:14:01 File "/usr/local/lib/python3.11/contextlib.py", line 158, in exit
2024-12-25 14:14:01 self.gen.throw(typ, value, traceback)
2024-12-25 14:14:01 File "/usr/local/lib/python3.11/site-packages/starlette/_utils.py", line 93, in collapse_excgroups
2024-12-25 14:14:01 raise exc
2024-12-25 14:14:01 File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 191, in call
2024-12-25 14:14:01 response = await self.dispatch_func(request, call_next)
2024-12-25 14:14:01 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-12-25 14:14:01 File "/app/backend/open_webui/main.py", line 674, in dispatch
2024-12-25 14:14:01 response = await call_next(request)
2024-12-25 14:14:01 ^^^^^^^^^^^^^^^^^^^^^^^^
2024-12-25 14:14:01 File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 165, in call_next
2024-12-25 14:14:01 raise app_exc
2024-12-25 14:14:01 File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 151, in coro
2024-12-25 14:14:01 await self.app(scope, receive_or_disconnect, send_no_error)
2024-12-25 14:14:01 File "/usr/local/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 65, in call
2024-12-25 14:14:01 await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
2024-12-25 14:14:01 File "/usr/local/lib/python3.11/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app
2024-12-25 14:14:01 raise exc
2024-12-25 14:14:01 File "/usr/local/lib/python3.11/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
2024-12-25 14:14:01 await app(scope, receive, sender)
2024-12-25 14:14:01 File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 756, in call
2024-12-25 14:14:01 await self.middleware_stack(scope, receive, send)
2024-12-25 14:14:01 File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 776, in app
2024-12-25 14:14:01 await route.handle(scope, receive, send)
2024-12-25 14:14:01 File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 297, in handle
2024-12-25 14:14:01 await self.app(scope, receive, send)
2024-12-25 14:14:01 File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 77, in app
2024-12-25 14:14:01 await wrap_app_handling_exceptions(app, request)(scope, receive, send)
2024-12-25 14:14:01 File "/usr/local/lib/python3.11/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app
2024-12-25 14:14:01 raise exc
2024-12-25 14:14:01 File "/usr/local/lib/python3.11/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
2024-12-25 14:14:01 await app(scope, receive, sender)
2024-12-25 14:14:01 File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 72, in app
2024-12-25 14:14:01 response = await func(request)
2024-12-25 14:14:01 ^^^^^^^^^^^^^^^^^^^
2024-12-25 14:14:01 File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 278, in app
2024-12-25 14:14:01 raw_response = await run_endpoint_function(
2024-12-25 14:14:01 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-12-25 14:14:01 File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 191, in run_endpoint_function
2024-12-25 14:14:01 return await dependant.call(**values)
2024-12-25 14:14:01 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-12-25 14:14:01 File "/app/backend/open_webui/routers/images.py", line 268, in update_image_config
2024-12-25 14:14:01 set_image_model(request, form_data.MODEL)
2024-12-25 14:14:01 File "/app/backend/open_webui/routers/images.py", line 203, in set_image_model
2024-12-25 14:14:01 api_auth = get_automatic1111_api_auth()
2024-12-25 14:14:01 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-12-25 14:14:01 TypeError: get_automatic1111_api_auth() missing 1 required positional argument: 'request'
2024-12-25 14:14:01 INFO [open_webui.env] Saving 'ENABLE_IMAGE_GENERATION' to the database
2024-12-25 14:14:01 INFO: 172.17.0.1:54136 - "GET /api/v1/images/models HTTP/1.1" 400 Bad Request
2024-12-25 14:14:03 INFO: 172.17.0.1:54136 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_T7We HTTP/1.1" 400 Bad Request
2024-12-25 14:14:09 INFO: 172.17.0.1:55580 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_T8-L HTTP/1.1" 400 Bad Request
2024-12-25 14:14:14 INFO: 172.17.0.1:55600 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_TAS7 HTTP/1.1" 400 Bad Request
2024-12-25 14:14:22 INFO: 172.17.0.1:44868 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_TBvo HTTP/1.1" 400 Bad Request
2024-12-25 14:14:28 INFO: 172.17.0.1:44874 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_TDNg HTTP/1.1" 400 Bad Request
2024-12-25 14:14:34 INFO: 172.17.0.1:40486 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_TErM HTTP/1.1" 400 Bad Request
2024-12-25 14:14:39 INFO: 172.17.0.1:40492 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_TGJG HTTP/1.1" 400 Bad Request
2024-12-25 14:14:45 INFO: 172.17.0.1:34838 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_THmy HTTP/1.1" 400 Bad Request
2024-12-25 14:14:50 INFO: 172.17.0.1:34862 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_TJEj HTTP/1.1" 400 Bad Request
2024-12-25 14:14:58 INFO: 172.17.0.1:49574 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_TKiL HTTP/1.1" 400 Bad Request
2024-12-25 14:15:04 INFO: 172.17.0.1:44958 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_TMAD HTTP/1.1" 400 Bad Request
2024-12-25 14:15:09 INFO: 172.17.0.1:44966 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_TNdm HTTP/1.1" 400 Bad Request
2024-12-25 14:15:15 INFO: 172.17.0.1:40362 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_TP5k HTTP/1.1" 400 Bad Request
2024-12-25 14:15:20 INFO: 172.17.0.1:40380 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_TQZQ HTTP/1.1" 400 Bad Request
2024-12-25 14:15:28 INFO: 172.17.0.1:55406 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_TS1A HTTP/1.1" 400 Bad Request
2024-12-25 14:15:34 INFO: 172.17.0.1:55418 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_TTUn HTTP/1.1" 400 Bad Request
2024-12-25 14:15:39 INFO: 172.17.0.1:59554 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_TUyh HTTP/1.1" 400 Bad Request
2024-12-25 14:15:45 INFO: 172.17.0.1:59570 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_TWQG HTTP/1.1" 400 Bad Request
2024-12-25 14:15:50 INFO: 172.17.0.1:51652 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_TXu3 HTTP/1.1" 400 Bad Request
2024-12-25 14:15:56 INFO: 172.17.0.1:60236 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_TZLn HTTP/1.1" 400 Bad Request
2024-12-25 14:16:04 INFO: 172.17.0.1:60248 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_Tapk HTTP/1.1" 400 Bad Request
2024-12-25 14:16:10 INFO: 172.17.0.1:49742 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_TcHO HTTP/1.1" 400 Bad Request
2024-12-25 14:16:15 INFO: 172.17.0.1:49748 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_Tdl8 HTTP/1.1" 400 Bad Request
2024-12-25 14:16:21 INFO: 172.17.0.1:49434 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_TfC- HTTP/1.1" 400 Bad Request
2024-12-25 14:16:26 INFO: 172.17.0.1:49458 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_Tggd HTTP/1.1" 400 Bad Request
2024-12-25 14:16:29 INFO: 172.17.0.1:49458 - "GET /api/v1/auths/api_key HTTP/1.1" 404 Not Found
2024-12-25 14:16:34 INFO: 172.17.0.1:49458 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_Ti8U HTTP/1.1" 400 Bad Request
2024-12-25 14:16:40 INFO: 172.17.0.1:60892 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_TjcA HTTP/1.1" 400 Bad Request
2024-12-25 14:16:45 INFO: 172.17.0.1:33742 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_Tl3t HTTP/1.1" 400 Bad Request
2024-12-25 14:16:51 INFO: 172.17.0.1:33752 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_TmXh HTTP/1.1" 400 Bad Request
2024-12-25 14:16:56 INFO: 172.17.0.1:49548 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_Tn_U HTTP/1.1" 400 Bad Request
2024-12-25 14:17:02 INFO: 172.17.0.1:45130 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_TpTF HTTP/1.1" 400 Bad Request
2024-12-25 14:17:10 INFO: 172.17.0.1:45138 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_Tqwn HTTP/1.1" 400 Bad Request
2024-12-25 14:17:14 INFO: 172.17.0.1:45164 - "GET /static/favicon.png HTTP/1.1" 304 Not Modified
2024-12-25 14:17:14 INFO: 172.17.0.1:45138 - "GET /api/v1/auths/admin/config HTTP/1.1" 200 OK
2024-12-25 14:17:14 INFO: 172.17.0.1:45150 - "GET /api/webhook HTTP/1.1" 200 OK
2024-12-25 14:17:14 INFO: 172.17.0.1:45162 - "GET /api/v1/auths/admin/config/ldap/server HTTP/1.1" 200 OK
2024-12-25 14:17:14 INFO: 172.17.0.1:45162 - "GET /api/v1/auths/admin/config/ldap HTTP/1.1" 200 OK
2024-12-25 14:17:16 INFO: 172.17.0.1:45162 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_TsOX HTTP/1.1" 400 Bad Request
2024-12-25 14:17:21 INFO: 172.17.0.1:51684 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_TtsR HTTP/1.1" 400 Bad Request
2024-12-25 14:17:21 INFO: 172.17.0.1:51684 - "GET /api/v1/images/config HTTP/1.1" 200 OK
2024-12-25 14:17:21 INFO: 172.17.0.1:51684 - "GET /api/v1/images/image/config HTTP/1.1" 200 OK
2024-12-25 14:17:27 INFO: 172.17.0.1:37636 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_TvKD HTTP/1.1" 400 Bad Request
2024-12-25 14:17:32 INFO: 172.17.0.1:37654 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_Twnr HTTP/1.1" 400 Bad Request
2024-12-25 14:17:40 INFO: 172.17.0.1:60098 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_TyFe HTTP/1.1" 400 Bad Request
2024-12-25 14:17:46 INFO: 172.17.0.1:60112 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_TzjS HTTP/1.1" 400 Bad Request
2024-12-25 14:17:51 INFO: 172.17.0.1:54446 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_T_B7 HTTP/1.1" 400 Bad Request
2024-12-25 14:17:57 INFO: 172.17.0.1:54462 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_U0em HTTP/1.1" 400 Bad Request
2024-12-25 14:18:02 INFO: 172.17.0.1:48524 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_U26j HTTP/1.1" 400 Bad Request
2024-12-25 14:18:08 INFO: 172.17.0.1:39226 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_U3aH HTTP/1.1" 400 Bad Request
2024-12-25 14:18:16 INFO: 172.17.0.1:39236 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_U52D HTTP/1.1" 400 Bad Request
2024-12-25 14:18:21 INFO [open_webui.env] Saving 'IMAGE_GENERATION_ENGINE' to the database
2024-12-25 14:18:21 INFO [open_webui.env] Saving 'ENABLE_IMAGE_GENERATION' to the database
2024-12-25 14:18:21 INFO [open_webui.env] Saving 'IMAGES_OPENAI_API_BASE_URL' to the database
2024-12-25 14:18:21 INFO [open_webui.env] Saving 'IMAGES_OPENAI_API_KEY' to the database
2024-12-25 14:18:21 INFO [open_webui.env] Saving 'AUTOMATIC1111_BASE_URL' to the database
2024-12-25 14:18:21 INFO [open_webui.env] Saving 'AUTOMATIC1111_API_AUTH' to the database
2024-12-25 14:18:21 INFO [open_webui.env] Saving 'AUTOMATIC1111_CFG_SCALE' to the database
2024-12-25 14:18:21 INFO [open_webui.env] Saving 'AUTOMATIC1111_SAMPLER' to the database
2024-12-25 14:18:21 INFO [open_webui.env] Saving 'AUTOMATIC1111_SCHEDULER' to the database
2024-12-25 14:18:21 INFO [open_webui.env] Saving 'COMFYUI_BASE_URL' to the database
2024-12-25 14:18:21 INFO [open_webui.env] Saving 'COMFYUI_WORKFLOW' to the database
2024-12-25 14:18:21 INFO [open_webui.env] Saving 'COMFYUI_WORKFLOW' to the database
2024-12-25 14:18:21 INFO: 172.17.0.1:39236 - "POST /api/v1/images/config/update HTTP/1.1" 200 OK
2024-12-25 14:18:21 INFO: 172.17.0.1:39236 - "GET /api/config HTTP/1.1" 200 OK
2024-12-25 14:18:21 INFO [open_webui.env] Saving 'ENABLE_IMAGE_GENERATION' to the database
2024-12-25 14:18:21 INFO: 172.17.0.1:39236 - "GET /api/v1/images/models HTTP/1.1" 400 Bad Request
2024-12-25 14:18:22 INFO: 172.17.0.1:39236 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_U6Vp HTTP/1.1" 400 Bad Request
2024-12-25 14:18:27 INFO: 172.17.0.1:55238 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_U7ze HTTP/1.1" 400 Bad Request
2024-12-25 14:18:32 INFO: 172.17.0.1:53692 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_U9RO HTTP/1.1" 400 Bad Request
2024-12-25 14:18:36 INFO [open_webui.env] Saving 'IMAGE_GENERATION_ENGINE' to the database
2024-12-25 14:18:36 INFO [open_webui.env] Saving 'ENABLE_IMAGE_GENERATION' to the database
2024-12-25 14:18:36 INFO [open_webui.env] Saving 'IMAGES_OPENAI_API_BASE_URL' to the database
2024-12-25 14:18:36 INFO [open_webui.env] Saving 'IMAGES_OPENAI_API_KEY' to the database
2024-12-25 14:18:36 INFO [open_webui.env] Saving 'AUTOMATIC1111_BASE_URL' to the database
2024-12-25 14:18:36 INFO [open_webui.env] Saving 'AUTOMATIC1111_API_AUTH' to the database
2024-12-25 14:18:36 INFO [open_webui.env] Saving 'AUTOMATIC1111_CFG_SCALE' to the database
2024-12-25 14:18:36 INFO [open_webui.env] Saving 'AUTOMATIC1111_SAMPLER' to the database
2024-12-25 14:18:36 INFO [open_webui.env] Saving 'AUTOMATIC1111_SCHEDULER' to the database
2024-12-25 14:18:36 INFO [open_webui.env] Saving 'COMFYUI_BASE_URL' to the database
2024-12-25 14:18:36 INFO [open_webui.env] Saving 'COMFYUI_WORKFLOW' to the database
2024-12-25 14:18:36 INFO [open_webui.env] Saving 'COMFYUI_WORKFLOW' to the database
2024-12-25 14:18:36 INFO: 172.17.0.1:53692 - "POST /api/v1/images/config/update HTTP/1.1" 200 OK
2024-12-25 14:18:36 INFO: 172.17.0.1:53692 - "GET /api/config HTTP/1.1" 200 OK
2024-12-25 14:18:36 INFO [open_webui.env] Saving 'ENABLE_IMAGE_GENERATION' to the database
2024-12-25 14:18:36 INFO: 172.17.0.1:53718 - "GET /api/v1/images/config/url/verify HTTP/1.1" 400 Bad Request
2024-12-25 14:18:36 INFO [open_webui.env] Saving 'ENABLE_IMAGE_GENERATION' to the database
2024-12-25 14:18:36 INFO: 172.17.0.1:53692 - "GET /api/v1/images/models HTTP/1.1" 400 Bad Request
2024-12-25 14:18:38 INFO: 172.17.0.1:53692 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_UAv2 HTTP/1.1" 400 Bad Request
2024-12-25 14:18:38 INFO [open_webui.env] Saving 'IMAGE_GENERATION_ENGINE' to the database
2024-12-25 14:18:38 INFO [open_webui.env] Saving 'ENABLE_IMAGE_GENERATION' to the database
2024-12-25 14:18:38 INFO [open_webui.env] Saving 'IMAGES_OPENAI_API_BASE_URL' to the database
2024-12-25 14:18:38 INFO [open_webui.env] Saving 'IMAGES_OPENAI_API_KEY' to the database
2024-12-25 14:18:38 INFO [open_webui.env] Saving 'AUTOMATIC1111_BASE_URL' to the database
2024-12-25 14:18:38 INFO [open_webui.env] Saving 'AUTOMATIC1111_API_AUTH' to the database
2024-12-25 14:18:38 INFO [open_webui.env] Saving 'AUTOMATIC1111_CFG_SCALE' to the database
2024-12-25 14:18:38 INFO [open_webui.env] Saving 'AUTOMATIC1111_SAMPLER' to the database
2024-12-25 14:18:38 INFO [open_webui.env] Saving 'AUTOMATIC1111_SCHEDULER' to the database
2024-12-25 14:18:38 INFO [open_webui.env] Saving 'COMFYUI_BASE_URL' to the database
2024-12-25 14:18:38 INFO [open_webui.env] Saving 'COMFYUI_WORKFLOW' to the database
2024-12-25 14:18:38 INFO [open_webui.env] Saving 'COMFYUI_WORKFLOW' to the database
2024-12-25 14:18:38 INFO: 172.17.0.1:53692 - "POST /api/v1/images/config/update HTTP/1.1" 200 OK
2024-12-25 14:18:38 INFO: 172.17.0.1:53692 - "GET /api/config HTTP/1.1" 200 OK
2024-12-25 14:18:38 INFO [open_webui.env] Saving 'ENABLE_IMAGE_GENERATION' to the database
2024-12-25 14:18:39 INFO: 172.17.0.1:53718 - "GET /api/v1/images/config/url/verify HTTP/1.1" 200 OK
2024-12-25 14:18:39 INFO: 172.17.0.1:53692 - "GET /api/v1/images/models HTTP/1.1" 400 Bad Request
2024-12-25 14:18:46 INFO: 172.17.0.1:53692 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_UCM- HTTP/1.1" 400 Bad Request
2024-12-25 14:18:52 INFO: 172.17.0.1:46658 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_UDqd HTTP/1.1" 400 Bad Request
2024-12-25 14:18:53 INFO [open_webui.env] Saving 'IMAGE_GENERATION_ENGINE' to the database
2024-12-25 14:18:53 INFO [open_webui.env] Saving 'ENABLE_IMAGE_GENERATION' to the database
2024-12-25 14:18:53 INFO [open_webui.env] Saving 'IMAGES_OPENAI_API_BASE_URL' to the database
2024-12-25 14:18:53 INFO [open_webui.env] Saving 'IMAGES_OPENAI_API_KEY' to the database
2024-12-25 14:18:53 INFO [open_webui.env] Saving 'AUTOMATIC1111_BASE_URL' to the database
2024-12-25 14:18:53 INFO [open_webui.env] Saving 'AUTOMATIC1111_API_AUTH' to the database
2024-12-25 14:18:53 INFO [open_webui.env] Saving 'AUTOMATIC1111_CFG_SCALE' to the database
2024-12-25 14:18:53 INFO [open_webui.env] Saving 'AUTOMATIC1111_SAMPLER' to the database
2024-12-25 14:18:53 INFO [open_webui.env] Saving 'AUTOMATIC1111_SCHEDULER' to the database
2024-12-25 14:18:53 INFO [open_webui.env] Saving 'COMFYUI_BASE_URL' to the database
2024-12-25 14:18:53 INFO [open_webui.env] Saving 'COMFYUI_WORKFLOW' to the database
2024-12-25 14:18:53 INFO [open_webui.env] Saving 'COMFYUI_WORKFLOW' to the database
2024-12-25 14:18:53 INFO: 172.17.0.1:46658 - "POST /api/v1/images/config/update HTTP/1.1" 200 OK
2024-12-25 14:18:53 INFO [open_webui.env] Saving 'IMAGE_GENERATION_ENGINE' to the database
2024-12-25 14:18:53 INFO [open_webui.env] Saving 'ENABLE_IMAGE_GENERATION' to the database
2024-12-25 14:18:53 INFO [open_webui.env] Saving 'IMAGES_OPENAI_API_BASE_URL' to the database
2024-12-25 14:18:53 INFO [open_webui.env] Saving 'IMAGES_OPENAI_API_KEY' to the database
2024-12-25 14:18:53 INFO [open_webui.env] Saving 'AUTOMATIC1111_BASE_URL' to the database
2024-12-25 14:18:53 INFO [open_webui.env] Saving 'AUTOMATIC1111_API_AUTH' to the database
2024-12-25 14:18:53 INFO [open_webui.env] Saving 'AUTOMATIC1111_CFG_SCALE' to the database
2024-12-25 14:18:53 INFO [open_webui.env] Saving 'AUTOMATIC1111_SAMPLER' to the database
2024-12-25 14:18:53 INFO [open_webui.env] Saving 'AUTOMATIC1111_SCHEDULER' to the database
2024-12-25 14:18:53 INFO [open_webui.env] Saving 'COMFYUI_BASE_URL' to the database
2024-12-25 14:18:53 INFO [open_webui.env] Saving 'COMFYUI_WORKFLOW' to the database
2024-12-25 14:18:53 INFO [open_webui.env] Saving 'COMFYUI_WORKFLOW' to the database
2024-12-25 14:18:53 INFO: 172.17.0.1:46658 - "POST /api/v1/images/config/update HTTP/1.1" 200 OK
2024-12-25 14:18:53 INFO: 172.17.0.1:46658 - "GET /api/config HTTP/1.1" 200 OK
2024-12-25 14:18:53 INFO [open_webui.env] Saving 'ENABLE_IMAGE_GENERATION' to the database
2024-12-25 14:18:53 INFO: 172.17.0.1:46658 - "GET /api/v1/images/models HTTP/1.1" 400 Bad Request
2024-12-25 14:18:57 INFO: 172.17.0.1:46658 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_UFIH HTTP/1.1" 400 Bad Request
2024-12-25 14:19:03 INFO: 172.17.0.1:47400 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_UGm4 HTTP/1.1" 400 Bad Request
2024-12-25 14:19:08 INFO: 172.17.0.1:46340 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_UID- HTTP/1.1" 400 Bad Request
2024-12-25 14:19:14 INFO: 172.17.0.1:37244 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_UJhW HTTP/1.1" 400 Bad Request
2024-12-25 14:19:22 INFO: 172.17.0.1:37250 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_UL9P HTTP/1.1" 400 Bad Request
2024-12-25 14:19:28 INFO: 172.17.0.1:44350 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_UMdF HTTP/1.1" 400 Bad Request
2024-12-25 14:19:33 INFO: 172.17.0.1:44360 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_UO4q HTTP/1.1" 400 Bad Request
2024-12-25 14:19:39 INFO: 172.17.0.1:45760 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_UPYb HTTP/1.1" 400 Bad Request
2024-12-25 14:19:44 INFO: 172.17.0.1:45776 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_UR0U HTTP/1.1" 400 Bad Request
2024-12-25 14:19:52 INFO: 172.17.0.1:35776 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_USUD HTTP/1.1" 400 Bad Request
2024-12-25 14:19:58 INFO: 172.17.0.1:35778 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_UTxu HTTP/1.1" 400 Bad Request
2024-12-25 14:20:03 INFO: 172.17.0.1:52472 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_UVPg HTTP/1.1" 400 Bad Request
2024-12-25 14:20:09 INFO: 172.17.0.1:60258 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_UWtO HTTP/1.1" 400 Bad Request
2024-12-25 14:20:14 INFO: 172.17.0.1:60276 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_UYLE HTTP/1.1" 400 Bad Request
2024-12-25 14:20:20 INFO: 172.17.0.1:41072 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_UZon HTTP/1.1" 400 Bad Request
2024-12-25 14:20:28 INFO: 172.17.0.1:41080 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_UbGY HTTP/1.1" 400 Bad Request
2024-12-25 14:20:34 INFO: 172.17.0.1:38208 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_UckI HTTP/1.1" 400 Bad Request
2024-12-25 14:20:39 INFO: 172.17.0.1:38214 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_UeC4 HTTP/1.1" 400 Bad Request
2024-12-25 14:20:44 INFO: 172.17.0.1:39980 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_Uffr HTTP/1.1" 400 Bad Request
2024-12-25 14:20:50 INFO: 172.17.0.1:39996 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_Uh7i HTTP/1.1" 400 Bad Request
2024-12-25 14:20:58 INFO: 172.17.0.1:44400 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_UibM HTTP/1.1" 400 Bad Request
2024-12-25 14:21:04 INFO: 172.17.0.1:44402 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_Uk31 HTTP/1.1" 400 Bad Request
2024-12-25 14:21:09 INFO: 172.17.0.1:52608 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_UlWs HTTP/1.1" 400 Bad Request
2024-12-25 14:21:15 INFO: 172.17.0.1:50082 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_Um-e HTTP/1.1" 400 Bad Request
Screenshots/Screen Recordings (if applicable):
N/A
Additional Information
I'm also noticing this line in my docker logs:
2024-12-25 14:21:15 INFO: 172.17.0.1:50082 - "GET /ws/socket.io/?EIO=4&transport=polling&t=PF_Um-e HTTP/1.1" 400 Bad Request
This is something I've never seen before...
Note
If the bug report is incomplete or does not follow the provided instructions, it may not be addressed. Please ensure that you have followed the steps outlined in the README.md and troubleshooting.md documents, and provide all necessary information for us to reproduce and address the issue. Thank you!
@tjbck commented on GitHub (Dec 25, 2024):
Good catch, fixed on dev and merged to main. 0.5.1 will be released shortly!
@misterjice commented on GitHub (Dec 25, 2024):
Thank you! =)
@godsey commented on GitHub (Dec 26, 2024):
I believe (request) needs to be added on lines 239, 357, and 581 as well.
@misterjice commented on GitHub (Dec 26, 2024):
Yeah, even with the new version, I'm still getting errors...
[ERROR: get_automatic1111_api_auth() missing 1 required positional argument: 'request']
I'm wondering if I should open a new request since this is closed... I'll put your thoughts in that one if I do. I'm about to investigate logs.
@tjbck commented on GitHub (Dec 26, 2024):
Try pulling the latest main, should be fixed this time.
@misterjice commented on GitHub (Dec 26, 2024):
I just did... 0.5.1...
@tjbck commented on GitHub (Dec 26, 2024):
Pushed an additional fix, I believe the image is still being built.
@misterjice commented on GitHub (Dec 26, 2024):
Thanx, I'll post a new bug just in case because I don't see anything about a fix but maybe I missed something. Merry Christmas!
@Master-Pr0grammer commented on GitHub (Dec 26, 2024):
Hi, I know you just pushed a fix 15 hours ago, but I am running the most recent pip package as of 30min ago, and I am still getting this exact error.
@misterjice commented on GitHub (Dec 26, 2024):
Ah, good to know it's not just me... I started a new bug for this, if you want to let the devs know that I'm not the only one getting this even after the latest update (0.5.1): https://github.com/open-webui/open-webui/issues/8096