mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #7526] [Issue]: ComfyUI image output rejected by 30 MiB response limit #4190
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#4190
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 (Oct 13, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7526
Originally assigned to: @Gunterlie on GitHub.
Summary
ComfyUI image generation fails when the returned output exceeds 31,457,280 bytes (30 MiB). The reported output contains metadata with many Base64-encoded reference images.
Expected behavior
Marinara Engine should accept large ComfyUI image outputs or clearly expose the response-size restriction and how to address it.
Actual behavior
The primary image generation fails with "Outbound response exceeded 31457280 bytes". The server logs an illustrator fallback attempt using another connection; the final outcome is not provided.
Steps to reproduce
Environment
Logs, screenshots, or video
Server log: level 40; route /api/generate/retry-agents; requestId 36efca77-d9c6-40f9-b799-68361e6c1554. Error: "Outbound response exceeded 31457280 bytes". Stack: readCappedResponse (packages/server/dist/utils/security.js:347:23) → generateComfyUI (services/image/image-generation.js:2953:37) → withConnectionAdmission (services/generation/connection-admission.js:148:24) → generateImageUncapped (services/image/image-generation.js:249:31) → runMediaGenerationRequest (services/image/image-generation-queue.js:212:20 and :237:20) → generateIllustratorImageVariants (services/image/illustrator-image-variants.js:8:26) → applyRetryResultEffects (routes/generate/retry-agents-route.js:2976:46) → Object. (routes/generate/retry-agents-route.js:4256:13). Log message: "[illustrator-fallback] Primary image generation failed; retrying with connection ()". No screenshots or video provided.
Additional context
The reporter attributes the large output to retained ComfyUI metadata containing many Base64-encoded reference images and states that --no-metadata was not enabled. No test with metadata disabled or Support Diagnostic was provided. The logged hostname is "pop-os", but the OS and version were not explicitly stated.
Discord thread: 31457280 Bytes File Limit On Image Generation
Discord thread link: https://discord.com/channels/1417099416812392641/1559574974014951464
Requested by: gunterlie (gunterlie, Discord ID 282074442962829312)
Discord thread transcript (7 messages)
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked: