[GH-ISSUE #852] [Issue]: Illustrator agent NovelAI generation fails while connection test succeeds #408

Closed
opened 2026-10-20 17:28:33 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @cha1latte on GitHub (May 14, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/852

Originally assigned to: @cha1latte on GitHub.

Summary

The Illustrator agent fails to generate an image through NovelAI, even though testing the NovelAI connection itself successfully generates an image.

Source: Discord report from TuGunJr. https://discord.com/channels/1417099416812392641/1504510805016838195

Expected behavior

If the NovelAI image generation connection test succeeds, the Illustrator agent should be able to generate an image through the same configured connection, or should show an actionable error explaining the difference.

Actual behavior

The Illustrator agent fails image generation. The reporter tested with reference images both enabled and disabled. The connection test itself generates an image.

Server logs show NovelAI image generation failed (500): {"statusCode":500,"message":"Internal Server Error"} from generateNovelAI, called through applyRetryResultEffects in retry-agents-route.js.

Steps to reproduce

  1. Configure NovelAI image generation.
  2. Verify that testing the connection itself successfully generates an image.
  3. Use the Illustrator agent to generate an image.
  4. Test with reference images enabled and disabled.
  5. Observe that the Illustrator agent image generation fails.

Marinara Engine version

Not specified.

Install type

Termux is implied by the log paths under /data/data/com.termux/files/home/Marinara-Engine, but the reporter did not explicitly state install type in this report.

OS + version

Android/Termux implied by paths, exact OS version not specified in this report.

Browser or app shell

Not specified.

Screenshots or video

Not a visual/UI issue. A log text attachment was referenced in Discord, but no uploadable file was provided to Codex. Relevant pasted log lines are included below.

Logs

{"level":40,"time":1778764352698,"pid":9819,"hostname":"localhost","msg":"[memory-recall] Local embeddings are unavailable and no embedding connection is configured"}
{"level":40,"time":1778764404147,"pid":9819,"hostname":"localhost","msg":"[memory-recall] Local embeddings are unavailable and no embedding connection is configured"}
{"level":50,"time":1778770464652,"pid":9819,"hostname":"localhost","err":{"type":"Error","message":"NovelAI image generation failed (500): {\"statusCode\":500,\"message\":\"Internal Server Error\"}\n","stack":"Error: NovelAI image generation failed (500): {\"statusCode\":500,\"message\":\"Internal Server Error\"}\n\n at generateNovelAI (file:///data/data/com.termux/files/home/Marinara-Engine/packages/server/dist/services/image/image-generation.js:865:15)\n at async applyRetryResultEffects (file:///data/data/com.termux/files/home/Marinara-Engine/packages/server/dist/routes/generate/retry-agents-route.js:1433:49)\n at async Object.<anonymous> (file:///data/data/com.termux/files/home/Marinara-Engine/packages/server/dist/routes/generate/retry-agents-route.js:1740:13)"},"msg":"[retry-agents] Illustrator image generation failed"}
{"level":50,"time":1778770902872,"pid":9819,"hostname":"localhost","err":{"type":"Error","message":"NovelAI image generation failed (500): {\"statusCode\":500,\"message\":\"Internal Server Error\"}\n","stack":"Error: NovelAI image generation failed (500): {\"statusCode\":500,\"message\":\"Internal Server Error\"}\n\n at generateNovelAI (file:///data/data/com.termux/files/home/Marinara-Engine/packages/server/dist/services/image/image-generation.js:865:15)\n at async applyRetryResultEffects (file:///data/data/com.termux/files/home/Marinara-Engine/packages/server/dist/routes/generate/retry-agents-route.js:1433:49)\n at async Object.<anonymous> (file:///data/data/com.termux/files/home/Marinara-Engine/packages/server/dist/routes/generate/retry-agents-route.js:1740:13)"},"msg":"[retry-agents] Illustrator image generation failed"}
{"level":50,"time":1778770983348,"pid":9819,"hostname":"localhost","err":{"type":"Error","message":"NovelAI image generation failed (500): {\"statusCode\":500,\"message\":\"Internal Server Error\"}\n","stack":"Error: NovelAI image generation failed (500): {\"statusCode\":500,\"message\":\"Internal Server Error\"}\n\n at generateNovelAI (file:///data/data/com.termux/files/home/Marinara-Engine/packages/server/dist/services/image/image-generation.js:865:15)\n at async applyRetryResultEffects (file:///data/data/com.termux/files/home/Marinara-Engine/packages/server/dist/routes/generate/retry-agents-route.js:1433:49)\n at async Object.<anonymous> (file:///data/data/com.termux/files/home/Marinara-Engine/packages/server/dist/routes/generate/retry-agents-route.js:1740:13)"},"msg":"[retry-agents] Illustrator image generation failed"}

Additional context

Follow-up comment from another user: "NovelAI doesn't work well with Marinara."

Template check

  • I provided the required summary, behavior, reproduction, and environment details.
  • If this is a visual/UI bug, blank screen, layout issue, mobile/responsive issue, incorrect image or sprite, broken animation, or unexpected error state, I attached screenshots or video.
Originally created by @cha1latte on GitHub (May 14, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/852 Originally assigned to: @cha1latte on GitHub. ### Summary The Illustrator agent fails to generate an image through NovelAI, even though testing the NovelAI connection itself successfully generates an image. Source: Discord report from TuGunJr. https://discord.com/channels/1417099416812392641/1504510805016838195 ### Expected behavior If the NovelAI image generation connection test succeeds, the Illustrator agent should be able to generate an image through the same configured connection, or should show an actionable error explaining the difference. ### Actual behavior The Illustrator agent fails image generation. The reporter tested with reference images both enabled and disabled. The connection test itself generates an image. Server logs show `NovelAI image generation failed (500): {"statusCode":500,"message":"Internal Server Error"}` from `generateNovelAI`, called through `applyRetryResultEffects` in `retry-agents-route.js`. ### Steps to reproduce 1. Configure NovelAI image generation. 2. Verify that testing the connection itself successfully generates an image. 3. Use the Illustrator agent to generate an image. 4. Test with reference images enabled and disabled. 5. Observe that the Illustrator agent image generation fails. ### Marinara Engine version Not specified. ### Install type Termux is implied by the log paths under `/data/data/com.termux/files/home/Marinara-Engine`, but the reporter did not explicitly state install type in this report. ### OS + version Android/Termux implied by paths, exact OS version not specified in this report. ### Browser or app shell Not specified. ### Screenshots or video Not a visual/UI issue. A log text attachment was referenced in Discord, but no uploadable file was provided to Codex. Relevant pasted log lines are included below. ### Logs ```json {"level":40,"time":1778764352698,"pid":9819,"hostname":"localhost","msg":"[memory-recall] Local embeddings are unavailable and no embedding connection is configured"} {"level":40,"time":1778764404147,"pid":9819,"hostname":"localhost","msg":"[memory-recall] Local embeddings are unavailable and no embedding connection is configured"} {"level":50,"time":1778770464652,"pid":9819,"hostname":"localhost","err":{"type":"Error","message":"NovelAI image generation failed (500): {\"statusCode\":500,\"message\":\"Internal Server Error\"}\n","stack":"Error: NovelAI image generation failed (500): {\"statusCode\":500,\"message\":\"Internal Server Error\"}\n\n at generateNovelAI (file:///data/data/com.termux/files/home/Marinara-Engine/packages/server/dist/services/image/image-generation.js:865:15)\n at async applyRetryResultEffects (file:///data/data/com.termux/files/home/Marinara-Engine/packages/server/dist/routes/generate/retry-agents-route.js:1433:49)\n at async Object.<anonymous> (file:///data/data/com.termux/files/home/Marinara-Engine/packages/server/dist/routes/generate/retry-agents-route.js:1740:13)"},"msg":"[retry-agents] Illustrator image generation failed"} {"level":50,"time":1778770902872,"pid":9819,"hostname":"localhost","err":{"type":"Error","message":"NovelAI image generation failed (500): {\"statusCode\":500,\"message\":\"Internal Server Error\"}\n","stack":"Error: NovelAI image generation failed (500): {\"statusCode\":500,\"message\":\"Internal Server Error\"}\n\n at generateNovelAI (file:///data/data/com.termux/files/home/Marinara-Engine/packages/server/dist/services/image/image-generation.js:865:15)\n at async applyRetryResultEffects (file:///data/data/com.termux/files/home/Marinara-Engine/packages/server/dist/routes/generate/retry-agents-route.js:1433:49)\n at async Object.<anonymous> (file:///data/data/com.termux/files/home/Marinara-Engine/packages/server/dist/routes/generate/retry-agents-route.js:1740:13)"},"msg":"[retry-agents] Illustrator image generation failed"} {"level":50,"time":1778770983348,"pid":9819,"hostname":"localhost","err":{"type":"Error","message":"NovelAI image generation failed (500): {\"statusCode\":500,\"message\":\"Internal Server Error\"}\n","stack":"Error: NovelAI image generation failed (500): {\"statusCode\":500,\"message\":\"Internal Server Error\"}\n\n at generateNovelAI (file:///data/data/com.termux/files/home/Marinara-Engine/packages/server/dist/services/image/image-generation.js:865:15)\n at async applyRetryResultEffects (file:///data/data/com.termux/files/home/Marinara-Engine/packages/server/dist/routes/generate/retry-agents-route.js:1433:49)\n at async Object.<anonymous> (file:///data/data/com.termux/files/home/Marinara-Engine/packages/server/dist/routes/generate/retry-agents-route.js:1740:13)"},"msg":"[retry-agents] Illustrator image generation failed"} ``` ### Additional context Follow-up comment from another user: "NovelAI doesn't work well with Marinara." ### Template check - [ ] I provided the required summary, behavior, reproduction, and environment details. - [ ] If this is a visual/UI bug, blank screen, layout issue, mobile/responsive issue, incorrect image or sprite, broken animation, or unexpected error state, I attached screenshots or video.
bsakaguchi 2026-10-20 17:28:33 +07:00
  • closed this issue
  • added the
    server
    bug
    labels
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
Pasta-Devs/Marinara-Engine#408
No description provided.