[GH-ISSUE #7475] [Issue]: Autonomous scheduler eligibility check repeatedly fails with HTTP 401 on Android/Termux #4163

Closed
opened 2026-10-21 06:11:59 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @surue05-lab on GitHub (Oct 12, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7475

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Autonomous messaging in CONVO mode does not appear to work as expected on Android/Termux. The Termux server repeatedly logs an HTTP 401 error during autonomous scheduler eligibility checks for the affected chat.

This issue has persisted since my initial installation and still occurs after a clean reinstall.

Expected behavior

With autonomous messaging enabled, the character should be able to send messages automatically when the user is away, according to the configured eligibility rules and limits, without repeated authentication errors.

Actual behavior

  • The Termux server repeatedly logs "Eligibility check failed ... status 401", approximately once per minute.
  • While I am away from the Marinara app, autonomous messages do not appear to accumulate as expected.
  • When I return to the app and navigate between the home screen and CONVO, the character sometimes begins generating an autonomous message.
  • Regular manual chat messages and AI responses work normally.
  • Separate issue observed: additional empty CONVO chats titled "New Chat" have appeared without me intentionally creating them. I am not sure whether this is related.

Steps to reproduce

  1. Install Marinara Engine on Android using Termux and the Android launcher.
  2. Open a CONVO chat with one character.
  3. Enable autonomous messaging. Leave scheduled messaging disabled and the check-in cap at its default.
  4. Leave the Marinara app using the Android Home button while keeping the server running.
  5. Wait approximately 25 minutes, then return to the app and navigate between Home and CONVO.
  6. Observe the autonomous message behavior and check the Termux logs.

The HTTP 401 scheduler error occurs repeatedly while the server is running.

Environment

  • Marinara Engine version: 2.5.0
  • Install type: Termux with the Marinara Android launcher
  • OS: Android 16 (Samsung Galaxy)
  • Termux version: 0.118.3
  • Browser or app shell: Marinara Android app; Chrome also works for local browser access
  • Chat mode: CONVO, single character
  • Autonomous messaging: Enabled
  • Scheduled messaging: Disabled
  • Check-in cap: Default

Logs, screenshots, or video

Repeated Termux log message:

[Autonomous-scheduler] Eligibility check failed for chat -gT9Esv8A96QSZM4wIjmM with status 401

Screenshots of the server logs and observed behavior can be provided if needed.

Additional context

  • I performed a clean reinstall of Marinara Engine and Termux, but the issue persisted.
  • The problem occurred with NanoGPT and also with a direct Google Gemini API connection.
  • The direct Google Gemini connection test and a regular test message both succeeded.
  • The chat ID in the error log matches the affected CONVO chat.
  • I have not identified whether the 401 response originates from an internal authentication or eligibility endpoint.

Could you please advise whether this is a known issue or whether there is an authentication setting I should check?

Thank you for your help!

Template check

  • I DID NOT read this template and provide the requested details.
Originally created by @surue05-lab on GitHub (Oct 12, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7475 Originally assigned to: @SpicyMarinara on GitHub. Summary Autonomous messaging in CONVO mode does not appear to work as expected on Android/Termux. The Termux server repeatedly logs an HTTP 401 error during autonomous scheduler eligibility checks for the affected chat. This issue has persisted since my initial installation and still occurs after a clean reinstall. Expected behavior With autonomous messaging enabled, the character should be able to send messages automatically when the user is away, according to the configured eligibility rules and limits, without repeated authentication errors. Actual behavior - The Termux server repeatedly logs "Eligibility check failed ... status 401", approximately once per minute. - While I am away from the Marinara app, autonomous messages do not appear to accumulate as expected. - When I return to the app and navigate between the home screen and CONVO, the character sometimes begins generating an autonomous message. - Regular manual chat messages and AI responses work normally. - Separate issue observed: additional empty CONVO chats titled "New Chat" have appeared without me intentionally creating them. I am not sure whether this is related. Steps to reproduce 1. Install Marinara Engine on Android using Termux and the Android launcher. 2. Open a CONVO chat with one character. 3. Enable autonomous messaging. Leave scheduled messaging disabled and the check-in cap at its default. 4. Leave the Marinara app using the Android Home button while keeping the server running. 5. Wait approximately 25 minutes, then return to the app and navigate between Home and CONVO. 6. Observe the autonomous message behavior and check the Termux logs. The HTTP 401 scheduler error occurs repeatedly while the server is running. Environment - Marinara Engine version: 2.5.0 - Install type: Termux with the Marinara Android launcher - OS: Android 16 (Samsung Galaxy) - Termux version: 0.118.3 - Browser or app shell: Marinara Android app; Chrome also works for local browser access - Chat mode: CONVO, single character - Autonomous messaging: Enabled - Scheduled messaging: Disabled - Check-in cap: Default Logs, screenshots, or video Repeated Termux log message: [Autonomous-scheduler] Eligibility check failed for chat -gT9Esv8A96QSZM4wIjmM with status 401 Screenshots of the server logs and observed behavior can be provided if needed. Additional context - I performed a clean reinstall of Marinara Engine and Termux, but the issue persisted. - The problem occurred with NanoGPT and also with a direct Google Gemini API connection. - The direct Google Gemini connection test and a regular test message both succeeded. - The chat ID in the error log matches the affected CONVO chat. - I have not identified whether the 401 response originates from an internal authentication or eligibility endpoint. Could you please advise whether this is a known issue or whether there is an authentication setting I should check? Thank you for your help! Template check - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 06:11:59 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@SpicyMarinara commented on GitHub (Oct 12, 2026):

Fixed on staging by #7484.

<!-- gh-comment-id:6131789706 --> @SpicyMarinara commented on GitHub (Oct 12, 2026): Fixed on staging by #7484.
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#4163
No description provided.