mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #8340] [Issue]: Marinara Engine intermittently loses connection to Termux on Android #8286
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#8286
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 (Oct 25, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/8340
Originally assigned to: @SpicyMarinara on GitHub.
Summary
Marinara Engine intermittently stops working on a Galaxy Tab S9. After closing and reopening the app, it cannot connect to Termux even though the Termux terminal appears normal.
Expected behavior
Marinara Engine should reconnect to the active Termux session after the app is closed and reopened.
Actual behavior
Marinara Engine cannot connect to Termux after reopening, requiring the Termux session to be closed and restarted.
Steps to reproduce
Environment
Logs, screenshots, or video
Support Diagnostics: Server OS Android / Termux 5.15.189-android13-8-33413632-abX716BXXS6EZI2 (arm64); background wake lock acquired; last detected freeze none detected; previous session shut down cleanly; sessions ended without shutdown 0 recorded; active connection Nano via nanogpt. No screenshots, video, or error logs were provided.
Additional context
The cause and exact trigger are unknown. The reporter did not provide information about whether battery-saving mode was enabled or whether the issue also occurs in a web browser at 127.0.0.1:7860.
Discord thread: Android crashes
Discord thread link: https://discord.com/channels/1417099416812392641/1564056045574291567
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)
Discord thread transcript (7 messages)
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@SpicyMarinara commented on GitHub (Oct 26, 2026):
Read-only investigation against staging
f258e40d3: the Android wrapper and authentication code are unchanged from reported build8042ef6ec638. Five direct authentication controls passed, including rejected credentials and recovery with a fresh handshake after session loss/expiry. These are module-level checks, not a Galaxy Tab/Android reproduction, so no speculative fix has been made.At the next failure, before restarting or bringing Termux to the foreground:
http://127.0.0.1:7860/api/health. Does it return JSON, refuse the connection, or keep waiting?~/.marinara-engine/logs/server-*.logaround that time and whether battery-saving/background restrictions were enabled.The existing diagnostics were captured after restarting Termux; their clean shutdown and lack of a current freeze record do not establish what happened during the original failure. Keep this issue open pending failure-time evidence.
@SpicyMarinara commented on GitHub (Oct 26, 2026):
Not enough diagnostics; couldn't replicate.