mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #319] [Issue]: Timeout Error on Startup; FastifyError; Status code 500; Timeout #134
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#134
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 @BionSawyer on GitHub (Apr 29, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/319
Originally assigned to: @SpicyMarinara on GitHub.
Summary
after a windows shutdown, marinara wouldn't start — fastify timeout on @fastify/static. log showed two "Taskbar migration: could not read target" warnings ~5 seconds apart immediately before the crash, with the timeout firing ~7ms after the second one. fix was to delete the broken .lnk files in start menu + desktop. seems like the taskbar migration is blocking the main thread long enough to eat the plugin startup budget.
Expected behavior
When clicking desktop shortcut, Marinara should load and be able to run.
Actual behavior
When clicking desktop shortcut, Marinara starts up a command prompt and proceeds to give following output under the log section.
Steps to reproduce
Environment
Logs, screenshots, or video
Additional context
On Discord, under the questions and help tab, the thread is called 'Timeout Error on Startup?' where the issue was discussed and worked through. Bion_Sawyer and Chai were the main contributors. Bion_Sawyer would like to go on the record to agree with Chai's assessment of this being a 'stupid and rare bug.' The issue was fixed, but it was recommended to paste the logs for reproduction and patching.
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@kojo3906-ops commented on GitHub (May 1, 2026):
Confirming this bug from a different angle — same @fastify/static timeout, but my .lnk files weren't broken, they were just slow to read (~8 seconds total for both).
Troubleshooting that didn't fix it: deleting/reinstalling Marinara, Defender exclusion on the install folder, downgrading from Node v25 to v22 LTS, wiping node_modules.
What confirmed the cause: ran node packages\server\dist\index.js directly with DEBUG=fastify:,avvio: and LOG_LEVEL=debug. Server actually started successfully, and the debug log showed:
[11:11:06.797] INFO: [storage] DATA_DIR=...
[11:11:11.611] DEBUG: Taskbar migration: ...Start Menu...Marinara Engine.lnk already targets the launcher, skipping
[11:11:14.878] DEBUG: Taskbar migration: ...Desktop\Marinara Engine.lnk already targets the launcher, skipping
[11:11:14.966] INFO: Marinara Engine server listening on http://127.0.0.1:7860/
~5s on the first shortcut, ~3s on the second, ~8s total — well past the fastify plugin budget. Notably, the shortcuts say "already targets the launcher, skipping" — so they're valid, not broken. Just slow.
@SpicyMarinara commented on GitHub (May 3, 2026):
v1.5.7.