music-assistant / hass-music-assistant

Turn your Home Assistant instance into a jukebox, hassle free streaming of your favorite media to Home Assistant media players.
Apache License 2.0
1.37k stars 52 forks source link

Adding a Music Assistant server on non-standard port fails #2924

Closed aliask closed 2 weeks ago

aliask commented 1 month ago

What version of Music Assistant has the issue?

2.2.4

What version of the Home Assistant Integration have you got installed?

2024.9.1

Have you tried everything in the Troubleshooting FAQ and reviewed the Open and Closed Issues and Discussions to resolve this yourself?

The problem

After successfully configuring MASS on a non-standard HTTP port (in my case I used :8093) I can browse the Web UI with no problems by visiting http://my.server.ip.address:8093.

However, attempting to add the Music Assistant Server to my Home Assistant this URL gives an error message Unexpected Error.

Screenshot from 2024-09-15 18-27-49

How to reproduce

  1. In Home Assistant, navigate to Settings > Integrations
  2. Click Add Integration
  3. Search for Music Assistant, and enter the HTTP address of the server on a custom port
  4. Click Submit
  5. Observe integration is not added, and error message is displayed.

Music Providers

-

Player Providers

-

Full log output

No response

Additional information

When the submit button is pressed to trigger the error, the Home Assistance logs produces the following output:

2024-09-15 18:27:27.061 ERROR (MainThread) [custom_components.mass] Unexpected exception
Traceback (most recent call last):
  File "/config/custom_components/mass/config_flow.py", line 74, in async_step_manual
    await self.async_set_unique_id(self.server_info.server_id)
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2389, in async_set_unique_id
    raise data_entry_flow.AbortFlow("already_in_progress")
homeassistant.data_entry_flow.AbortFlow: Flow aborted: already_in_progress

What version of Home Assistant Core are your running

2024.8.2

What type of installation are you running?

Home Assistant Container

On what type of hardware are you running?

Linux

aliask commented 1 month ago

Potentially related to #2333

OzGav commented 3 weeks ago

Review the recent posts in the issue you linked and confirm you have MA setup correctly.

github-actions[bot] commented 2 weeks ago

This issue is stale because it has been open 7 days with no activity after asking for more info. Comment or this will be closed in 3 days.

github-actions[bot] commented 2 weeks ago

This issue was closed because it has been stalled for 10 days with no activity. This can be reopened if additional information is provided.