Open madbrain76 opened 2 weeks ago
Note that I'm able to get the Plex provider to work after the error in step 9 . I don't believe I could when I ran into the error in step 17. I believed I deleted/reinstalled MA at that point.
I think the step 9 error is due to an HAOS config change I made to get the Piper to work yesterday.
In Settings / System / Networks, I had to set the internal URL like this :
I previously had it set to automatic.
Piper failed to play any sample audio until this was changed.
I use SSL because it's required by Z-Wave smart start. And since it's an internal domain, I use a self-managed CA.
If I revert to automatic, HA shows this error :
Which isn't new, but I had never seen it before as I had not visited this page after adding SSL.
Yes, after I removed that setting, I immediately got error 17 again. Test case :
If step 7 is repeated, I'm actually still able to add this music provider.
What version of Music Assistant has the issue?
2.0.6
What version of the Home Assistant Integration have you got installed?
2024.6.1
Have you tried everything in the Troubleshooting FAQ and reviewed the Open and Closed Issues and Discussions to resolve this yourself?
The problem
Two instances of the MA integration may be inadvertedly created, and this leads to errors
How to reproduce
Unfortunately, I'm not 100% sure. I have seen the error stack page multiple times since upgrading to 2.0.6, though. I believe it is related to circumstances in which there are two MA integrations talking to the single add-on instance. I started writing a test case, but the issue didn't initially come up. But it happened soon after. I just don't know exactly what triggered it, unfortunately. Here are the steps that I believe may still be helpful.
I'm definitely able to reproduce the first error in step 9, though. The second error shown in step 17 is less predictable.
This looks like issue 1602, which was closed earlier this year. But I can reproduce this still.
Music Providers
Plex
Player Providers
N/A
Full log output
log.txt
Additional information
No response
What version of Home Assistant Core are your running
2024.6.2
What type of installation are you running?
Home Assistant OS
On what type of hardware are you running?
Windows