-
tl;dr: The host mode doesn't seem to work with MA docker setups with slimproto anymore. Need to use ports 3483, 8095 and 8097 in docker-compose.yml instead. As I had some struggle with my MA/HA docker-based setup after the last MA updates I want to share the results/solution I found getting MA to work with my squeezelite players again. After the latest update my MA complained about port 3483 was already taken. This was consistently reproducible by turning the slimproto protocol on and off in the settings. Then I changed my docker-compose.yml from host-mode to ports like the following
Now my setup found the player again - and got control about the 3483 port but unfortunately couldn't play any songs. The logs showed that MA lacked access to the files to play. So lately I realized that I also needed to open port 8097 for the UI to communicate with and after adding that to the docker-compose.yml ...
... MA is working again like before. I'm still confused why host mode isn't working any longer or which container my interfere with the ports. But at least it works now again 🙂 Hope that might help other folks. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
I am not sure why host network mode isn’t working for you. This is what should be used due to the large number of ports that MA can potentially require. |
Beta Was this translation helpful? Give feedback.
-
This is NOT a solution, you need host network. I think you have another slimproto server running, such as Logitech Media Server or the slimproto integration in HA |
Beta Was this translation helpful? Give feedback.
-
@maste9 managed to figure this one out without host mode? |
Beta Was this translation helpful? Give feedback.
Well ... that's interesting:
I gave it another shot now, switched it back to host - and again it didn't work. But the logs changed. The error message didn't longer complain about port 3483 but about "any of the ports" regarding slimproto. It suddenly mentioned port 9000. Which was already used by portainer. After I changed the port of portainer to 9001 MA worked with host again ....
So I guess the 9000 port was the reason for the blockage before and the message about the 3483 port was just misleading before ...
Would that be a possible explanation?