mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #6048] [Issue]: Remote Memory Nag client rejects configured X-Admin-Secret header #3356
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#3356
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 (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
Environment
49b1bd2a02)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)
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@Romuromylus commented on GitHub (Sep 11, 2026):
The Engine side checks out:
api-client.tsattaches the saved secret on every request andprivileged-gate.tscompares it correctly. The failing header comes from the Memory Nag package client, which only attachesX-Admin-Secretwhen 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.@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
stagingcatalog 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.