mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #5347] [Issue]: SwarmUI connections time out during long image generation #2957
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#2957
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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 @SpicyMarinara on GitHub (Aug 21, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5347
Originally assigned to: @SpicyMarinara on GitHub.
Summary
SwarmUI connections in Marinara Engine 2.4.4 still time out prematurely while image generation is ongoing. The timeout occurs after approximately 20–40 seconds, although generation takes approximately 60–120 seconds.
Expected behavior
The SwarmUI connection should remain active until generation completes and return the generated image successfully.
Actual behavior
The connection times out after approximately 20–40 seconds while generation is still in progress. The reported logs show fetch failures with read ETIMEDOUT, and image generation fails.
Steps to reproduce
Environment
9a810f64ed)Logs, screenshots, or video
Attached image: https://cdn.discordapp.com/attachments/1540136011588173874/1540136011806408734/image.png?ex=6a88daef&is=6a87896f&hm=13a3b5583e77f930d8ddfefebef158b21c05af6a3b2d2a85cb7b7b41323d71cb&
Logs:
{"level":40,"time":1787269440544,"pid":9,"hostname":"c285ef71bc77","err":{"type":"TypeError","message":"fetch failed: read ETIMEDOUT","stack":"TypeError: fetch failed\ncaused by: Error: read ETIMEDOUT\n at TCP.onStreamRead (node:internal/stream_base_commons:216:20)"},"msg":"[retry-agents] Illustrator image variant 1 failed"}
{"level":50,"time":1787269440545,"pid":9,"hostname":"c285ef71bc77","err":{"type":"TypeError","message":"fetch failed: read ETIMEDOUT","stack":"TypeError: fetch failed\ncaused by: Error: read ETIMEDOUT\n at TCP.onStreamRead (node:internal/stream_base_commons:216:20)"},"msg":"[retry-agents] Illustrator image generation failed"}
Additional context
This is reported as a regression and a duplicate of a previous SwarmUI connection timeout bug. The report suspects that HTTP requests to /API/GenerateText2Image remain quiet during generation and time out, and suggests evaluating the websocket-based /API/GenerateText2ImageWS endpoint to provide continuous generation progress feedback.
Discord thread: [Bug]: SwarmUI Connection Timeouts
Discord thread link: https://discord.com/channels/1417099416812392641/1540136011588173874
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)
Discord thread transcript (2 messages)
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@SpicyMarinara commented on GitHub (Aug 21, 2026):
Resolved in #5350 and landed on
staging.