Comfyui workflow node error timeout #770

Closed
opened 2026-02-16 10:20:27 -05:00 by yindo · 1 comment
Owner

Originally created by @WUW9150 on GitHub (Nov 2, 2025).

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues Dify issues & Dify Official Plugins, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.9.1

Plugin version

0.32

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

Image As shown in the image, I uploaded a picture, and an error occurred after running the workflow for 5 seconds. The comfyui workflow content is as follows: `{ "6": { "inputs": { "text": " natural illustration style The overall style is strongly hand-drawn, with a soft color palette, rich details, emphasizing the texture and freshness of the food.", "clip": [ "30", 1 ] }, "class_type": "CLIPTextEncode", "_meta": { "title": "CLIP文本编码器" } }, "8": { "inputs": { "samples": [ "31", 0 ], "vae": [ "30", 2 ] }, "class_type": "VAEDecode", "_meta": { "title": "VAE解码" } }, "9": { "inputs": { "filename_prefix": "ComfyUI", "images": [ "8", 0 ] }, "class_type": "SaveImage", "_meta": { "title": "保存图像" } }, "30": { "inputs": { "ckpt_name": "flux1-dev-fp8.safetensors" }, "class_type": "CheckpointLoaderSimple", "_meta": { "title": "Checkpoint加载器(简易)" } }, "31": { "inputs": { "seed": 1058487910949722, "steps": 20, "cfg": 1, "sampler_name": "euler", "scheduler": "simple", "denoise": 1, "model": [ "43", 0 ], "positive": [ "115", 0 ], "negative": [ "119", 0 ], "latent_image": [ "110", 0 ] }, "class_type": "KSampler", "_meta": { "title": "K采样器" } }, "43": { "inputs": { "lora_name": "uso-flux1-dit-lora-v1.safetensors", "strength_model": 1, "model": [ "30", 0 ] }, "class_type": "LoraLoaderModelOnly", "_meta": { "title": "LoRA加载器(仅模型)" } }, "47": { "inputs": { "image": "食堂饭.jpg" }, "class_type": "LoadImage", "_meta": { "title": "加载图像" } }, "51": { "inputs": { "pixels": [ "118", 0 ], "vae": [ "30", 2 ] }, "class_type": "VAEEncode", "_meta": { "title": "VAE编码" } }, "110": { "inputs": { "width": 512, "height": 512, "batch_size": 1 }, "class_type": "EmptySD3LatentImage", "_meta": { "title": "空Latent_SD3" } }, "113": { "inputs": { "conditioning": [ "6", 0 ], "latent": [ "51", 0 ] }, "class_type": "ReferenceLatent", "_meta": { "title": "ReferenceLatent" } }, "114": { "inputs": { "reference_latents_method": "uxo/uno", "conditioning": [ "113", 0 ] }, "class_type": "FluxKontextMultiReferenceLatentMethod", "_meta": { "title": "FluxKontextMultiReferenceLatentMethod" } }, "115": { "inputs": { "guidance": 3.5, "conditioning": [ "114", 0 ] }, "class_type": "FluxGuidance", "_meta": { "title": "Flux引导" } }, "118": { "inputs": { "upscale_method": "nearest-exact", "width": 512, "height": 512, "crop": "disabled", "image": [ "47", 0 ] }, "class_type": "ImageScale", "_meta": { "title": "图像缩放" } }, "119": { "inputs": { "text": "low quality,bad quality,blurry, pixelated, deformed, disfigured,ugly,noisy,grainy", "clip": [ "30", 1 ] }, "class_type": "CLIPTextEncode", "_meta": { "title": "CLIP文本编码器" } } }` I can use the basic workflow and it works fine.

✔️ Error log

Run failed: An error occurred in the plugin, please contact the author of langgenius/comfyui/comfyui for help, error type: ReadTimeout, error details: timed out

Originally created by @WUW9150 on GitHub (Nov 2, 2025). ### Self Checks - [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [x] I have searched for existing issues [Dify issues](https://github.com/langgenius/dify/issues) & [Dify Official Plugins](https://github.com/langgenius/dify-official-plugins/issues), including closed ones. - [x] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version 1.9.1 ### Plugin version 0.32 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce <img width="1071" height="730" alt="Image" src="https://github.com/user-attachments/assets/9ff984d4-7ada-434e-a032-9d40a773a05e" /> As shown in the image, I uploaded a picture, and an error occurred after running the workflow for 5 seconds. The comfyui workflow content is as follows: `{ "6": { "inputs": { "text": " natural illustration style The overall style is strongly hand-drawn, with a soft color palette, rich details, emphasizing the texture and freshness of the food.", "clip": [ "30", 1 ] }, "class_type": "CLIPTextEncode", "_meta": { "title": "CLIP文本编码器" } }, "8": { "inputs": { "samples": [ "31", 0 ], "vae": [ "30", 2 ] }, "class_type": "VAEDecode", "_meta": { "title": "VAE解码" } }, "9": { "inputs": { "filename_prefix": "ComfyUI", "images": [ "8", 0 ] }, "class_type": "SaveImage", "_meta": { "title": "保存图像" } }, "30": { "inputs": { "ckpt_name": "flux1-dev-fp8.safetensors" }, "class_type": "CheckpointLoaderSimple", "_meta": { "title": "Checkpoint加载器(简易)" } }, "31": { "inputs": { "seed": 1058487910949722, "steps": 20, "cfg": 1, "sampler_name": "euler", "scheduler": "simple", "denoise": 1, "model": [ "43", 0 ], "positive": [ "115", 0 ], "negative": [ "119", 0 ], "latent_image": [ "110", 0 ] }, "class_type": "KSampler", "_meta": { "title": "K采样器" } }, "43": { "inputs": { "lora_name": "uso-flux1-dit-lora-v1.safetensors", "strength_model": 1, "model": [ "30", 0 ] }, "class_type": "LoraLoaderModelOnly", "_meta": { "title": "LoRA加载器(仅模型)" } }, "47": { "inputs": { "image": "食堂饭.jpg" }, "class_type": "LoadImage", "_meta": { "title": "加载图像" } }, "51": { "inputs": { "pixels": [ "118", 0 ], "vae": [ "30", 2 ] }, "class_type": "VAEEncode", "_meta": { "title": "VAE编码" } }, "110": { "inputs": { "width": 512, "height": 512, "batch_size": 1 }, "class_type": "EmptySD3LatentImage", "_meta": { "title": "空Latent_SD3" } }, "113": { "inputs": { "conditioning": [ "6", 0 ], "latent": [ "51", 0 ] }, "class_type": "ReferenceLatent", "_meta": { "title": "ReferenceLatent" } }, "114": { "inputs": { "reference_latents_method": "uxo/uno", "conditioning": [ "113", 0 ] }, "class_type": "FluxKontextMultiReferenceLatentMethod", "_meta": { "title": "FluxKontextMultiReferenceLatentMethod" } }, "115": { "inputs": { "guidance": 3.5, "conditioning": [ "114", 0 ] }, "class_type": "FluxGuidance", "_meta": { "title": "Flux引导" } }, "118": { "inputs": { "upscale_method": "nearest-exact", "width": 512, "height": 512, "crop": "disabled", "image": [ "47", 0 ] }, "class_type": "ImageScale", "_meta": { "title": "图像缩放" } }, "119": { "inputs": { "text": "low quality,bad quality,blurry, pixelated, deformed, disfigured,ugly,noisy,grainy", "clip": [ "30", 1 ] }, "class_type": "CLIPTextEncode", "_meta": { "title": "CLIP文本编码器" } } }` I can use the basic workflow and it works fine. ### ✔️ Error log Run failed: An error occurred in the plugin, please contact the author of langgenius/comfyui/comfyui for help, error type: ReadTimeout, error details: timed out
yindo added the bug label 2026-02-16 10:20:27 -05:00
yindo closed this issue 2026-02-16 10:20:27 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Nov 2, 2025):

Hi @WUW9150! I'm Dosu and I’m helping the dify-official-plugins team.

Your ComfyUI workflow timeout is likely caused by the workflow JSON format or node compatibility. The plugin expects the workflow to use the nodes and links arrays format (exported from ComfyUI using "Save(API Format)" with Dev Mode enabled). Using numbered keys or hardcoded image names in LoadImage nodes can prevent the plugin from mapping uploaded files, resulting in timeouts. Upgrading to ComfyUI plugin v0.2.6+ is recommended, as it improves compatibility and file mapping. Also, check that your Docker .env has FILES_URL set to an accessible address and restart your containers after changes. Certain node types (like FluxKontextMultiReferenceLatentMethod) can also cause conversion failures in the plugin and should be avoided if possible. For more details and step-by-step fixes, see this issue and solution.

If you need to increase the timeout for plugin execution, set PLUGIN_MAX_EXECUTION_TIMEOUT and PYTHON_ENV_INIT_TIMEOUT in your docker-compose.yaml under the plugin_daemon section and restart your containers. See this configuration advice.

To reply, just mention @dosu.


How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other  Join Discord Share on X

@dosubot[bot] commented on GitHub (Nov 2, 2025): <!-- Greeting --> Hi @WUW9150! I'm [Dosu](https://go.dosu.dev/dosubot) and I’m helping the dify-official-plugins team. <!-- Answer --> Your ComfyUI workflow timeout is likely caused by the workflow JSON format or node compatibility. The plugin expects the workflow to use the `nodes` and `links` arrays format (exported from ComfyUI using "Save(API Format)" with Dev Mode enabled). Using numbered keys or hardcoded image names in `LoadImage` nodes can prevent the plugin from mapping uploaded files, resulting in timeouts. Upgrading to ComfyUI plugin v0.2.6+ is recommended, as it improves compatibility and file mapping. Also, check that your Docker `.env` has `FILES_URL` set to an accessible address and restart your containers after changes. Certain node types (like `FluxKontextMultiReferenceLatentMethod`) can also cause conversion failures in the plugin and should be avoided if possible. For more details and step-by-step fixes, see [this issue and solution](https://github.com/langgenius/dify-official-plugins/issues/1718). If you need to increase the timeout for plugin execution, set `PLUGIN_MAX_EXECUTION_TIMEOUT` and `PYTHON_ENV_INIT_TIMEOUT` in your `docker-compose.yaml` under the `plugin_daemon` section and restart your containers. See [this configuration advice](https://github.com/langgenius/dify/issues/20332#issuecomment-2914702874). <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/4d80f53a-0d23-4297-9a14-d9beee1381a5?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/4d80f53a-0d23-4297-9a14-d9beee1381a5?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/4d80f53a-0d23-4297-9a14-d9beee1381a5?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/4d80f53a-0d23-4297-9a14-d9beee1381a5?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/4d80f53a-0d23-4297-9a14-d9beee1381a5?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/4d80f53a-0d23-4297-9a14-d9beee1381a5?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/4d80f53a-0d23-4297-9a14-d9beee1381a5?feedback_type=other)</sup>&nbsp;&nbsp;[![Join Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share on X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/langgenius/dify-official-plugins/issues/1986)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#770