[GH-ISSUE #3291] Home Assistant integration defaults to port 3000, but Marinara runs on 7860 (new setups fail with cannot_connect) #1782

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

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

Originally assigned to: @SpicyMarinara on GitHub.

What's wrong

When you add the Home Assistant integration for Marinara Engine, the setup form pre-fills the port as 3000. But Marinara's server listens on 7860 by default — that's the default in the server config, .env.example, and all the start scripts. So if you install Marinara normally and then add the HA integration without touching the form, the connection test fails and you get "Cannot connect to Marinara Engine."

How to reproduce it yourself

  1. Run Marinara Engine normally (a stock install — it listens on port 7860).
  2. In Home Assistant: Settings → Devices & Services → Add Integration → Marinara Engine.
  3. Leave the pre-filled values as-is (host localhost, port 3000) and click Submit.
  4. You get a cannot_connect error.

Workaround for now: manually change the port to 7860 in the form before submitting.

What should happen

The port field should pre-fill 7860, so a stock install connects on the first try without the user having to know the right port.

Where it is

  • custom_components/marinara_engine/const.py — DEFAULT_PORT is 3000; the config-flow form uses it as the port pre-fill.
  • The setup-screen description in custom_components/marinara_engine/strings.json and translations/en.json also says localhost:3000 (and the two files disagree — en.json mentions the default, strings.json doesn't).
  • The integration docs at docs/integrations/home-assistant.md repeat localhost:3000 in three places.

A fix is up in #3290.

Originally created by @kolacheee on GitHub (Jul 5, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3291 Originally assigned to: @SpicyMarinara on GitHub. ### What's wrong When you add the Home Assistant integration for Marinara Engine, the setup form pre-fills the port as `3000`. But Marinara's server listens on `7860` by default — that's the default in the server config, `.env.example`, and all the `start` scripts. So if you install Marinara normally and then add the HA integration without touching the form, the connection test fails and you get **"Cannot connect to Marinara Engine."** ### How to reproduce it yourself 1. Run Marinara Engine normally (a stock install — it listens on port `7860`). 2. In Home Assistant: **Settings → Devices & Services → Add Integration → Marinara Engine**. 3. Leave the pre-filled values as-is (host `localhost`, port `3000`) and click **Submit**. 4. You get a `cannot_connect` error. Workaround for now: manually change the port to `7860` in the form before submitting. ### What should happen The port field should pre-fill `7860`, so a stock install connects on the first try without the user having to know the right port. ### Where it is - `custom_components/marinara_engine/const.py` — `DEFAULT_PORT` is `3000`; the config-flow form uses it as the port pre-fill. - The setup-screen description in `custom_components/marinara_engine/strings.json` and `translations/en.json` also says `localhost:3000` (and the two files disagree — `en.json` mentions the default, `strings.json` doesn't). - The integration docs at `docs/integrations/home-assistant.md` repeat `localhost:3000` in three places. A fix is up in #3290.
bsakaguchi 2026-10-21 05:42:39 +07:00
  • closed this issue
  • added the
    in-pr
    label
Author
Owner

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

Addressed in #3289.

<!-- gh-comment-id:4887423228 --> @SpicyMarinara commented on GitHub (Jul 5, 2026): Addressed in #3289.
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#1782
No description provided.