[GH-ISSUE #855] [Issue]: Slurp2 images fail with 403 X-Admin-Secret, and image custom parameters (LoRA) are not sent #453

Closed
opened 2026-10-20 17:27:42 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @Gunterlie on GitHub (Sep 14, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/855

Summary

Two Slurp2 bugs in 0.0.9:

  1. Some Slurp images do not load and the request returns 403 "Invalid or missing X-Admin-Secret header".
  2. Slurp image generation ignores the image connection's custom parameters (for example LoRA fields such as lora_url_1 and lora_scale_1), which Marinara Engine now supports (Pasta-Devs/Marinara-Engine#6167).

Affected package

slurp2

Expected behavior

  1. Post images, comment images, profile banners, inline ads, the ad list in Settings, and project partner avatars load on every install, including remote installs that use ADMIN_SECRET.
  2. Custom parameters set on an image generation connection are sent with Slurp image requests, the same as with Engine image generation.

Actual behavior

  1. On a remote install (LAN, reverse proxy, or tunnel) with ADMIN_SECRET, these images use a plain <img src>. A plain src cannot send the X-Admin-Secret header, so the Engine privileged route gate returns 403 and the image does not show. Loopback installs are not affected.
  2. Slurp builds its image requests with its vendored copy of the Engine image generation code. That copy does not have the custom parameters support, so LoRA fields are not sent.

Steps to reproduce

  1. Run Marinara Engine with ADMIN_SECRET set and open it from another device (not localhost).
  2. Open Slurp and look at a post with an image, a comment image, a profile banner, or an inline ad.
  3. The image does not load; the browser network panel shows 403 "Invalid or missing X-Admin-Secret header".

For custom parameters:

  1. Add {"lora_url_1": "https://…", "lora_scale_1": 1} to an API image generation connection.
  2. Use that connection for Slurp images and enable image debug logging.
  3. The Slurp request payload does not contain the LoRA fields.

Environment

  • Marinara Engine version: staging with Pasta-Devs/Marinara-Engine#6168
  • Package version: slurp2 0.0.9
  • Install type: user report (remote access with ADMIN_SECRET)
  • OS + version: not provided
  • Browser or app shell: not provided

Logs, screenshots, or video

403 {"error":"Invalid or missing X-Admin-Secret header"} on /api/slurp2/... image URLs.

Additional context

Engine issue for custom parameters: https://github.com/Pasta-Devs/Marinara-Engine/issues/6167

Originally created by @Gunterlie on GitHub (Sep 14, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/855 ## Summary Two Slurp2 bugs in 0.0.9: 1. Some Slurp images do not load and the request returns **403 "Invalid or missing X-Admin-Secret header"**. 2. Slurp image generation ignores the image connection's **custom parameters** (for example LoRA fields such as `lora_url_1` and `lora_scale_1`), which Marinara Engine now supports (Pasta-Devs/Marinara-Engine#6167). ## Affected package `slurp2` ## Expected behavior 1. Post images, comment images, profile banners, inline ads, the ad list in Settings, and project partner avatars load on every install, including remote installs that use `ADMIN_SECRET`. 2. Custom parameters set on an image generation connection are sent with Slurp image requests, the same as with Engine image generation. ## Actual behavior 1. On a remote install (LAN, reverse proxy, or tunnel) with `ADMIN_SECRET`, these images use a plain `<img src>`. A plain `src` cannot send the `X-Admin-Secret` header, so the Engine privileged route gate returns 403 and the image does not show. Loopback installs are not affected. 2. Slurp builds its image requests with its vendored copy of the Engine image generation code. That copy does not have the custom parameters support, so LoRA fields are not sent. ## Steps to reproduce 1. Run Marinara Engine with `ADMIN_SECRET` set and open it from another device (not localhost). 2. Open Slurp and look at a post with an image, a comment image, a profile banner, or an inline ad. 3. The image does not load; the browser network panel shows 403 "Invalid or missing X-Admin-Secret header". For custom parameters: 1. Add `{"lora_url_1": "https://…", "lora_scale_1": 1}` to an API image generation connection. 2. Use that connection for Slurp images and enable image debug logging. 3. The Slurp request payload does not contain the LoRA fields. ## Environment - Marinara Engine version: staging with Pasta-Devs/Marinara-Engine#6168 - Package version: slurp2 0.0.9 - Install type: user report (remote access with `ADMIN_SECRET`) - OS + version: not provided - Browser or app shell: not provided ## Logs, screenshots, or video `403 {"error":"Invalid or missing X-Admin-Secret header"}` on `/api/slurp2/...` image URLs. ## Additional context Engine issue for custom parameters: https://github.com/Pasta-Devs/Marinara-Engine/issues/6167
bsakaguchi 2026-10-20 17:27:42 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@Gunterlie commented on GitHub (Sep 14, 2026):

Fixed in staging by #856 (merge commit f9e8cfb1e), released as slurp2 0.0.10.

<!-- gh-comment-id:5670905254 --> @Gunterlie commented on GitHub (Sep 14, 2026): Fixed in staging by #856 (merge commit f9e8cfb1e), released as slurp2 0.0.10.
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-Agents#453
No description provided.