[GH-ISSUE #6048] [Issue]: Remote Memory Nag client rejects configured X-Admin-Secret header #3356

Closed
opened 2026-10-21 06:02:16 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @SpicyMarinara on GitHub (Sep 10, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6048

Originally assigned to: @Romuromylus on GitHub.

Summary

Memory Nag cannot create memories when used from a remote client. The client reports an X-Admin-Secret header problem even though the secret is configured on the server and saved on the client.

Expected behavior

The remote client should authenticate with the configured X-Admin-Secret and create memories successfully.

Actual behavior

Attempting to create memories from the remote client fails with an error indicating a problem with the X-Admin-Secret header.

Steps to reproduce

  1. Run Marinara Engine with Memory Nag v1.1.0 on the remote server.
  2. Configure the X-Admin-Secret header on the server.
  3. Enter and save the same X-Admin-Secret on the remote client.
  4. Use the remote client to select Create Memories.

Environment

  • Marinara Engine version: 2.4.5+49b1bd2a02b8 (commit 49b1bd2a02)
  • Install type: termux
  • OS + version: Server: Android / Termux 5.10.209-android12-9-o-g63fb7a145195 (arm64); Client: Windows 10.0
  • Browser or app shell: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:155.0) Gecko/20100101 Firefox/155.0

Logs, screenshots, or video

Two screenshots were attached: https://cdn.discordapp.com/attachments/1547608259043532830/1547608259601633411/image.png?ex=6aa40a02&is=6aa2b882&hm=bac1c3c2ecf504308363c849137e924dbe5b53e66efacf7875f10ec8a7450b0f and https://cdn.discordapp.com/attachments/1547608259043532830/1547608260297756672/image.png?ex=6aa40a02&is=6aa2b882&hm=85537bccf63e3d2fc59afed2945cdcc5211e580e547f83eb7948bc743fdf4e7e. No text logs were provided.

Additional context

Reported for Memory Nag v1.1.0 using a remote client. The X-Admin-Secret was configured on the server and written and saved on the client.

Discord thread: Memory Nag: Unable to Create Memories on Remote Client
Discord thread link: https://discord.com/channels/1417099416812392641/1547608259043532830
Requested by: Kuc0 (kuc0, Discord ID 108988150629531648)

Discord thread transcript (2 messages)
[2026-09-10T14:02:42.127Z] DSBwizzard: Marinara Engine diagnostics
Version: 2.4.5
Build: 2.4.5+49b1bd2a02b8
Commit: 49b1bd2a02b8
Server OS: Android / Termux 5.10.209-android12-9-o-g63fb7a145195 (arm64)

Client OS: Windows 10.0
Browser / app shell: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:155.0) Gecko/20100101 Firefox/155.0

**Memory Nag v1.1.0**
----

When I try to 'Create Memories' in Memory Nag using a remote Client, it is complaining about my X-Admin-Secret header, despite this being configured on my Server device, and written+saved in my Client device.

[attached image 1: https://cdn.discordapp.com/attachments/1547608259043532830/1547608259601633411/image.png?ex=6aa40a02&is=6aa2b882&hm=bac1c3c2ecf504308363c849137e924dbe5b53e66efacf7875f10ec8a7450b0f&]
[attached image 2: https://cdn.discordapp.com/attachments/1547608259043532830/1547608260297756672/image.png?ex=6aa40a02&is=6aa2b882&hm=85537bccf63e3d2fc59afed2945cdcc5211e580e547f83eb7948bc743fdf4e7e&]
[Discord message: https://discord.com/channels/1417099416812392641/1547608259043532830/1547608259043532830]

[2026-09-10T14:02:43.404Z] Professor Mari [bot]: Howdy!

Thank you for submitting a new bug report/feature request, your support means a lot. A member of the team will look into it as soon as possible, and if they find it valid, they will open a GitHub Issue out of it. You can check whether it was addressed on the staging build of Marinara Engine. **Do not ping any of the developers, this will not speed up the process.**

**Please include a Support Diagnostic in the post if you haven't done it yet.** Otherwise, ignore this step. To grab it, go to the Marinara Engine tab:

`Settings -> Advanced -> Support Diagnostics -> Copy Support Diagnostics.`

If your report is about any of the **Agents**, please provide **the Agent's version** which you can grab from here:

`Agents -> Download Agents -> Installed Agents -> Selected Agent -> Installed Version`

Thank you, this will help tremendously.

This is an automated message, but if you reply to it, I will do my best to assist you using my LLM-powered brain. That said, it's best for a human to handle this case.

Cheers!
[Discord message: https://discord.com/channels/1417099416812392641/1547608259043532830/1547608264399655104]

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @SpicyMarinara on GitHub (Sep 10, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6048 Originally assigned to: @Romuromylus on GitHub. ## Summary Memory Nag cannot create memories when used from a remote client. The client reports an X-Admin-Secret header problem even though the secret is configured on the server and saved on the client. ## Expected behavior The remote client should authenticate with the configured X-Admin-Secret and create memories successfully. ## Actual behavior Attempting to create memories from the remote client fails with an error indicating a problem with the X-Admin-Secret header. ## Steps to reproduce 1. Run Marinara Engine with Memory Nag v1.1.0 on the remote server. 2. Configure the X-Admin-Secret header on the server. 3. Enter and save the same X-Admin-Secret on the remote client. 4. Use the remote client to select Create Memories. ## Environment - Marinara Engine version: 2.4.5+49b1bd2a02b8 (commit 49b1bd2a02b8) - Install type: termux - OS + version: Server: Android / Termux 5.10.209-android12-9-o-g63fb7a145195 (arm64); Client: Windows 10.0 - Browser or app shell: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:155.0) Gecko/20100101 Firefox/155.0 ## Logs, screenshots, or video Two screenshots were attached: https://cdn.discordapp.com/attachments/1547608259043532830/1547608259601633411/image.png?ex=6aa40a02&is=6aa2b882&hm=bac1c3c2ecf504308363c849137e924dbe5b53e66efacf7875f10ec8a7450b0f and https://cdn.discordapp.com/attachments/1547608259043532830/1547608260297756672/image.png?ex=6aa40a02&is=6aa2b882&hm=85537bccf63e3d2fc59afed2945cdcc5211e580e547f83eb7948bc743fdf4e7e. No text logs were provided. ## Additional context Reported for Memory Nag v1.1.0 using a remote client. The X-Admin-Secret was configured on the server and written and saved on the client. Discord thread: Memory Nag: Unable to Create Memories on Remote Client Discord thread link: https://discord.com/channels/1417099416812392641/1547608259043532830 Requested by: Kuc0 (kuc0, Discord ID 108988150629531648) <details> <summary>Discord thread transcript (2 messages)</summary> ```text [2026-09-10T14:02:42.127Z] DSBwizzard: Marinara Engine diagnostics Version: 2.4.5 Build: 2.4.5+49b1bd2a02b8 Commit: 49b1bd2a02b8 Server OS: Android / Termux 5.10.209-android12-9-o-g63fb7a145195 (arm64) Client OS: Windows 10.0 Browser / app shell: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:155.0) Gecko/20100101 Firefox/155.0 **Memory Nag v1.1.0** ---- When I try to 'Create Memories' in Memory Nag using a remote Client, it is complaining about my X-Admin-Secret header, despite this being configured on my Server device, and written+saved in my Client device. [attached image 1: https://cdn.discordapp.com/attachments/1547608259043532830/1547608259601633411/image.png?ex=6aa40a02&is=6aa2b882&hm=bac1c3c2ecf504308363c849137e924dbe5b53e66efacf7875f10ec8a7450b0f&] [attached image 2: https://cdn.discordapp.com/attachments/1547608259043532830/1547608260297756672/image.png?ex=6aa40a02&is=6aa2b882&hm=85537bccf63e3d2fc59afed2945cdcc5211e580e547f83eb7948bc743fdf4e7e&] [Discord message: https://discord.com/channels/1417099416812392641/1547608259043532830/1547608259043532830] [2026-09-10T14:02:43.404Z] Professor Mari [bot]: Howdy! Thank you for submitting a new bug report/feature request, your support means a lot. A member of the team will look into it as soon as possible, and if they find it valid, they will open a GitHub Issue out of it. You can check whether it was addressed on the staging build of Marinara Engine. **Do not ping any of the developers, this will not speed up the process.** **Please include a Support Diagnostic in the post if you haven't done it yet.** Otherwise, ignore this step. To grab it, go to the Marinara Engine tab: `Settings -> Advanced -> Support Diagnostics -> Copy Support Diagnostics.` If your report is about any of the **Agents**, please provide **the Agent's version** which you can grab from here: `Agents -> Download Agents -> Installed Agents -> Selected Agent -> Installed Version` Thank you, this will help tremendously. This is an automated message, but if you reply to it, I will do my best to assist you using my LLM-powered brain. That said, it's best for a human to handle this case. Cheers! [Discord message: https://discord.com/channels/1417099416812392641/1547608259043532830/1547608264399655104] ``` </details> ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 06:02:16 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@Romuromylus commented on GitHub (Sep 11, 2026):

The Engine side checks out: api-client.ts attaches the saved secret on every request and privileged-gate.ts compares it correctly. The failing header comes from the Memory Nag package client, which only attaches X-Admin-Secret when the page is served over HTTPS, so a plain-HTTP remote client (LAN, Termux by IP) never sends it. Tracked as Pasta-Devs/Marinara-Agents#794 with the fix in Pasta-Devs/Marinara-Agents#795 (memory-nag 1.1.1). I will close this once that lands in the catalog.

<!-- gh-comment-id:5636358539 --> @Romuromylus commented on GitHub (Sep 11, 2026): The Engine side checks out: `api-client.ts` attaches the saved secret on every request and `privileged-gate.ts` compares it correctly. The failing header comes from the Memory Nag package client, which only attaches `X-Admin-Secret` when the page is served over HTTPS, so a plain-HTTP remote client (LAN, Termux by IP) never sends it. Tracked as Pasta-Devs/Marinara-Agents#794 with the fix in Pasta-Devs/Marinara-Agents#795 (memory-nag 1.1.1). I will close this once that lands in the catalog.
Author
Owner

@Romuromylus commented on GitHub (Sep 11, 2026):

Fixed on the package side: Pasta-Devs/Marinara-Agents#795 (memory-nag 1.1.1) merged into the Agents staging catalog as dbdd59740. The Memory Nag client now sends the saved admin secret on plain HTTP too, matching the Engine client. Update Memory Nag from Agents, Download Agents once the catalog refresh reaches your install.

<!-- gh-comment-id:5637079824 --> @Romuromylus commented on GitHub (Sep 11, 2026): Fixed on the package side: Pasta-Devs/Marinara-Agents#795 (memory-nag 1.1.1) merged into the Agents `staging` catalog as dbdd59740. The Memory Nag client now sends the saved admin secret on plain HTTP too, matching the Engine client. Update Memory Nag from Agents, Download Agents once the catalog refresh reaches your install.
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#3356
No description provided.