[GH-ISSUE #3143] [Issue]: Enable local provider URLs by default on Android #1689

Closed
opened 2026-10-21 05:41:44 +07:00 by bsakaguchi · 2 comments
Owner

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

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Android users cannot easily edit the .env file to set PROVIDER_LOCAL_URLS_ENABLED=true when connecting Marinara to a local LLM server. A user hit a blocked local provider URL while trying to fetch models.

Expected behavior

On Android, the app should allow connecting to a local LLM server without requiring manual .env editing, or provide an accessible way to enable local provider URLs.

Actual behavior

Fetching models from a local provider URL is blocked because PROVIDER_LOCAL_URLS_ENABLED is not enabled, and the user does not know how to edit .env on Android.

Steps to reproduce

  1. Use Marinara on Android.
  2. Configure a provider pointing to a local LLM server URL.
  3. Attempt to fetch models.
  4. Observe the request is refused unless PROVIDER_LOCAL_URLS_ENABLED=true is set in .env.

Environment

  • Marinara Engine version: Not provided
  • Install type: other
  • OS + version: Android, version not provided
  • Browser or app shell: Android app

Logs, screenshots, or video

Error shown: "Failed to fetch models: Refused to fetch Http://LOCAL VPS Connection/v1/models: 'LOCAL VPS Connection' (resolved to LOCAL VPS Connection) is in a private, loopback, metadata, or reserved IP range. Set PROVIDER_LOCAL_URLS_ENABLED=true in your .env file to allow this (changes take effect within ~2s without a restart"

Additional context

Maintainer response: editing .env on Android can be problematic and local provider URLs will be changed to on by default.

Discord thread: Can provider local be enabled by default on Android?
Discord thread link: https://discord.com/channels/1417099416812392641/1522060288415895762
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)

Discord thread transcript (2 messages)
[2026-07-02T02:04:11.271Z] Slayvus: Failed to fetch models: Refused to fetch Http://LOCAL VPS Connection/v1/models: 'LOCAL VPS Connection' (resolved to LOCAL VPS Connection) is in a private, loopback, metadata, or reserved IP range. Set PROVIDER_LOCAL_URLS_ENABLED=true in your .env file to allow this (changes take effect within ~2s without a restart

I do not know how to edit this on Android to make this change to point the app towards a local llm server
[Discord message: https://discord.com/channels/1417099416812392641/1522060288415895762/1522060288415895762]

[2026-07-02T10:11:01.461Z] Marinara: Yes, editing .env on Android can be problematic. Will change it to on by default,
[Discord message: https://discord.com/channels/1417099416812392641/1522060288415895762/1522182804832649216]

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 (Jul 2, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3143 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Android users cannot easily edit the .env file to set PROVIDER_LOCAL_URLS_ENABLED=true when connecting Marinara to a local LLM server. A user hit a blocked local provider URL while trying to fetch models. ## Expected behavior On Android, the app should allow connecting to a local LLM server without requiring manual .env editing, or provide an accessible way to enable local provider URLs. ## Actual behavior Fetching models from a local provider URL is blocked because PROVIDER_LOCAL_URLS_ENABLED is not enabled, and the user does not know how to edit .env on Android. ## Steps to reproduce 1. Use Marinara on Android. 2. Configure a provider pointing to a local LLM server URL. 3. Attempt to fetch models. 4. Observe the request is refused unless PROVIDER_LOCAL_URLS_ENABLED=true is set in .env. ## Environment - Marinara Engine version: Not provided - Install type: other - OS + version: Android, version not provided - Browser or app shell: Android app ## Logs, screenshots, or video Error shown: "Failed to fetch models: Refused to fetch Http://LOCAL VPS Connection/v1/models: 'LOCAL VPS Connection' (resolved to LOCAL VPS Connection) is in a private, loopback, metadata, or reserved IP range. Set PROVIDER_LOCAL_URLS_ENABLED=true in your .env file to allow this (changes take effect within ~2s without a restart" ## Additional context Maintainer response: editing .env on Android can be problematic and local provider URLs will be changed to on by default. Discord thread: Can provider local be enabled by default on Android? Discord thread link: https://discord.com/channels/1417099416812392641/1522060288415895762 Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653) <details> <summary>Discord thread transcript (2 messages)</summary> ```text [2026-07-02T02:04:11.271Z] Slayvus: Failed to fetch models: Refused to fetch Http://LOCAL VPS Connection/v1/models: 'LOCAL VPS Connection' (resolved to LOCAL VPS Connection) is in a private, loopback, metadata, or reserved IP range. Set PROVIDER_LOCAL_URLS_ENABLED=true in your .env file to allow this (changes take effect within ~2s without a restart I do not know how to edit this on Android to make this change to point the app towards a local llm server [Discord message: https://discord.com/channels/1417099416812392641/1522060288415895762/1522060288415895762] [2026-07-02T10:11:01.461Z] Marinara: Yes, editing .env on Android can be problematic. Will change it to on by default, [Discord message: https://discord.com/channels/1417099416812392641/1522060288415895762/1522182804832649216] ``` </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:41:44 +07:00
  • closed this issue
  • added the
    in-pr
    bug
    labels
Author
Owner

@SpicyMarinara commented on GitHub (Jul 2, 2026):

Codex is triaging this in branch codex/issue-sweep-3136-3143 for a staging-targeted follow-up sweep. If the report needs more repro detail, I will note that on the issue instead of guessing.

<!-- gh-comment-id:4864761095 --> @SpicyMarinara commented on GitHub (Jul 2, 2026): Codex is triaging this in branch codex/issue-sweep-3136-3143 for a staging-targeted follow-up sweep. If the report needs more repro detail, I will note that on the issue instead of guessing.
Author
Owner

@SpicyMarinara commented on GitHub (Jul 2, 2026):

Fix is ready in PR #3144 and will close this on merge. Local validation passed: git diff --check, pnpm check, pnpm smoke:ui, and pnpm regression:prompt.

<!-- gh-comment-id:4864967817 --> @SpicyMarinara commented on GitHub (Jul 2, 2026): Fix is ready in PR #3144 and will close this on merge. Local validation passed: `git diff --check`, `pnpm check`, `pnpm smoke:ui`, and `pnpm regression:prompt`.
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#1689
No description provided.