Frequent problems loading or playing songs from Spotify playlists using the Sonos app


Userlevel 2
Badge

I have one Sonos device: a Sonos One SL.
I run the Sonos app on a Windows 10 PC.
I keep my Sonos app and firmware up to date (currently on version 14.10).
I bought and use my Sonos device to play songs from Spotify playlists.
(I can play songs from Spotify on my Sonos device by either using the Spotify app connect feature
or by using the Sonos app, but I prefer using the Sonos app because it allows you to select and play
songs from multiple playlists while the Spotify app only allows you to play from a single playlist.)

As long as I’ve had my Sonos device I’ve had intermittent problems when attempting to load songs from one or more Spotify playlists into my queue, or when playing songs from Spotify from my queue.
When attempting to load songs from Spotify playlists into my queue I get unable to load songs 1002 errors, and when attempting to play songs from my queue I get unable to play songs - Spotify connection lost errors. These problems are becoming more and more frequent, and lately it has become impossible to load the songs from all of my selected playlists into my queue. Sometimes I am unable to load songs from a single playlist.

I have noticed that dozens of people have reported this problem over the years but Sonos support has been unable to resolve it. I’ve also noticed that the Sonos Support people here generally blame the problem on the user’s wi-fi connection despite evidence indicating that the wi-fi connection has nothing to do with it. Using the same wi-fi connection, Spotify works fine when using other apps, and Sonos works fine when playing from other services. The problems only occur when playing from Spotify and using the Sonos app.

When I use the Spotify app connect feature (on my PC) to play music on my Sonos device, I have no problems.
When I use the Spotify app on my Samsung Smart TV, or the Spotify app on a Roku device to play from Spotify on another TV, I have no problems.
When I use the Sonos app to play Sonos Radio to my Sonos device, I have no problems.
But when I use the Sonos app to play songs from Spotify playlists on my Sonos device, I have frequent problems (even when the Sonos device is only a few feet away from my router).
And all of these use the same wi-fi connection.

This leads me to the conclusion that the problems have nothing to do with the wi-fi connection between the Sonos device and the router. Instead, I believe the problem has to do with the internet connection between the Sonos firmware and the Spotify servers.

I have a hypothesis that I believe explains what the problem really is. In a nutshell, I believe that the Sonos software (or firmware) was not designed to handle Spotify’s frequent slowness. When loading songs from Spotify playlists into the queue, Sonos has to request the list of songs for each playlist, and when it finishes playing a song from the queue, it has to request that Spotify provide the next song. Unfortunately, the Spotify servers are sometimes slow to respond, and Sonos, instead of waiting for Spotify to respond, times out, and skips to the next playlist (when loading songs into the queue) or the next song (when playing songs from the queue).

This hypothesis explains several things:
1. The problem is intermittent because Spotify’s slowness is intermittent.
2. The problem is becoming more frequent because Spotify’s servers are becoming slower.
3. The problem does not occur when using the Spotify app on the PC, the Smart TV, or the Roku device because those apps are waiting for Spotify to respond instead of timing out so quickly.

If my hypothesis is correct, the solution is to change the Sonos software/firmware to wait longer for Spotify to respond before timing out.


This topic has been closed for further comments. You can use the search bar to find a similar topic, or create a new one by clicking Create Topic at the top of the page.

18 replies

When using WiFi, what WiFi band, channel and channel-width are you using to connect your One SL speaker to your router and what router make/model is it?

Are there any features on the router like QoS/Airtime Fairness/Firewall/Parental Control/VPN etc. Have you perhaps tried using a different DNS server, if cinnections are timing-out?

Also have you tried the speaker wired direct to the router, just to see if the issues are resolved by doing that?

Last, but not least, who is your ISP provider and what is their download/upload speed limits that you are subscribed to? 

Userlevel 2
Badge

My router is a Netgear Nighthawk R7000.
My Sonos device is using the 2.4Ghz band which uses channel 06.
The router is set up to use the Google DNS server (8.8.8.8) and Dynamic Qos is enabled.
Cox Cable is my ISP. I’m not aware of any limits but my last speed test showed
a download speed of 324.15 Mbps and an upload speed of 10.54 Mbps.
I haven’t tried hardwiring my Sonos device to my router but I can.

But, if the problem had anything to do with my internet connection, my router, or my WiFi,
why would I only have problems when using the Sonos app to play from Spotify?
Why would Spotify work fine when using the Spotify app on my PC, my Smart TV, or my Roku?
Why would Spotify work fine on the Sonos device when I use the Spotify app instead of the Sonos app?
Why would the Sonos device work fine when I play from a service other than Spotify (Sonos Radio)?
In each case, my ISP provider, my router, and my Wifi are the same.

Userlevel 2
Badge

I just hardwired my Sonos device into my router. It made no difference.
I tried loading 188 playlists into the queue. I got “An error occurred while adding tracks to the queue 1002”. The songs from most of the playlists were added to the queue but some of the playlists were skipped.

I submitted the diagnostics: 979564211.

Userlevel 2
Badge

I just turned Qos off, rebooted my router, and reran the test (using WiFi but with the Sonos device a few feet from the router). I got the same error and like before, most of the playlists were added to the queue but some were skipped. (The playlists that were skipped were not the same.)

Diagnostics: 2024233555

Try the router here - see if there are features like ‘QoS’ or ‘Airtime Fairness’ and just disable those (if enabled) and see if it makes a difference. You can always restore them back.

I do also fully appreciate the things you have mentioned, but I was just thinking there are things you could still try with your setup to perhaps try to narrow things down a little to get closer to the root cause.

I mostly use Amazon Music & Deezer here, but do have the Spotify ‘Free’ version service setup and personally speaking whenever I do use it via the Sonos App, I don’t have any issues with Spotify at all.

So my own personal experience seems to be somewhat different to the one you describe. Hence the suggestions to maybe try a few things obvious and to see if it might resolve your issues.

Userlevel 2
Badge

I have disabled Qos, rebooted my router, and rerun my test more than once (with the Sonos device connected via Wifi). I still get “error occurred while adding tracks to the queue, 1002” each time but the playlists that are skipped vary from test to test.

At this moment I am still convinced that the root of the problem is Sonos’ inability to handle Spotify’s intermittent (but becoming more frequent) slowness, and that it could probably be resolved by Sonos increasing a timeout value so it would wait longer for Spotify to respond.

This issue drives me absolutely NUTS! It is not a router issue, because Sonos works just fine with all the other products (Youtube Music, Sonos Radio, etc.). If it is a Spotify issue, Sonos should have their tech team talk to Spotify’s tech team to ensure the integration is working. I cannot believe you’d sell a speaker at these prices if it can only play the selected music 80% of the time. 

Are there any example playlists I could maybe try them here, but as I say I only use the Spotify free version but will happily try them on my system.

I seem to think error 1002 is a network connection error where the speaker is having difficulty connecting to the source. Are they big playlists with say more than 1000 tracks?

Userlevel 2
Badge

I currently have 188 public playlists. The average number of songs per playlist is probably a little less than 100 songs (from 20 to around 300) so the total number of songs is around 18,000.
https://open.spotify.com/user/83mnlqxhxhdol6vqbsypr2j8w/playlists

 

I agree that error 1002 is a network connection error, but I believe it’s caused by the internet connection being lost as a result of a timeout when Sonos requests something from Spotify and Spotify doesn’t respond quickly enough. As it attempts to load the songs from all of the playlists I’ve selected into the queue, each time it finishes with a playlist it sends a request to Spotify to send a list of the songs in the next playlist. When Spotify is too slow responding, a timeout occurs and the internet connection to Spotify is lost, so it skips that playlist, starts up a new connection, and goes on to the next playlist, and when you’re all done you get the error 1002 message indicating that not all of the songs you requested were loaded into the queue. That’s why I end up with all of the songs from most of the playlists I selected in my queue, but some of the playlists are completely skipped, and the playlists that are skipped vary from one occurrence of the problem to the next.

This loading of all of the songs from all of my playlists has been working for me MOST of the time for a long time, but for the last few days I can’t even load a handful of playlists without getting the error. I suspect that’s because the Spotify servers are getting overloaded.

@MSebring1,

I’m not personally seeing any issues playing your Classical #1, #2 & #3 playlists through the Sonos App here, but like I mentioned I’m just using the Spotify ‘free’ version. Perhaps it’s a case Spotify have different local servers and yours is busier than the one I’m perhaps using?🤷‍♂️

Userlevel 2
Badge

You might try selecting a larger number, like all of the 70s rock playlists. The greater the number of playlists that are selected, the greater the chance that the error will occur with at least one. (You can select the first and then hold the shift key when you select the last, and all of the ones in between will also be selected.)

You might try selecting a larger number, like all of the 70s rock playlists. The greater the number of playlists that are selected, the greater the chance that the error will occur with at least one. (You can select the first and then hold the shift key when you select the last, and all of the ones in between will also be selected.)

I don’t think that’s possible with the free version of the Spotify service within my iOS controller device .. I just usually add each available playlist to the end of the chosen speaker queue. Perhaps you are just simply hitting the 15s timeout when all your chosen playlists are being loaded to the speaker queue?

Userlevel 2
Badge

I believe the only benefit of Spotify Premium (which I have) over the free version is that you don’t hear commercials.

When I set up my Sonos app I selected Spotify, then went to “Your Library”, then selected Playlists and added it to Sonos Favorites. As a result, whenever I get into the Sonos app now, the list of my Spotify playlists (those I’ve created myself and those I am following) shows up under Sonos Favorites.

I always begin with a clean speaker queue, then go to my list of Spotify playlists and select which ones I want to listen to, and then select “Add Selected to End of Queue”. (Most of the time I select all 188 playlists but sometimes I just want to listen to jazz, country, 70s rock, or whatever.)

As I mentioned before, loading all of the songs from all of my playlists into the queue has been working for me MOST of the time for a very long time, but for the last few days, when I attempt to load as many as 10 or 20 playlists into the queue I will usually see the error and some of the selected playlists will be missing from the queue.

It is important to note that when the problem occurs, it’s not because of a single timeout for the entire list. It doesn’t just stop loading songs from playlists at a certain point. When the error occurs I can see all of the songs from most of my selected playlists in the queue, but all of the songs from some of the selected playlists are not in the queue. The omitted playlists are scattered randomly throughout the list and they vary from occurrence to occurrence. This indicates that as it loads the queue, Sonos goes through all of the playlists I selected, and for each playlist there is a good chance that its songs will be loaded, and a slight chance that it will be skipped instead and none of its songs will be loaded. This is why I believe that for every playlist I select, Sonos has to request that Spotify provide a list of its songs, and if Spotify is slow in responding, there is a timeout and the connection to Spotify is lost, and as a result, Sonos skips that playlist and goes on to the next one in the list.


There is a similar problem that doesn’t happen quite as often (but it’s really irritating when it does) when Sonos is playing songs from the queue. When Sonos reaches the end of a song and Spotify is slow to supply the next song in the queue, there is a similar timeout (the Sonos app displays an “unable to play song - Spotify connection lost” message) and Sonos will skip that song and go to the next song in the queue. When Spotify is really slow Sonos will skip a whole bunch of songs in the queue, and when it skips enough it will give up and stop playing altogether.
 

Userlevel 2

same issue here and for a very long time. all my sonos equipment is hardwired and i’m on fios fiber optic connection that is 1gbps bi directional. i have no other network related issues, latency and throughput are very good. i can not believe that this has been going on so long! no issues when i use spotify by itself. with sonos, it can happen with spotify playlists, albums, spotify artist radio station. it happens at song boundaries and is very annoying! is there something sonos can do to keep the connection alive? can it check and re-establish the connection before the song ends so that it doesn’t have to skip and have gaps? is it the question of too short of a timeout for the next song to start to stream? it has definitely gotten worse in the last few months. this is something that sonos and spotify should be working together to solve, and with the customers to diagnose but it should be easy to reproduce themselves. i would be happy to work with someone to trace / diagnose this or test patches. it happens all the time and i’m very very frustrated… spotify is my primary way of using sonos.

Userlevel 2
Badge

I eventually gave up on the Sonos app. I now just use the Spotify app with the Spotify Connect feature when I want to play music from Spotify on my Sonos speaker, and I never have any problems. I’m not crazy about the fact that I’m no longer able to play songs from multiple playlists in shuffle mode, but I’m getting used to it. (The Spotify app only allows you to play from a single playlist when using the Spotify Connect feature.)

Userlevel 2

using spotify to push to sonos especially sucks for multi room groups. you can’t control the individual room volumes from spotify. if u go to sonos to adjust the volume, it just magically slides back to where it was. it seems like sonos couldn’t get things working correctly with spotify from sonos, so they decided to make another way to use spotify with sonos from spotify that also sucks. no problem with any other source i use, but spotify is my main and preferred source. this is clearly a fixable problem and shouldn’t need to be fiddled with at the user level.

using spotify to push to sonos especially sucks for multi room groups. you can’t control the individual room volumes from spotify. if u go to sonos to adjust the volume, it just magically slides back to where it was. it seems like sonos couldn’t get things working correctly with spotify from sonos, so they decided to make another way to use spotify with sonos from spotify that also sucks. no problem with any other source i use, but spotify is my main and preferred source. this is clearly a fixable problem and shouldn’t need to be fiddled with at the user level.

Let’s hope Spotify create a genuine multiroom option for Spotify Connect then.  If you are using the Spotify app rather than the Sonos app you aren’t really using the Sonos system, just a bunch of Spotify Connect enabled speakers. If you wanr that sort of multiroom control then use the Spotify implementation in the Sonos app.

I am away from my system at the moment, and don’t use Spotify, so I can’t check if this might be a generic problem or just network latency on your system.

Userlevel 2

funny, things seem to be better once i used spotify to push to sonos. now i’m using sonos again to access spotify and getting less errors. wonder if by using spotify directly it cleared some flags or something? it was literally skipping every other song before, and that is the only thing i have done.