[GH-ISSUE #5030] [Issue]: Marinara Engine fails to open when CSRF_TRUSTED_ORIGINS is set to null #2781

Closed
opened 2026-10-21 05:55:22 +07:00 by bsakaguchi · 1 comment
Owner

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

Originally assigned to: @SpicyMarinara on GitHub.

Summary

After updating to the latest patch and reinstalling the app, Marinara Engine does not recognize the CSRF_TRUSTED_ORIGINS=null setting in the .env file. The app and browser cannot be opened.

Expected behavior

Marinara Engine should recognize the CSRF_TRUSTED_ORIGINS=null configuration and allow the app and browser to open normally.

Actual behavior

Marinara Engine fails to recognize CSRF_TRUSTED_ORIGINS=null, preventing the app and browser from opening.

Steps to reproduce

  1. Update Marinara Engine to the latest patch.
  2. Uninstall the previous app installation.
  3. Install the new app.
  4. Launch Marinara Engine and attempt to open the browser.
  5. Observe that the app cannot open because CSRF_TRUSTED_ORIGINS=null is not recognized.

Environment

  • Marinara Engine version: Not provided
  • Install type: Not provided
  • OS + version: Not provided
  • Browser or app shell: Not provided

Logs, screenshots, or video

Three screenshots were attached: https://cdn.discordapp.com/attachments/1537836590796247060/1537836590989049986/Screenshot_20260814-222408.png, https://cdn.discordapp.com/attachments/1537836590796247060/1537836591253430292/Screenshot_20260814-202329.png, https://cdn.discordapp.com/attachments/1537836590796247060/1537836591496568924/Screenshot_20260814-224750.png

Additional context

The issue was reported after updating to the latest patch. The user attempted troubleshooting with Gemini and reinstalled the app after uninstalling the old version.

Discord thread: Unable to open Marinara Engine App and browser due to CSRF_TRUSTED_ORIGINS=null not being recognized
Discord thread link: https://discord.com/channels/1417099416812392641/1537836590796247060
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)

Discord thread transcript (1 message)
[2026-08-14T14:53:34.868Z] Sonar: I'm boggling my mind and using Gemini to fix this problem but it seems that Marinara-Engine is unable to recognize the CSRF_TRUSTED_ORIGINS=null line in the .env

Don't know if there are others who are encountering the same thing after updating to the latest patch.

Edit: I've also uninstalled the old app and installed the new one.

[attached image 1: https://cdn.discordapp.com/attachments/1537836590796247060/1537836590989049986/Screenshot_20260814-222408.png?ex=6a807d6e&is=6a7f2bee&hm=9c0516829b655263a47445eec41c023de7530dd26b7f96283fc694eafd249101&]
[attached image 2: https://cdn.discordapp.com/attachments/1537836590796247060/1537836591253430292/Screenshot_20260814-202329.png?ex=6a807d6e&is=6a7f2bee&hm=f7f819bd7a826661aac72e89065dc3edc9c0c8e66ef1e9948e5d790549dfbc11&]
[attached image 3: https://cdn.discordapp.com/attachments/1537836590796247060/1537836591496568924/Screenshot_20260814-224750.png?ex=6a807d6f&is=6a7f2bef&hm=a8772054f8a1bcbc5e5c5c112dcb444311a0d9957c892043c25488765f6ef8af&]
[Discord message: https://discord.com/channels/1417099416812392641/1537836590796247060/1537836590796247060]

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 (Aug 14, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5030 Originally assigned to: @SpicyMarinara on GitHub. ## Summary After updating to the latest patch and reinstalling the app, Marinara Engine does not recognize the `CSRF_TRUSTED_ORIGINS=null` setting in the `.env` file. The app and browser cannot be opened. ## Expected behavior Marinara Engine should recognize the `CSRF_TRUSTED_ORIGINS=null` configuration and allow the app and browser to open normally. ## Actual behavior Marinara Engine fails to recognize `CSRF_TRUSTED_ORIGINS=null`, preventing the app and browser from opening. ## Steps to reproduce 1. Update Marinara Engine to the latest patch. 2. Uninstall the previous app installation. 3. Install the new app. 4. Launch Marinara Engine and attempt to open the browser. 5. Observe that the app cannot open because `CSRF_TRUSTED_ORIGINS=null` is not recognized. ## Environment - Marinara Engine version: Not provided - Install type: Not provided - OS + version: Not provided - Browser or app shell: Not provided ## Logs, screenshots, or video Three screenshots were attached: https://cdn.discordapp.com/attachments/1537836590796247060/1537836590989049986/Screenshot_20260814-222408.png, https://cdn.discordapp.com/attachments/1537836590796247060/1537836591253430292/Screenshot_20260814-202329.png, https://cdn.discordapp.com/attachments/1537836590796247060/1537836591496568924/Screenshot_20260814-224750.png ## Additional context The issue was reported after updating to the latest patch. The user attempted troubleshooting with Gemini and reinstalled the app after uninstalling the old version. Discord thread: Unable to open Marinara Engine App and browser due to CSRF_TRUSTED_ORIGINS=null not being recognized Discord thread link: https://discord.com/channels/1417099416812392641/1537836590796247060 Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653) <details> <summary>Discord thread transcript (1 message)</summary> ```text [2026-08-14T14:53:34.868Z] Sonar: I'm boggling my mind and using Gemini to fix this problem but it seems that Marinara-Engine is unable to recognize the CSRF_TRUSTED_ORIGINS=null line in the .env Don't know if there are others who are encountering the same thing after updating to the latest patch. Edit: I've also uninstalled the old app and installed the new one. [attached image 1: https://cdn.discordapp.com/attachments/1537836590796247060/1537836590989049986/Screenshot_20260814-222408.png?ex=6a807d6e&is=6a7f2bee&hm=9c0516829b655263a47445eec41c023de7530dd26b7f96283fc694eafd249101&] [attached image 2: https://cdn.discordapp.com/attachments/1537836590796247060/1537836591253430292/Screenshot_20260814-202329.png?ex=6a807d6e&is=6a7f2bee&hm=f7f819bd7a826661aac72e89065dc3edc9c0c8e66ef1e9948e5d790549dfbc11&] [attached image 3: https://cdn.discordapp.com/attachments/1537836590796247060/1537836591496568924/Screenshot_20260814-224750.png?ex=6a807d6f&is=6a7f2bef&hm=a8772054f8a1bcbc5e5c5c112dcb444311a0d9957c892043c25488765f6ef8af&] [Discord message: https://discord.com/channels/1417099416812392641/1537836590796247060/1537836590796247060] ``` </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 05:55:22 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (Aug 14, 2026):

Fixed on staging by #5037 (merge commit 9c658d663). Literal case-insensitive null entries are now treated as unset while real trusted origins remain intact. Covered by the request-host security regression and the full required PR checks.

<!-- gh-comment-id:5298634314 --> @SpicyMarinara commented on GitHub (Aug 14, 2026): Fixed on `staging` by #5037 (merge commit `9c658d663`). Literal case-insensitive `null` entries are now treated as unset while real trusted origins remain intact. Covered by the request-host security regression and the full required PR checks.
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#2781
No description provided.