question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Spotify Connect on Android not detecting Sonos speakers

See original GitHub issue

Hello 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:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

0reactions
stale[bot]commented, Mar 9, 2020

Closing.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Sonos devices disappeared in Spotify app (Android)
Restarting phone; Reconnecting to spotify account in Sonos app; Playing Spotify songs from Sonos app (works fine); Updating Sonos speakers from ...
Read more >
Sonos not appearing on Spotify connect
Reboot your router if you're on a WiFi connection or try with a different router · Connect/disconnect Sonos speakers · Control Sonos from...
Read more >
Sonos Spotify Not Working (Won't Connect/Play/Show Up)
Disconnect and reconnect the Sonos speakers in your device's WiFi settings. · Make sure the Control Sonos from Spotify setting is enabled. ·...
Read more >
Spotify Connect not showing Sonos Devices - Reddit
Spotify Connect not showing Sonos Devices · 1 - Deleted & reinstalled Sonos & Spotify apps · 2 - Factory reset all speakers...
Read more >
Spotify Connect Not Working? 7 Solutions! - ViWizard
Step 1. Just go to the Sonos app and go to More > Settings > My Services. · Step 2. Find Spotify, and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found