Spotify playback no longer works since Beta 21 – Soloist returns no audio stream
Description
Since upgrading to Beta 21, I can no longer play any Spotify tracks through sonn-audio/core.
The Soloist integration is configured and connected. Spotify tracks are correctly resolved to my configured Spotify/Soloist account, and Soloist reports that it is playing the requested track. However, sonn-audio does not receive an audio stream for the zone.
This happens consistently with every Spotify track I have tested.
Other audio sources are working correctly. For example, TuneIn radio streams play successfully in the same zone.
Relevant logs
09:20:46.463 Zones|Manager
[hasParentContext=false
normalizedTarget=spotify:track:2ladamWCFAfQbgIIdkewAx
resolvedTarget="spotify@XXX:track:2ladamWCFAfQbgIIdkewAx"
type=serviceplay
uri="spotify@XXX:track:2ladamWCFAfQbgIIdkewAx"
zoneId=1] playContent
09:20:47.699 Input|SoloistTrack
[accountId="XXX"
uri=spotify:track:2ladamWCFAfQbgIIdkewAx
zoneId=1] soloist is playing a track for this zone
09:20:52.701 Input|Soloist
[zoneId=1] no audio stream for this zone yet
09:20:52.702 Zones|Manager
[zoneId=1] spotify input not ready; blocking playback to avoid skips
09:20:52.702 Zones|Manager
[audiopath=spotify:track:2ladamWCFAfQbgIIdkewAx
zoneId=1] playback skipped; no playable source resolved
The same behavior occurs with other tracks:
09:21:43.842 Input|SoloistTrack
[accountId="XXX"
uri=spotify:track:0TDLuuLlV54CkRRUOahJb4
zoneId=1] soloist is playing a track for this zone
09:21:48.843 Input|Soloist
[zoneId=1] no audio stream for this zone yet
09:21:48.845 Zones|Manager
[zoneId=1] spotify input not ready; blocking playback to avoid skips
09:21:48.845 Zones|Manager
[audiopath=spotify:track:0TDLuuLlV54CkRRUOahJb4
zoneId=1] playback skipped; no playable source resolved
And again:
09:22:15.619 Input|SoloistTrack
[accountId="XXX"
uri=spotify:track:4x7j9ed3FRH6CHj27kiTQ3
zoneId=1] soloist is playing a track for this zone
09:22:20.620 Input|Soloist
[zoneId=1] no audio stream for this zone yet
09:22:20.622 Zones|Manager
[zoneId=1] spotify input not ready; blocking playback to avoid skips
09:22:20.622 Zones|Manager
[audiopath=spotify:track:4x7j9ed3FRH6CHj27kiTQ3
zoneId=1] playback skipped; no playable source resolved
There is also a Spotify cover proxy error:
Api
[message="fetch failed"
source=https://i.scdn.co/image/ab67616d0000b2735ac2d9de7d94d7958c2072d1]
cover proxy failed
Expected behavior
After requesting a Spotify track, Soloist should provide the audio stream to sonn-audio and playback should start in the selected zone.
Actual behavior
The Spotify track appears to be successfully handed over to Soloist:
soloist is playing a track for this zone
but after approximately 5 seconds sonn-audio reports:
no audio stream for this zone yet
spotify input not ready; blocking playback to avoid skips
playback skipped; no playable source resolved
Additional information
- Issue started with Beta 21
- Soloist integration is configured
- Happens with multiple Spotify tracks
- Spotify URI/account resolution appears to work
- Non-Spotify sources (e.g. TuneIn) work correctly
- The issue is reproducible
Soloist can only output audio through PulseAudio (libpulse.so.0), which sonn-audio emulates in-process for each zone. If Soloist can't load libpulse, or can't reach that socket, it falls back to a built-in driver that throws the audio away. It still reports that it's playing the track, which is the soloist is playing a track for this zone you're seeing. Nothing ever arrives at the zone, and after 5 seconds playback is given up.
This probably shows up only now because Beta 21 removed librespot. If you were on librespot before, this is the first time Soloist is actually doing your playback.
Could you tell me:
How you run sonn-audio: our the Docker image, or another setup (a bare Node install)? Which CPU architecture (x86_64 / arm64 / arm32)? The contents of data/soloist/soloist-1.log right after a failed attempt. Feel free to redact your account name. If you're not on the Docker image: is libpulse0 (or your distro's equivalent) installed? ldconfig -p | grep libpulse will tell you.
I've also made this failure explicit. When Soloist never reaches the sound card, the next build logs soloist never reached this zone's sound card; is libpulse (libpulse0) installed? instead of the vague no audio stream for this zone yet. If you're on the dev channel, it would be great to know which of the two messages you get.
Thanks! I installed the current dev build and tested again.
I now get the new diagnostic message:
11:09:46.076 #7327 Zones|Manager [hasParentContext=false normalizedTarget=spotify:track:4x7j9ed3FRH6CHj27kiTQ3 resolvedTarget="spotify@XXX:track:4x7j9ed3FRH6CHj27kiTQ3" station="" type=serviceplay uri="spotify@XXX:track:4x7j9ed3FRH6CHj27kiTQ3" zoneId=1] playContent
11:09:47.046 #7347 Input|SoloistTrack [accountId="XXX" uri=spotify:track:4x7j9ed3FRH6CHj27kiTQ3 zoneId=1] soloist is playing a track for this zone
11:09:52.049 #7365 Input|Soloist [zoneId=1] soloist never reached this zone's sound card; is libpulse (libpulse0) installed?
11:09:52.049 #7368 Zones|Manager [zoneId=1] spotify input not ready; blocking playback to avoid skips
11:09:52.049 #7369 Zones|Manager [audiopath=spotify:track:4x7j9ed3FRH6CHj27kiTQ3 zoneId=1] playback skipped; no playable source resolved
My setup
- LoxBerry running on DietPi 9.9.0
- DietPi/LoxBerry is running as a VM on Unraid
- Architecture: x86_64
- sonn-audio installed as a LoxBerry plugin
- Current dev build of sonn-audio
- Soloist integration is configured libpulse.so.0 is installed and visible to the dynamic linker:
root@loxberry:~# ldconfig -p | grep libpulse
libpulse.so.0 (libc6,x86-64) => /lib/x86_64-linux-gnu/libpulse.so.0
libpulse-simple.so.0 (libc6,x86-64) => /lib/x86_64-linux-gnu/libpulse-simple.so.0
So libpulse0 does not appear to be missing. Full Soloist log after the failed attempt Command:
root@loxberry:~# cat /opt/loxberry/data/plugins/audioserver4home/data/soloist/soloist-1.log
Output:
2026-10-04 11:09:46.454: soloist 1.3.0.105 build 1790942500 (20261002) (g5c3a2053ac) (linux/x86_64)
2026-10-04 11:09:46.454: client expires in 88 days
2026-10-04 11:09:46.527: api: websocket server listening on 127.0.0.1:36623
2026-10-04 11:09:46.528: ready, device_name=Büro device_id=d46d513a-77a8-496c-bfc0-399cb7197cb8
2026-10-04 11:09:46.536: restoring session
2026-10-04 11:09:46.536: running
2026-10-04 11:09:47.036: logged in as 1144006284
2026-10-04 11:09:47.047: became active device
2026-10-04 11:09:52.048: shutting down
2026-10-04 11:09:52.051: api: websocket server stopped
2026-10-04 11:09:52.071: stopped
So Soloist seems to start normally, logs in successfully and becomes the active Spotify device. However, sonn-audio reports that Soloist never reaches the zone's sound card and then gives up after about 5 seconds, even though libpulse.so.0 is installed. One additional observation There is also some intermittent/strange behavior: If I repeatedly switch between tracks / click around and trigger Spotify playback several times, I can occasionally get a Spotify track to actually start playing. So the audio path does not seem to be completely unavailable. It sometimes works after repeated attempts. However, when I manage to get a track playing this way, the playback state seems to be out of sync: the speaker is actually playing the Spotify track, but Loxone does not show the stream/track as playing correctly. Overall this feels somewhat timing/state-related to me: under normal conditions it reproducibly ends with the 5-second timeout, but repeated playback attempts can occasionally result in actual audio playback, while the Loxone/sonn-audio state does not seem to reflect that playback correctly.
That log rules out libpulse: it's installed and found. The interesting part is what's missing from your Soloist log. On a working setup, Soloist logs a line like this about 0.3 seconds after became active device:
playing spotify:track:2jqJGN2R7YQ1MuZXOMt8 "abcdef" [0:00 / 2:45]
That line means the track has actually loaded and started. Only then does Soloist open its audio output, which is the sound card sonn-audio is waiting on. In your log that line never appears: after 5 seconds the track still hadn't started, so sonn-audio gave up.
So Soloist logs in fine but doesn't manage to fetch the track itself in time. Your logs also show cover proxy failed ... fetch failed for i.scdn.co (Spotify's CDN). Together this points to the LoxBerry VM having trouble reaching Spotify's content servers: DNS, IPv6, or something in the VM's network path. That would also explain why it occasionally works if you keep retrying: sometimes a fetch happens to be fast enough.
1. Check whether the VM reaches Spotify's CDN
On the LoxBerry shell:
# Is DNS answering, and with which addresses (IPv4 and/or IPv6)?
getent ahosts i.scdn.co
# The exact cover URL that failed, with timing, over default / IPv4 / IPv6:
URL=https://i.scdn.co/image/ab67616d0000b2735ac2d9de7d94d7958c2072d1
curl -o /dev/null -sS -w 'default: %{http_code} in %{time_total}s\n' "$URL"
curl -4 -o /dev/null -sS -w 'ipv4: %{http_code} in %{time_total}s\n' "$URL"
curl -6 -o /dev/null -sS -w 'ipv6: %{http_code} in %{time_total}s\n' "$URL"
On a healthy connection these return 200 in well under a second. What to look for:
- Default is slow or fails while
-4is fast: IPv6 is advertised but not actually working (common on VMs and bridged networks). - All of them hang or fail: look at DNS, firewall or MTU in the Unraid/VM network setup.
2. Try the same zone via Spotify Connect
In the Spotify app, pick the zone as the playback device (it shows up under its zone name, e.g. "Büro") and play any track. Then tell us:
- whether you hear audio in that zone;
- whether the progress bar in the Spotify app moves, or stays at 0:00;
- the sonn-audio log lines from that moment.
Connect uses the same Soloist engine and has to fetch the track from the same Spotify servers, but it doesn't go through sonn-audio's single-track path. So:
- Connect works: the network is fine and the problem is on our side.
- Connect fails too and the progress bar sticks at 0:00: Soloist can't fetch the track, which points back to the network checks in step 1.
Could you post the output of both? Then we'll know whether this is a network issue in the VM, or something sonn-audio should handle better (e.g. waiting longer on slow connections).
Thanks, I ran both tests.
1. Spotify CDN / network test
The VM seems to reach Spotify's CDN without any issues.
Using the exact URL that previously showed the cover proxy failed error, I get HTTP 200 quickly via the default connection, IPv4 and IPv6:
root@loxberry:~# curl -o /dev/null -sS -w 'default: %{http_code} in %{time_total}s\n' "$URL"
default: 200 in 0.277111s
root@loxberry:~# curl -4 -o /dev/null -sS -w 'ipv4: %{http_code} in %{time_total}s\n' "$URL"
ipv4: 200 in 0.243700s
root@loxberry:~# curl -6 -o /dev/null -sS -w 'ipv6: %{http_code} in %{time_total}s\n' "$URL"
ipv6: 200 in 0.244907s
So at least for this CDN request, default, IPv4 and IPv6 all work and respond well below one second.
2. Spotify Connect test
Spotify Connect works.
I selected the Büro zone directly as the playback device in the Spotify app and started a track.
- Audio is playing correctly in the zone.
- The progress bar in the Spotify app moves normally.
- Playback starts successfully through sonn-audio.
The sonn-audio log at that moment is:
17:21:43.964 #23 Output|Sonos [uri=http://10.10.2.4:7090/streams/1/current.mp3?prime=1791134503963 zoneId=1] sending playback command
17:21:44.000 #31 Output|Sonos [action=SetAVTransportURI durationMs=36 host=10.10.2.107:1400 service=AVTransport status=200 zoneId=1] Sonos action succeeded
17:21:45.125 #60 Output|Sonos [action=Play durationMs=71 host=10.10.2.107:1400 service=AVTransport status=200 zoneId=1] Sonos action succeeded
17:21:45.125 #61 Output|Sonos [uri=http://10.10.2.4:7090/streams/1/current.mp3?prime=1791134503963 zoneId=1] Sonos playback started
17:21:45.149 #73 Http|Streams [profile=mp3 remote=10.10.2.107 requested=current streamId=1-624ed787-455d-450b-a342-0a98721b5e4c zoneId=1] stream request
There is one additional observation which may be relevant:
While a Spotify Connect track is already playing, if I select another track in the Spotify app, the new track also starts playing successfully after a few seconds of delay.
However, I don't see another corresponding playback event / log entry in sonn-audio when the track changes. The audio simply switches to the new track and continues playing.
So from my testing:
- Spotify CDN access is fast over default/IPv4/IPv6.
- Spotify Connect through the same zone/Soloist setup works.
- Spotify Connect playback progress works normally.
- Changing tracks during an active Connect session also works, although with a few seconds delay.
- The normal sonn-audio single-track/serviceplay path still reproducibly fails with the 5-second timeout.
Network's fine and Connect works, so what's left is speed. The queue path starts a fresh Soloist run for every track and gave it 5 seconds to start sounding. On your box that isn't enough.
The next dev build waits up to 20 seconds. Can you give that a try and see if playback works?
Even if it does, this definitely isn't normal. Here a track starts in about 0.2 seconds, from a fresh run as well as through Connect. Waiting this long after pressing play isn't acceptable, and the few seconds you see on a Connect track change are far too slow too. Something on your setup makes Soloist very slow to load a track.
I think we found the root cause – and it wasn't Soloist. 🙂 My AdGuard Home DNS server had a per-client rate limit of 20 queries/sec configured. This apparently caused Spotify/Soloist DNS bursts to hit the limit. We could reproduce this quite clearly:
- Single DNS queries were always fast.
- 30 parallel queries against AdGuard resulted in roughly 20 successful responses, while the remaining queries timed out.
- The same test directly against Cloudflare (1.1.1.1) completed 30/30 without any timeouts.
- Interestingly, the same AdGuard behavior was reproducible directly from the Unraid host, so it wasn't related to the LoxBerry VM, VLAN routing or the virtual NIC. After disabling the AdGuard rate limit, the same test against AdGuard completed 30/30 successfully in ~126 ms. More importantly, Soloist startup improved dramatically: 20:19:35.131: became active device 20:19:36.394: playing spotify:track:...
So that's now only about 1.3 seconds, compared to the previous ~5–10 seconds. Playback also starts normally now. I've now set the AdGuard rate limit to 100 queries/sec and will leave it there. This also explains why I already had slow Spotify startup with librespot before Beta 21 – so that was most likely the same DNS issue and unrelated to the Soloist migration. Thanks for your help debugging this! The longer timeout in the dev build helped us uncover the actual issue instead of just failing playback after 5 seconds.