Closed rowanoulton closed 2 years ago
I'm not sure I can offer much advice here - it appears by your first bit of code snippet showing logs that it is working as intended, just not showing devices. I would say that about 80-90% of all issues I've seen with Airconnect, are networking related. It's more than likely something to do with your docker configuration, the container config, and your host M1 Mac config that are not necessarily aligned as they need to be.
Just curious - if it works running natively, why bother trying to run it in the container? It can easily be set to run automatically or in scripted fashion on your Mac. The container route is really for running in a headless environment or server systems where you don't want it in the way on your own machines - something that runs 24/7 and you just don't think about it. Running a container on an M1 Mac Mini just adds layers of complexity that aren't needed IMO.
One other outlying thought, though I wouldn't understand the binary working directly and not in container - do you have the 10G ethernet upgrade? I actually have the M1 Mini w/ 10G, and have found an issue with AirPlay. Specifically in this instance it is actually with the actual Apple HomePod Minis, but it opens up the possibility that something about the 10G card is not quite right. I have an open issue with Apple about this and have been working for weeks on providing them logs and information to help isolate the issue. I have isolated it to the M1 w/ 10G as I have the previous gen with 10G and it works fine, and I've tried using a 1G USB-C adapter, and it works fine. Only the 10G port has an issue.
Closing as stale issue with not updates.
Hi there,
Try as I might, I can't get Airconnect to find my Sonos Play:1 when I run it inside this container. Running a binary of Airconnect directly on my machine works. I run an Amplifi HD base station with an M1 Mac mini. The mini is connected by ethernet and wireless but the problem persists regardless of which I use (or whether I disable one or the other).
Here's what I've tried:
Ends with these logs:
After reading #13, I attempted to hardcode my host IP address:
... but that produced different problems:
And when I shelled in and tried it manually from within the container, it hangs on
Presence checking
:Trying to hardcode the host IP from inside fails too:
After using
--net=host
, I'm surprised by the output ofifconfig
inside the container, but then again I have a pretty crude understanding of networking in Docker:For completeness, I tried binding to those IPs too (the top is wireless, the bottom wired) with the same results as above.
Finally, here's what I get when I run Airconnect outside a container (it just works):
I feel like I've missed something obvious in all this thrashing around. Any help you could render me would be much appreciated.
Thank you for the superb project :heart: