issue: #5809

Closed
opened 2025-11-11 16:34:14 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @richtong on GitHub (Jul 19, 2025).

Check Existing Issues

  • I have searched the existing issues and discussions.
  • I am using the latest version of Open WebUI.

Installation Method

Pip Install

Open WebUI Version

0.6.16

Ollama Version (if applicable)

0.10

Operating System

MacOS Sequoia 15.4

Browser (if applicable)

Brave

Confirmation

  • I have read and followed all instructions in README.md.
  • I am using the latest version of both Open WebUI and Ollama.
  • I have included the browser console logs.
  • I have included the Docker container logs.
  • I have provided every relevant configuration, setting, and environment variable used in my setup.
  • I have clearly listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc).
  • I have documented step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation. My steps:
  • Start with the initial platform/version/OS and dependencies used,
  • Specify exact install/launch/configure commands,
  • List URLs visited, user input (incl. example values/emails/passwords if needed),
  • Describe all options and toggles enabled or changed,
  • Include any files or environmental changes,
  • Identify the expected and actual result at each stage,
  • Ensure any reasonably skilled user can follow and hit the same issue.

Expected Behavior

Using the ComfyUI generation, it should return an image

Actual Behavior

Returns and [ERROR: '143:3'] when clicking on image generation

Steps to Reproduce

  1. pipx install open-webui --python python3.12
  2. brew install comfyui
  3. Open comfyui and go to Workflow > Templates > Image > Flux Kontext Dev Grouped
  4. Save the workflow with Workflow > Export (API)
  5. Open open-webui > Admin Settings > Settings > Images and enable Image generation, Image Generate Engine "ComfyUI"
  6. ComfyUI Base URL: HTTP://localhost:8000
  7. Paste in the workflow generated
  8. In ComfyUI Workflow Nodes enter

| Prompt | text | 142:6 |
| Model | unet_name | 142:8 |
| Width | int | <blank, as there is no width parameter in this workflow>
| Height | int | |
| Steps | steps | 143:3 |
| Seed | seed | 143:3 |

  1. Set Default Model: FLUX1/flux1-kontext-dev.safetensors

  2. Seet Image Size: 1920x1280

  3. Set Steps: 20

Logs & Screenshots

Browser log:

:8080/api/v1/images/generations:1  Failed to load resource: the server responded with a status of 400 (Bad Request)
Cva0mvdd.js:1 Objectdetail: "[ERROR: '143:3']"[[Prototype]]: Objectconstructor: ƒ Object()hasOwnProperty: ƒ hasOwnProperty()isPrototypeOf: ƒ isPrototypeOf()propertyIsEnumerable: ƒ propertyIsEnumerable()toLocaleString: ƒ toLocaleString()toString: ƒ toString()valueOf: ƒ valueOf()__defineGetter__: ƒ __defineGetter__()__defineSetter__: ƒ __defineSetter__()__lookupGetter__: ƒ __lookupGetter__()__lookupSetter__: ƒ __lookupSetter__()__proto__: (...)get __proto__: ƒ __proto__()set __proto__: ƒ __proto__()
(anonymous) @ Cva0mvdd.js:1
80:8080/c/bb3ff8cf-a38…b72c-c9d1b9b69e4b:1 Uncaught (in promise) Error: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
:8080/api/v1/images/generations:1  Failed to load resource: the server responded with a status of 400 (Bad Request)
Cva0mvdd.js:1 Object
(anonymous) @ Cva0mvdd.js:1
:8080/api/v1/images/generations:1  Failed to load resource: the server responded with a status of 400 (Bad Request)
Cva0mvdd.js:1 Object
(anonymous) @ Cva0mvdd.js:1
:8080/api/v1/images/generations:1  Failed to load resource: the server responded with a status of 400 (Bad Request)
Cva0mvdd.js:1 Object
(anonymous) @ Cva0mvdd.js:1
3Dfnk2SSa.js:1 Assertion failed!

Server log

025-07-18 22:15:12.418 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 127.0.0.1:64015 - "GET /api/v1/chats/bb3ff8cf-a38e-4fa1-b72c-c9d1b9b69e4b HTTP/1.1" 200 - {}
2025-07-18 22:15:12.440 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 127.0.0.1:64015 - "GET /api/v1/chats/bb3ff8cf-a38e-4fa1-b72c-c9d1b9b69e4b/tags HTTP/1.1" 200 - {}
2025-07-18 22:15:12.448 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 127.0.0.1:64015 - "GET /api/v1/users/user/settings HTTP/1.1" 200 - {}
Task IDs for chat bb3ff8cf-a38e-4fa1-b72c-c9d1b9b69e4b: []
2025-07-18 22:15:12.455 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 127.0.0.1:64015 - "GET /api/tasks/chat/bb3ff8cf-a38e-4fa1-b72c-c9d1b9b69e4b HTTP/1.1" 200 - {}
[GIN] 2025/07/18 - 22:15:12 | 200 |          66µs |       127.0.0.1 | GET      "/api/version"
2025-07-18 22:15:12.527 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 127.0.0.1:64015 - "GET /ollama/api/version HTTP/1.1" 200 - {}
2025-07-18 22:15:16.162 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 127.0.0.1:64015 - "POST /api/v1/images/generations HTTP/1.1" 400 - {}

Additional Information

ComfyUI recently added grouped nodes which has a new syntax so I suspect that that OpenWebUI is expecting a number, but it is now "node:subnode", I can grovel through the code to fix if you would like

Originally created by @richtong on GitHub (Jul 19, 2025). ### Check Existing Issues - [x] I have searched the existing issues and discussions. - [x] I am using the latest version of Open WebUI. ### Installation Method Pip Install ### Open WebUI Version 0.6.16 ### Ollama Version (if applicable) 0.10 ### Operating System MacOS Sequoia 15.4 ### Browser (if applicable) Brave ### Confirmation - [x] I have read and followed all instructions in `README.md`. - [x] I am using the latest version of **both** Open WebUI and Ollama. - [x] I have included the browser console logs. - [x] I have included the Docker container logs. - [x] I have **provided every relevant configuration, setting, and environment variable used in my setup.** - [x] I have clearly **listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup** (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc). - [x] I have documented **step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation**. My steps: - Start with the initial platform/version/OS and dependencies used, - Specify exact install/launch/configure commands, - List URLs visited, user input (incl. example values/emails/passwords if needed), - Describe all options and toggles enabled or changed, - Include any files or environmental changes, - Identify the expected and actual result at each stage, - Ensure any reasonably skilled user can follow and hit the same issue. ### Expected Behavior Using the ComfyUI generation, it should return an image ### Actual Behavior Returns and `[ERROR: '143:3']` when clicking on image generation ### Steps to Reproduce 1. pipx install open-webui --python python3.12 2. brew install comfyui 3. Open comfyui and go to Workflow > Templates > Image > Flux Kontext Dev Grouped 4. Save the workflow with Workflow > Export (API) 5. Open open-webui > Admin Settings > Settings > Images and enable Image generation, Image Generate Engine "ComfyUI" 6. ComfyUI Base URL: HTTP://localhost:8000 7. Paste in the workflow generated 8. In ComfyUI Workflow Nodes enter | Prompt | text | 142:6 | | Model | unet_name | 142:8 | | Width | int | <blank, as there is no width parameter in this workflow> | Height | int | <blank> | | Steps | steps | 143:3 | | Seed | seed | 143:3 | 9. Set Default Model: FLUX1/flux1-kontext-dev.safetensors 10. Seet Image Size: 1920x1280 11. Set Steps: 20 12. ### Logs & Screenshots Browser log: ``` :8080/api/v1/images/generations:1 Failed to load resource: the server responded with a status of 400 (Bad Request) Cva0mvdd.js:1 Objectdetail: "[ERROR: '143:3']"[[Prototype]]: Objectconstructor: ƒ Object()hasOwnProperty: ƒ hasOwnProperty()isPrototypeOf: ƒ isPrototypeOf()propertyIsEnumerable: ƒ propertyIsEnumerable()toLocaleString: ƒ toLocaleString()toString: ƒ toString()valueOf: ƒ valueOf()__defineGetter__: ƒ __defineGetter__()__defineSetter__: ƒ __defineSetter__()__lookupGetter__: ƒ __lookupGetter__()__lookupSetter__: ƒ __lookupSetter__()__proto__: (...)get __proto__: ƒ __proto__()set __proto__: ƒ __proto__() (anonymous) @ Cva0mvdd.js:1 80:8080/c/bb3ff8cf-a38…b72c-c9d1b9b69e4b:1 Uncaught (in promise) Error: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received :8080/api/v1/images/generations:1 Failed to load resource: the server responded with a status of 400 (Bad Request) Cva0mvdd.js:1 Object (anonymous) @ Cva0mvdd.js:1 :8080/api/v1/images/generations:1 Failed to load resource: the server responded with a status of 400 (Bad Request) Cva0mvdd.js:1 Object (anonymous) @ Cva0mvdd.js:1 :8080/api/v1/images/generations:1 Failed to load resource: the server responded with a status of 400 (Bad Request) Cva0mvdd.js:1 Object (anonymous) @ Cva0mvdd.js:1 3Dfnk2SSa.js:1 Assertion failed! ``` Server log ``` 025-07-18 22:15:12.418 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 127.0.0.1:64015 - "GET /api/v1/chats/bb3ff8cf-a38e-4fa1-b72c-c9d1b9b69e4b HTTP/1.1" 200 - {} 2025-07-18 22:15:12.440 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 127.0.0.1:64015 - "GET /api/v1/chats/bb3ff8cf-a38e-4fa1-b72c-c9d1b9b69e4b/tags HTTP/1.1" 200 - {} 2025-07-18 22:15:12.448 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 127.0.0.1:64015 - "GET /api/v1/users/user/settings HTTP/1.1" 200 - {} Task IDs for chat bb3ff8cf-a38e-4fa1-b72c-c9d1b9b69e4b: [] 2025-07-18 22:15:12.455 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 127.0.0.1:64015 - "GET /api/tasks/chat/bb3ff8cf-a38e-4fa1-b72c-c9d1b9b69e4b HTTP/1.1" 200 - {} [GIN] 2025/07/18 - 22:15:12 | 200 | 66µs | 127.0.0.1 | GET "/api/version" 2025-07-18 22:15:12.527 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 127.0.0.1:64015 - "GET /ollama/api/version HTTP/1.1" 200 - {} 2025-07-18 22:15:16.162 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 127.0.0.1:64015 - "POST /api/v1/images/generations HTTP/1.1" 400 - {} ``` ### Additional Information ComfyUI recently added grouped nodes which has a new syntax so I suspect that that OpenWebUI is expecting a number, but it is now "node:subnode", I can grovel through the code to fix if you would like
GiteaMirror added the bug label 2025-11-11 16:34:14 -06:00
Author
Owner

@silentoplayz commented on GitHub (Jul 19, 2025):

Please add a title to this issue or I will close it.

@silentoplayz commented on GitHub (Jul 19, 2025): Please add a title to this issue or I will close it.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#5809