Spotify Connect on Android not detecting Sonos speakers
See original GitHub issueHello everyone,
some time ago the Spotify app on Android stopped showing up my Sonos speakers when looking up Connect enabled speakers. I tried to pinpoint the issue down to either Spotify or Sonos and also talked to both of their support teams which didn’t yield any results. I figured that when using an older version of the Spotify app (8.4.24.871) the Sonos speakers would show up again. I told them their app was messed up and that there must have been some change in the implementation. They couldn’t reproduce the issue and I was on my own again. Yesterday I noticed that when I disabled Adblock (Magisk - Unified Hosts Adblock - uses this list) the Sonos speakers would start showing up again inside the Spotify app. So I tried to pinpoint it down to some Spotify or Sonos rules in this list but there is only a single one which isn’t the cause for the issue. Next I tried commenting several lines from the top and I found the line that seems to cause the issue:
::1 localhost
By default my Android device only has the following two lines in the hosts file:
127.0.0.1 localhost
::1 ip6-localhost
So it seems that this line is kind of problematic on Android or at least for the Android, Spotify and Sonos combo. I don’t know if this causes other issues or causes issues if left out but for me it makes things work perfectly fine again.
Regards
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:6 (1 by maintainers)
Analysis here: https://github.com/AdAway/AdAway/issues/1009#issuecomment-451125317
Closing.