[GH-ISSUE #1669] [Bug]: Workflow connections broken in nested subgraphs when launching generation from root level via Electron U #498

Open
opened 2026-10-31 22:13:44 +00:00 by bsakaguchi · 1 comment
Owner

Originally created by @aurel-tales on GitHub (Mar 21, 2026).
Original GitHub issue: https://github.com/Comfy-Org/desktop/issues/1669

App Version

ComfyUI_desktop v0.8.24

Expected Behavior

Connections inside nested subgraphs should remain intact when launching a generation from the root level.

Actual Behavior

Connections inside nested subgraphs appear intact after loading the workflow, but break at the moment generation is launched from the root level. Launching the generation from inside the parent subgraph works correctly. The issue is specific to the Electron UI — loading the same workflow via the browser at http://127.0.0.1:8188 works without any problem.

Steps to Reproduce

1 Load a workflow containing nested subgraphs via the Electron UI workflow loader
2 Connections appear correct at this stage
3 Enter the parent subgraph and run the generation → works correctly
4 Go back to the root level and run the generation → connections inside the nested subgraph break at that moment

Additional notes:
Loading the workflow by drag & dropping a PNG image generated with that workflow does not trigger the bug
The issue appeared after the last update
The portable version with the same ComfyUI version and custom nodes is not affected

ControlNet Tiled Upscale Imagine.json

Debug Logs

Model AutoencoderKL prepared for dynamic VRAM loading. 159MB Staged. 0 patches attached.
VRAM清理完成 [卸载模型: True, 清空缓存: True]
RAM清理完成 [82.8% → 76.9%, 释放: 3847MB]
Prompt executed in 269.27 seconds
got prompt
Failed to validate prompt for output 171:244:
* GetImageSize 171:245:258:121:
  - Required input is missing: image
* ImageTile+ 171:245:259:
  - Required input is missing: image
* ImageTile+ 171:245:255:
  - Required input is missing: image
Output will be ignored
Failed to validate prompt for output 200:
Output will be ignored
Failed to validate prompt for output 201:
Output will be ignored
Failed to validate prompt for output 170:228:
* GetImageSize 170:229:165:121:
  - Required input is missing: image
* GetImageSize 169:207:165:121:
  - Required input is missing: image
* ImageTile+ 169:207:47:
  - Required input is missing: image
* ImageTile+ 169:207:158:
  - Required input is missing: image
Output will be ignored
Failed to validate prompt for output 187:
Output will be ignored
Failed to validate prompt for output 185:
Output will be ignored
Failed to validate prompt for output 169:206:
Output will be ignored
Failed to validate prompt for output 186:
Output will be ignored
WARNING: [Errno 2] No such file or directory: 'C:\\Users\\DESKTOP AUREL\\Documents\\ComfyUI\\input\\20250523_131423.png'
Loading model from C:\Users\DESKTOP AUREL\Documents\ComfyUI\models\LLM\Florence-2-large-PromptGen-v2.0
Florence2 using sdpa for attention
[ResolutionMaster] Using auto-detected dimensions: 768x1344
C:\Users\DESKTOP AUREL\Documents\ComfyUI\.venv\Lib\site-packages\transformers\modeling_attn_mask_utils.py:71: FutureWarning: The attention mask API under `transformers.modeling_attn_mask_utils` (`AttentionMaskConverter`) is deprecated and will be removed in Transformers v5.10. Please use the new API in `transformers.masking_utils`.
  warnings.warn(DEPRECATION_MESSAGE, FutureWarning)
C:\Users\DESKTOP AUREL\Documents\ComfyUI\.venv\Lib\site-packages\transformers\modeling_attn_mask_utils.py:281: FutureWarning: The attention mask API under `transformers.modeling_attn_mask_utils` (`AttentionMaskConverter`) is deprecated and will be removed in Transformers v5.10. Please use the new API in `transformers.masking_utils`.
  warnings.warn(DEPRECATION_MESSAGE, FutureWarning)
</s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s>A photo<s><s>A digital illustration, digital illustration, digital illustration, digital illustration, 3d rendering, 3d rendering, steampunk-inspired digital illustration, steampunk-inspired digital illustration, digital illustration, steampunk-inspired digital painting, steampunk-inspired, steampunk-inspired, vintage style, photo-realistic digital painting of an elderly man inA realistic digital illustration, photo realistic style, featuring an elderly man in a vintage library setting with a vintage, antique-looking room filled with bookshelves and a vintage library setting, with a steampunk-inspired interior of a library filled with bookshelves filled with bookshelves filled with bookshelves filled with books and a large window overlooking a cityscape view from a large window showing a grandeurous atmosphere, featuring a classic, antique-looking room with an old man in a grandeur, a grandeurous atmosphere, featuring an old man in a classic, antique-looking room filled with bookshelves and a large window overlooking a cityscape view of a cityscape and a large window overlooking a cityscape in the background. on the left side of the image, a man in a classic, old-fashioned library setting, a man in a brown suit is admiring a vintage-looking room filled with bookshelves filled with books and a miniature globe on a table with a globe and a small table with a globe on a rug, and a small globe on a table with a small table with a small globe on the left side of the image, a green robot standing next to a larger, ornate rug in the foreground, with a large window showing a clock tower visible through the bookshelf filled with books and a crocodile in front of the robot, a man in a grandeur of gothic architecture visible through a large window in the background. the image is a digital illustration of a grandeur and a miniature version of a classic interior, showcasing a classic, rustic setting, with a retro-looking room filled with books and a crocodile in the foreground, giving a fitting moment between two robots in a cozy library. the man, an old man in a suit and a reptilian reptile perched on a rug in the foreground, with a retro styled room with tall buildings in the background. the image is a digital illustration of a grandeur and a large, green, green robot with a vintage setting, in the image</s>
Offloading model...
Prompt executed in 25.23 seconds

Browser Logs

Failed to load resource: the server responded with a status of 404 (Not Found)
SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 423 ComfyNode
_resolveInputWidget @ SubgraphNode.ts:999
SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 424 ComfyNode
_resolveInputWidget @ SubgraphNode.ts:999
SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 425 ComfyNode
_resolveInputWidget @ SubgraphNode.ts:999
SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 430 ComfyNode
_resolveInputWidget @ SubgraphNode.ts:999
SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 457 ComfyNode
_resolveInputWidget @ SubgraphNode.ts:999
SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 431 ComfyNode
_resolveInputWidget @ SubgraphNode.ts:999
SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 432 ComfyNode
_resolveInputWidget @ SubgraphNode.ts:999
SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 400 ComfyNode
_resolveInputWidget @ SubgraphNode.ts:999
SubgraphInput.ts:156 Link not found 423
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphInput.ts:156 Link not found 424
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphInput.ts:156 Link not found 425
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphInput.ts:156 Link not found 430
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphInput.ts:156 Link not found 457
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphInput.ts:156 Link not found 431
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphInput.ts:156 Link not found 432
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphInput.ts:156 Link not found 400
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphInput.ts:156 Link not found 423
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphInput.ts:156 Link not found 424
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphInput.ts:156 Link not found 425
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphInput.ts:156 Link not found 430
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphInput.ts:156 Link not found 457
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphInput.ts:156 Link not found 431
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphInput.ts:156 Link not found 432
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphInput.ts:156 Link not found 400
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 423 ComfyNode
_resolveInputWidget @ SubgraphNode.ts:999
SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 424 ComfyNode
_resolveInputWidget @ SubgraphNode.ts:999
SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 425 ComfyNode
_resolveInputWidget @ SubgraphNode.ts:999
SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 430 ComfyNode
_resolveInputWidget @ SubgraphNode.ts:999
SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 457 ComfyNode
_resolveInputWidget @ SubgraphNode.ts:999
SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 431 ComfyNode
_resolveInputWidget @ SubgraphNode.ts:999
SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 432 ComfyNode
_resolveInputWidget @ SubgraphNode.ts:999
SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 400 ComfyNode
_resolveInputWidget @ SubgraphNode.ts:999
SubgraphInput.ts:156 Link not found 423
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphInput.ts:156 Link not found 424
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphInput.ts:156 Link not found 425
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphInput.ts:156 Link not found 430
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphInput.ts:156 Link not found 457
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphInput.ts:156 Link not found 431
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphInput.ts:156 Link not found 432
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphInput.ts:156 Link not found 400
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphInput.ts:156 Link not found 423
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphInput.ts:156 Link not found 424
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphInput.ts:156 Link not found 425
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphInput.ts:156 Link not found 430
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphInput.ts:156 Link not found 457
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphInput.ts:156 Link not found 431
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphInput.ts:156 Link not found 432
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphInput.ts:156 Link not found 400
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 315 ComfyNode
_resolveInputWidget @ SubgraphNode.ts:999
SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 412 ComfyNode
_resolveInputWidget @ SubgraphNode.ts:999
SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 428 ComfyNode
_resolveInputWidget @ SubgraphNode.ts:999
SubgraphInput.ts:156 Link not found 315
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphInput.ts:156 Link not found 412
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphInput.ts:156 Link not found 428
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphInput.ts:156 Link not found 315
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphInput.ts:156 Link not found 412
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphInput.ts:156 Link not found 428
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 315 ComfyNode
_resolveInputWidget @ SubgraphNode.ts:999
SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 412 ComfyNode
_resolveInputWidget @ SubgraphNode.ts:999
SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 428 ComfyNode
_resolveInputWidget @ SubgraphNode.ts:999
SubgraphInput.ts:156 Link not found 315
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphInput.ts:156 Link not found 412
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphInput.ts:156 Link not found 428
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphInput.ts:156 Link not found 315
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphInput.ts:156 Link not found 412
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphInput.ts:156 Link not found 428
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphNode.ts:1014 Failed to find corresponding input LLink ComfyNode
_resolveInputWidget @ SubgraphNode.ts:1014
SubgraphNode.ts:1014 Failed to find corresponding input LLink ComfyNode
_resolveInputWidget @ SubgraphNode.ts:1014
SubgraphNode.ts:1014 Failed to find corresponding input LLink ComfyNode
_resolveInputWidget @ SubgraphNode.ts:1014
SubgraphNode.ts:1014 Failed to find corresponding input LLink ComfyNode
_resolveInputWidget @ SubgraphNode.ts:1014
SubgraphNode.ts:1014 Failed to find corresponding input LLink ComfyNode
_resolveInputWidget @ SubgraphNode.ts:1014
SubgraphNode.ts:1014 Failed to find corresponding input LLink ComfyNode
_resolveInputWidget @ SubgraphNode.ts:1014
SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 423 ComfyNode
_resolveInputWidget @ SubgraphNode.ts:999
SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 424 ComfyNode
_resolveInputWidget @ SubgraphNode.ts:999
SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 425 ComfyNode
_resolveInputWidget @ SubgraphNode.ts:999
SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 430 ComfyNode
_resolveInputWidget @ SubgraphNode.ts:999
SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 457 ComfyNode
_resolveInputWidget @ SubgraphNode.ts:999
SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 431 ComfyNode
_resolveInputWidget @ SubgraphNode.ts:999
SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 432 ComfyNode
_resolveInputWidget @ SubgraphNode.ts:999
SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 400 ComfyNode
_resolveInputWidget @ SubgraphNode.ts:999
SubgraphInput.ts:156 Link not found 423
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphInput.ts:156 Link not found 424
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphInput.ts:156 Link not found 425
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphInput.ts:156 Link not found 430
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphInput.ts:156 Link not found 457
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphInput.ts:156 Link not found 431
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphInput.ts:156 Link not found 432
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphInput.ts:156 Link not found 400
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphInput.ts:156 Link not found 423
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphInput.ts:156 Link not found 424
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphInput.ts:156 Link not found 425
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphInput.ts:156 Link not found 430
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphInput.ts:156 Link not found 457
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphInput.ts:156 Link not found 431
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphInput.ts:156 Link not found 432
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphInput.ts:156 Link not found 400
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 423 ComfyNode
_resolveInputWidget @ SubgraphNode.ts:999
SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 424 ComfyNode
_resolveInputWidget @ SubgraphNode.ts:999
SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 425 ComfyNode
_resolveInputWidget @ SubgraphNode.ts:999
SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 430 ComfyNode
_resolveInputWidget @ SubgraphNode.ts:999
SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 457 ComfyNode
_resolveInputWidget @ SubgraphNode.ts:999
SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 431 ComfyNode
_resolveInputWidget @ SubgraphNode.ts:999
SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 432 ComfyNode
_resolveInputWidget @ SubgraphNode.ts:999
SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 400 ComfyNode
_resolveInputWidget @ SubgraphNode.ts:999
SubgraphInput.ts:156 Link not found 423
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphInput.ts:156 Link not found 424
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphInput.ts:156 Link not found 425
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphInput.ts:156 Link not found 430
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphInput.ts:156 Link not found 457
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphInput.ts:156 Link not found 431
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphInput.ts:156 Link not found 432
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphInput.ts:156 Link not found 400
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphInput.ts:156 Link not found 423
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphInput.ts:156 Link not found 424
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphInput.ts:156 Link not found 425
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphInput.ts:156 Link not found 430
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphInput.ts:156 Link not found 457
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphInput.ts:156 Link not found 431
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphInput.ts:156 Link not found 432
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphInput.ts:156 Link not found 400
getConnectedWidgets @ SubgraphInput.ts:156
SubgraphInput.ts:176 Widget not found Object
getConnectedWidgets @ SubgraphInput.ts:176
SubgraphInput.ts:176 Widget not found Object
getConnectedWidgets @ SubgraphInput.ts:176
SubgraphInput.ts:176 Widget not found Object
getConnectedWidgets @ SubgraphInput.ts:176
SubgraphInput.ts:176 Widget not found Object
getConnectedWidgets @ SubgraphInput.ts:176
SubgraphInput.ts:176 Widget not found Object
getConnectedWidgets @ SubgraphInput.ts:176
SubgraphInput.ts:176 Widget not found Object
getConnectedWidgets @ SubgraphInput.ts:176
SubgraphInput.ts:176 Widget not found Object
getConnectedWidgets @ SubgraphInput.ts:176
SubgraphInput.ts:176 Widget not found Object
getConnectedWidgets @ SubgraphInput.ts:176
SubgraphInput.ts:176 Widget not found Object
getConnectedWidgets @ SubgraphInput.ts:176
SubgraphInput.ts:176 Widget not found Object
getConnectedWidgets @ SubgraphInput.ts:176
SubgraphInput.ts:176 Widget not found Object
getConnectedWidgets @ SubgraphInput.ts:176
SubgraphInput.ts:176 Widget not found Object
getConnectedWidgets @ SubgraphInput.ts:176
SubgraphInput.ts:176 Widget not found Object
getConnectedWidgets @ SubgraphInput.ts:176
SubgraphInput.ts:176 Widget not found Object
getConnectedWidgets @ SubgraphInput.ts:176
SubgraphInput.ts:176 Widget not found Object
getConnectedWidgets @ SubgraphInput.ts:176
SubgraphInput.ts:176 Widget not found Object
getConnectedWidgets @ SubgraphInput.ts:176

Settings JSON

comfy.settings.json

Other

The fact that the bug only triggers when launching from the root level suggests the issue lies in how the Electron UI flattens the nested subgraph hierarchy when serializing the prompt to send to the backend.

┆Issue is synchronized with this Notion page by Unito

Originally created by @aurel-tales on GitHub (Mar 21, 2026). Original GitHub issue: https://github.com/Comfy-Org/desktop/issues/1669 ### App Version ComfyUI_desktop v0.8.24 ### Expected Behavior Connections inside nested subgraphs should remain intact when launching a generation from the root level. ### Actual Behavior Connections inside nested subgraphs appear intact after loading the workflow, but break at the moment generation is launched from the root level. Launching the generation from inside the parent subgraph works correctly. The issue is specific to the Electron UI — loading the same workflow via the browser at http://127.0.0.1:8188 works without any problem. ### Steps to Reproduce 1 Load a workflow containing nested subgraphs via the Electron UI workflow loader 2 Connections appear correct at this stage 3 Enter the parent subgraph and run the generation → works correctly 4 Go back to the root level and run the generation → connections inside the nested subgraph break at that moment Additional notes: Loading the workflow by drag & dropping a PNG image generated with that workflow does not trigger the bug The issue appeared after the last update The portable version with the same ComfyUI version and custom nodes is not affected [ControlNet Tiled Upscale Imagine.json](https://github.com/user-attachments/files/26158489/ControlNet.Tiled.Upscale.Imagine.json) ### Debug Logs ```powershell Model AutoencoderKL prepared for dynamic VRAM loading. 159MB Staged. 0 patches attached. VRAM清理完成 [卸载模型: True, 清空缓存: True] RAM清理完成 [82.8% → 76.9%, 释放: 3847MB] Prompt executed in 269.27 seconds got prompt Failed to validate prompt for output 171:244: * GetImageSize 171:245:258:121: - Required input is missing: image * ImageTile+ 171:245:259: - Required input is missing: image * ImageTile+ 171:245:255: - Required input is missing: image Output will be ignored Failed to validate prompt for output 200: Output will be ignored Failed to validate prompt for output 201: Output will be ignored Failed to validate prompt for output 170:228: * GetImageSize 170:229:165:121: - Required input is missing: image * GetImageSize 169:207:165:121: - Required input is missing: image * ImageTile+ 169:207:47: - Required input is missing: image * ImageTile+ 169:207:158: - Required input is missing: image Output will be ignored Failed to validate prompt for output 187: Output will be ignored Failed to validate prompt for output 185: Output will be ignored Failed to validate prompt for output 169:206: Output will be ignored Failed to validate prompt for output 186: Output will be ignored WARNING: [Errno 2] No such file or directory: 'C:\\Users\\DESKTOP AUREL\\Documents\\ComfyUI\\input\\20250523_131423.png' Loading model from C:\Users\DESKTOP AUREL\Documents\ComfyUI\models\LLM\Florence-2-large-PromptGen-v2.0 Florence2 using sdpa for attention [ResolutionMaster] Using auto-detected dimensions: 768x1344 C:\Users\DESKTOP AUREL\Documents\ComfyUI\.venv\Lib\site-packages\transformers\modeling_attn_mask_utils.py:71: FutureWarning: The attention mask API under `transformers.modeling_attn_mask_utils` (`AttentionMaskConverter`) is deprecated and will be removed in Transformers v5.10. Please use the new API in `transformers.masking_utils`. warnings.warn(DEPRECATION_MESSAGE, FutureWarning) C:\Users\DESKTOP AUREL\Documents\ComfyUI\.venv\Lib\site-packages\transformers\modeling_attn_mask_utils.py:281: FutureWarning: The attention mask API under `transformers.modeling_attn_mask_utils` (`AttentionMaskConverter`) is deprecated and will be removed in Transformers v5.10. Please use the new API in `transformers.masking_utils`. warnings.warn(DEPRECATION_MESSAGE, FutureWarning) </s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s><s>A photo<s><s>A digital illustration, digital illustration, digital illustration, digital illustration, 3d rendering, 3d rendering, steampunk-inspired digital illustration, steampunk-inspired digital illustration, digital illustration, steampunk-inspired digital painting, steampunk-inspired, steampunk-inspired, vintage style, photo-realistic digital painting of an elderly man inA realistic digital illustration, photo realistic style, featuring an elderly man in a vintage library setting with a vintage, antique-looking room filled with bookshelves and a vintage library setting, with a steampunk-inspired interior of a library filled with bookshelves filled with bookshelves filled with bookshelves filled with books and a large window overlooking a cityscape view from a large window showing a grandeurous atmosphere, featuring a classic, antique-looking room with an old man in a grandeur, a grandeurous atmosphere, featuring an old man in a classic, antique-looking room filled with bookshelves and a large window overlooking a cityscape view of a cityscape and a large window overlooking a cityscape in the background. on the left side of the image, a man in a classic, old-fashioned library setting, a man in a brown suit is admiring a vintage-looking room filled with bookshelves filled with books and a miniature globe on a table with a globe and a small table with a globe on a rug, and a small globe on a table with a small table with a small globe on the left side of the image, a green robot standing next to a larger, ornate rug in the foreground, with a large window showing a clock tower visible through the bookshelf filled with books and a crocodile in front of the robot, a man in a grandeur of gothic architecture visible through a large window in the background. the image is a digital illustration of a grandeur and a miniature version of a classic interior, showcasing a classic, rustic setting, with a retro-looking room filled with books and a crocodile in the foreground, giving a fitting moment between two robots in a cozy library. the man, an old man in a suit and a reptilian reptile perched on a rug in the foreground, with a retro styled room with tall buildings in the background. the image is a digital illustration of a grandeur and a large, green, green robot with a vintage setting, in the image</s> Offloading model... Prompt executed in 25.23 seconds ``` ### Browser Logs Failed to load resource: the server responded with a status of 404 (Not Found) SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 423 ComfyNode _resolveInputWidget @ SubgraphNode.ts:999 SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 424 ComfyNode _resolveInputWidget @ SubgraphNode.ts:999 SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 425 ComfyNode _resolveInputWidget @ SubgraphNode.ts:999 SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 430 ComfyNode _resolveInputWidget @ SubgraphNode.ts:999 SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 457 ComfyNode _resolveInputWidget @ SubgraphNode.ts:999 SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 431 ComfyNode _resolveInputWidget @ SubgraphNode.ts:999 SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 432 ComfyNode _resolveInputWidget @ SubgraphNode.ts:999 SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 400 ComfyNode _resolveInputWidget @ SubgraphNode.ts:999 SubgraphInput.ts:156 Link not found 423 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphInput.ts:156 Link not found 424 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphInput.ts:156 Link not found 425 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphInput.ts:156 Link not found 430 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphInput.ts:156 Link not found 457 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphInput.ts:156 Link not found 431 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphInput.ts:156 Link not found 432 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphInput.ts:156 Link not found 400 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphInput.ts:156 Link not found 423 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphInput.ts:156 Link not found 424 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphInput.ts:156 Link not found 425 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphInput.ts:156 Link not found 430 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphInput.ts:156 Link not found 457 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphInput.ts:156 Link not found 431 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphInput.ts:156 Link not found 432 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphInput.ts:156 Link not found 400 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 423 ComfyNode _resolveInputWidget @ SubgraphNode.ts:999 SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 424 ComfyNode _resolveInputWidget @ SubgraphNode.ts:999 SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 425 ComfyNode _resolveInputWidget @ SubgraphNode.ts:999 SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 430 ComfyNode _resolveInputWidget @ SubgraphNode.ts:999 SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 457 ComfyNode _resolveInputWidget @ SubgraphNode.ts:999 SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 431 ComfyNode _resolveInputWidget @ SubgraphNode.ts:999 SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 432 ComfyNode _resolveInputWidget @ SubgraphNode.ts:999 SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 400 ComfyNode _resolveInputWidget @ SubgraphNode.ts:999 SubgraphInput.ts:156 Link not found 423 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphInput.ts:156 Link not found 424 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphInput.ts:156 Link not found 425 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphInput.ts:156 Link not found 430 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphInput.ts:156 Link not found 457 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphInput.ts:156 Link not found 431 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphInput.ts:156 Link not found 432 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphInput.ts:156 Link not found 400 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphInput.ts:156 Link not found 423 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphInput.ts:156 Link not found 424 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphInput.ts:156 Link not found 425 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphInput.ts:156 Link not found 430 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphInput.ts:156 Link not found 457 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphInput.ts:156 Link not found 431 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphInput.ts:156 Link not found 432 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphInput.ts:156 Link not found 400 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 315 ComfyNode _resolveInputWidget @ SubgraphNode.ts:999 SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 412 ComfyNode _resolveInputWidget @ SubgraphNode.ts:999 SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 428 ComfyNode _resolveInputWidget @ SubgraphNode.ts:999 SubgraphInput.ts:156 Link not found 315 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphInput.ts:156 Link not found 412 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphInput.ts:156 Link not found 428 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphInput.ts:156 Link not found 315 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphInput.ts:156 Link not found 412 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphInput.ts:156 Link not found 428 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 315 ComfyNode _resolveInputWidget @ SubgraphNode.ts:999 SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 412 ComfyNode _resolveInputWidget @ SubgraphNode.ts:999 SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 428 ComfyNode _resolveInputWidget @ SubgraphNode.ts:999 SubgraphInput.ts:156 Link not found 315 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphInput.ts:156 Link not found 412 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphInput.ts:156 Link not found 428 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphInput.ts:156 Link not found 315 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphInput.ts:156 Link not found 412 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphInput.ts:156 Link not found 428 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphNode.ts:1014 Failed to find corresponding input LLink ComfyNode _resolveInputWidget @ SubgraphNode.ts:1014 SubgraphNode.ts:1014 Failed to find corresponding input LLink ComfyNode _resolveInputWidget @ SubgraphNode.ts:1014 SubgraphNode.ts:1014 Failed to find corresponding input LLink ComfyNode _resolveInputWidget @ SubgraphNode.ts:1014 SubgraphNode.ts:1014 Failed to find corresponding input LLink ComfyNode _resolveInputWidget @ SubgraphNode.ts:1014 SubgraphNode.ts:1014 Failed to find corresponding input LLink ComfyNode _resolveInputWidget @ SubgraphNode.ts:1014 SubgraphNode.ts:1014 Failed to find corresponding input LLink ComfyNode _resolveInputWidget @ SubgraphNode.ts:1014 SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 423 ComfyNode _resolveInputWidget @ SubgraphNode.ts:999 SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 424 ComfyNode _resolveInputWidget @ SubgraphNode.ts:999 SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 425 ComfyNode _resolveInputWidget @ SubgraphNode.ts:999 SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 430 ComfyNode _resolveInputWidget @ SubgraphNode.ts:999 SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 457 ComfyNode _resolveInputWidget @ SubgraphNode.ts:999 SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 431 ComfyNode _resolveInputWidget @ SubgraphNode.ts:999 SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 432 ComfyNode _resolveInputWidget @ SubgraphNode.ts:999 SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 400 ComfyNode _resolveInputWidget @ SubgraphNode.ts:999 SubgraphInput.ts:156 Link not found 423 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphInput.ts:156 Link not found 424 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphInput.ts:156 Link not found 425 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphInput.ts:156 Link not found 430 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphInput.ts:156 Link not found 457 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphInput.ts:156 Link not found 431 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphInput.ts:156 Link not found 432 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphInput.ts:156 Link not found 400 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphInput.ts:156 Link not found 423 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphInput.ts:156 Link not found 424 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphInput.ts:156 Link not found 425 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphInput.ts:156 Link not found 430 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphInput.ts:156 Link not found 457 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphInput.ts:156 Link not found 431 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphInput.ts:156 Link not found 432 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphInput.ts:156 Link not found 400 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 423 ComfyNode _resolveInputWidget @ SubgraphNode.ts:999 SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 424 ComfyNode _resolveInputWidget @ SubgraphNode.ts:999 SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 425 ComfyNode _resolveInputWidget @ SubgraphNode.ts:999 SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 430 ComfyNode _resolveInputWidget @ SubgraphNode.ts:999 SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 457 ComfyNode _resolveInputWidget @ SubgraphNode.ts:999 SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 431 ComfyNode _resolveInputWidget @ SubgraphNode.ts:999 SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 432 ComfyNode _resolveInputWidget @ SubgraphNode.ts:999 SubgraphNode.ts:999 [SubgraphNode.configure] No link found for link ID 400 ComfyNode _resolveInputWidget @ SubgraphNode.ts:999 SubgraphInput.ts:156 Link not found 423 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphInput.ts:156 Link not found 424 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphInput.ts:156 Link not found 425 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphInput.ts:156 Link not found 430 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphInput.ts:156 Link not found 457 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphInput.ts:156 Link not found 431 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphInput.ts:156 Link not found 432 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphInput.ts:156 Link not found 400 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphInput.ts:156 Link not found 423 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphInput.ts:156 Link not found 424 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphInput.ts:156 Link not found 425 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphInput.ts:156 Link not found 430 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphInput.ts:156 Link not found 457 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphInput.ts:156 Link not found 431 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphInput.ts:156 Link not found 432 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphInput.ts:156 Link not found 400 getConnectedWidgets @ SubgraphInput.ts:156 SubgraphInput.ts:176 Widget not found Object getConnectedWidgets @ SubgraphInput.ts:176 SubgraphInput.ts:176 Widget not found Object getConnectedWidgets @ SubgraphInput.ts:176 SubgraphInput.ts:176 Widget not found Object getConnectedWidgets @ SubgraphInput.ts:176 SubgraphInput.ts:176 Widget not found Object getConnectedWidgets @ SubgraphInput.ts:176 SubgraphInput.ts:176 Widget not found Object getConnectedWidgets @ SubgraphInput.ts:176 SubgraphInput.ts:176 Widget not found Object getConnectedWidgets @ SubgraphInput.ts:176 SubgraphInput.ts:176 Widget not found Object getConnectedWidgets @ SubgraphInput.ts:176 SubgraphInput.ts:176 Widget not found Object getConnectedWidgets @ SubgraphInput.ts:176 SubgraphInput.ts:176 Widget not found Object getConnectedWidgets @ SubgraphInput.ts:176 SubgraphInput.ts:176 Widget not found Object getConnectedWidgets @ SubgraphInput.ts:176 SubgraphInput.ts:176 Widget not found Object getConnectedWidgets @ SubgraphInput.ts:176 SubgraphInput.ts:176 Widget not found Object getConnectedWidgets @ SubgraphInput.ts:176 SubgraphInput.ts:176 Widget not found Object getConnectedWidgets @ SubgraphInput.ts:176 SubgraphInput.ts:176 Widget not found Object getConnectedWidgets @ SubgraphInput.ts:176 SubgraphInput.ts:176 Widget not found Object getConnectedWidgets @ SubgraphInput.ts:176 SubgraphInput.ts:176 Widget not found Object getConnectedWidgets @ SubgraphInput.ts:176 ### Settings JSON [comfy.settings.json](https://github.com/user-attachments/files/26158605/comfy.settings.json) ### Other The fact that the bug only triggers when launching from the root level suggests the issue lies in how the Electron UI flattens the nested subgraph hierarchy when serializing the prompt to send to the backend. ┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-1669-Bug-Workflow-connections-broken-in-nested-subgraphs-when-launching-generation-from--32a6d73d365081b0be4be5eb265da68e) by [Unito](https://www.unito.io)
Author
Owner

@JiwaniZakir commented on GitHub (Apr 1, 2026):

The error output shows node IDs in colon-separated notation (e.g., 171:245:258:121), which is how ComfyUI flattens nested subgraph nodes into a prompt — the missing image inputs indicate those cross-subgraph links aren't being resolved when the prompt is serialized from the root context. The fact that it works from inside the parent subgraph, via the browser, and via PNG drag-and-drop strongly suggests the Electron frontend is taking a different code path when building the prompt from the root graph level, likely failing to correctly traverse and remap link IDs across subgraph boundaries before dispatch. A likely culprit is any Electron-specific interception layer (IPC handler or preload script) that post-processes or re-serializes the prompt object after app.queuePrompt() — this could be stripping or mis-mapping the subgraph link references that LiteGraph only fully resolves when the active graph context is the root.

<!-- gh-comment-id:4172156365 --> @JiwaniZakir commented on GitHub (Apr 1, 2026): The error output shows node IDs in colon-separated notation (e.g., `171:245:258:121`), which is how ComfyUI flattens nested subgraph nodes into a prompt — the missing `image` inputs indicate those cross-subgraph links aren't being resolved when the prompt is serialized from the root context. The fact that it works from inside the parent subgraph, via the browser, and via PNG drag-and-drop strongly suggests the Electron frontend is taking a different code path when building the prompt from the root graph level, likely failing to correctly traverse and remap link IDs across subgraph boundaries before dispatch. A likely culprit is any Electron-specific interception layer (IPC handler or preload script) that post-processes or re-serializes the prompt object after `app.queuePrompt()` — this could be stripping or mis-mapping the subgraph link references that LiteGraph only fully resolves when the active graph context is the root.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Comfy-Org/desktop#498
No description provided.