# Sound Supervisor won't start / Spotify issues

**URL:** <https://forums.balena.io/t/sound-supervisor-wont-start-spotify-issues/353023>\
**Category:** balenaOS\
**Tags:** raspberrypizero\
**Created:** [February 24, 2022, 6:55pm UTC](https://forums.balena.io/t/sound-supervisor-wont-start-spotify-issues/353023 "2022-02-24T18:55:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![lunaticluke](https://avatars.discourse-cdn.com/v4/letter/l/ba8739/32.png) [@lunaticluke](https://forums.balena.io/u/lunaticluke)\
**Post date:** [February 24, 2022, 6:55pm UTC](https://forums.balena.io/t/sound-supervisor-wont-start-spotify-issues/353023/1 "2022-02-24T18:55:19Z")

</div>

_Update_: I posted this topic like a month ago, but got no replies and I also gut no further replies from the staff on my original post. I would really appreciate helpful replies, because I am trying to get this to work for so long…

Hello, I recently posted here and made some progress with my system, but there are still problems. I deployed balena sound to my raspberry pi zero 2 (+ HIFI DAC Zero). The previous deploys didn’t work because the wrong version of docker was used. This was fixed, so now the sound supervisor installed without a problem. I tried to play music via spotify connect and BT but nothing worked. The terminal output continuously stated "

When I try to connect to Spotify and play a song it disconnects immediately. The logs are as follows:

spotify [2021-12-23T12:33:56Z INFO librespot\_playback::player] Loading \<Walk This Way (feat. Aerosmith)\> with Spotify URI spotify:track:6qUEOWqOzu1rLPUPQ1ECpx  
spotify [2021-12-23T12:33:57Z INFO librespot\_playback::player] \<Walk This Way (feat. Aerosmith)\> (310386 ms) loaded  
spotify ALSA lib pulse.c:243:(pulse\_connect) PulseAudio: Unable to connect: Connection terminated  
spotify  
spotify [2021-12-23T12:33:58Z ERROR librespot\_playback::player] Audio Sink Error Connection Refused: Device default May be Invalid, Busy, or Already in Use, ALSA function ‘snd\_pcm\_open’ failed with error ‘ECONNREFUSED: Connection refused’  
Service exited ‘spotify sha256:b354887709a46e467701c9ea0ed1b59060e155973f9e65a25835d8b801c21de1’  
audio Waiting for sound supervisor to start at 172.17.0.1:80  
Restarting service ‘spotify sha256:b354887709a46e467701c9ea0ed1b59060e155973f9e65a25835d8b801c21de1’  
spotify Starting Spotify plugin…  
spotify Device name: balenaSound Spotify 1738  
spotify Volume normalization enabled.  
spotify Spotify audio cache disabled.  
spotify [2021-12-23T12:34:01Z INFO librespot] librespot 0.3.1 bbd575e (Built on 2021-11-26, Build ID: a6e0Ery3, Profile: release)  
spotify [2021-12-23T12:34:01Z INFO librespot\_core::session] Connecting to AP “[ap-gew1.spotify.com:4070](http://ap-gew1.spotify.com:4070)”  
spotify [2021-12-23T12:34:01Z INFO librespot\_core::session] Authenticated as “1155180833” !  
spotify [2021-12-23T12:34:01Z INFO librespot\_playback::mixer::softmixer] Mixing with softvol and volume control: Linear  
spotify [2021-12-23T12:34:01Z INFO librespot\_playback::convert] Converting with ditherer: tpdf  
spotify [2021-12-23T12:34:01Z INFO librespot\_playback::audio\_backend::alsa] Using AlsaSink with format: S16  
spotify [2021-12-23T12:34:01Z INFO librespot\_core::session] Country: “AT”

When I try to pair my phone with the BT of the Pi it won’t work either.

I alqready set the variable “AUDIO\_OUTPUT” to “DAC” and the custom config. “BALENA\_HOST\_CONFIG\_dtoverlay” to “hifiberry-dac” because I’m using the hfiberry zero dac.

In case you need the .log file, I attatched it to this post.  
[log.txt](https://forums.balena.io/uploads/short-url/otDk3wsDRTpVA6bd42JPWgbs6oL.txt) (7.3 KB)

Any ideas? Thanks in advance!

---

<div class="post-metadata">

**Author:** ![lunaticluke](https://avatars.discourse-cdn.com/v4/letter/l/ba8739/32.png) [@lunaticluke](https://forums.balena.io/u/lunaticluke)\
**Post date:** [February 25, 2022, 11:35am UTC](https://forums.balena.io/t/sound-supervisor-wont-start-spotify-issues/353023/2 "2022-02-25T11:35:04Z")

</div>

I also granted support access for one week!

---

<div class="post-metadata">

**Author:** ![mrsaatci](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/mrsaatci/32/7561_2.png) [@mrsaatci](https://forums.balena.io/u/mrsaatci)\
**Post date:** [March 3, 2022, 6:25pm UTC](https://forums.balena.io/t/sound-supervisor-wont-start-spotify-issues/353023/3 "2022-03-03T18:25:10Z")

</div>

I’m not sure if this will be relevant to you, but I’ve been trying to set up BalenaSound on Rasp 1 B+ and it seems that they can’t handle all services running, as of now I’m attempting to run or install BalenaOS on docker or a VM and have that set up as Master and my pi’s as client-only which I hope will work.

---

<div class="post-metadata">

**Author:** ![lunaticluke](https://avatars.discourse-cdn.com/v4/letter/l/ba8739/32.png) [@lunaticluke](https://forums.balena.io/u/lunaticluke)\
**Post date:** [March 3, 2022, 7:21pm UTC](https://forums.balena.io/t/sound-supervisor-wont-start-spotify-issues/353023/4 "2022-03-03T19:21:54Z")

</div>

Thanks for your reply 🙂 Good thought, but it seems to me that it‘s a configuration / deployment problem because everything runs smoothly (Pi Zero 2 WH is a recent model with sufficient hardware).

Good luck with your setup!
