Great, thanks for the response. It would be very much a relief if it turns out simply to be the wrong overlay! I am brand new to balena and almost as brand new to GitHub, so I’m feeling my way along.
See responses below.
I’ve gone ahead and granted support access for a day, just in case it helps you, but honestly I wouldn’t expect you to go that far with it. If you think it is something I’ve done wrong or can address, let me at it! Thanks so much. Sorry the log is still a bit long even though it’s just an excerpt, but I’m not sure what has value to you there. Thanks again.
Keith Gardner
| phil-d-wilson balena team
May 31 |
Hi Keith - welcome to balena. Thanks for letting us know about the issues you’ve found - we’re really keen to make balenaSound as good as it can be.
Can I first find out how you deployed the project? Was it from hub.balena.io and did you click “Get started” to join the fleet, or “Fork this fleet” to manage the device yourself?
Ignore the Application called “BalenaSound”, that was my first attempt which I abandoned. We’re working on the second one, “balena-sound”, which I deployed from the link on the Balena Sound GitHub page marked “Deploy with balena”, which pre-filled some of the details for me.
Also, I tried to look up the dtoverlay you should use, but found several version of the Allo Boss HAT. Can you let us know the exact model name for your DAC?
The HAT says “Boss” and indicates "HW REV 1.7” (SL NO. 44). The barcode on the back of the card has “Boss DAC 9202979”. The box it came in has “B07191SYFH”.
There was a red error line in the log earlier, but it’s not there now, it may have scrolled out? Some kind of “broken pipe” message, usually not a good thing. I’ll download the log to include here, maybe it’ll be there even if not displayed. I can’t think of anything else to tell you. I’ll grant access if need be.
If you can find an error message in the logging, and provide it here, that would be great!
Here’s the tail end of the log file, I’ve suppressed any lines not containing Error, Warn or Notice. Hope this helps!
05.21 19 58 21 (-0400) 2021-05-30 23-58-21.631 [Notice] (init) Settings file “/var/cache/snapcast/server.json”
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2140 30.05.21 19 58 21 (-0400) 2021-05-30 23-58-21.633 [Error] (Avahi) Failed to create client Daemon not running
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2143 30.05.21 19 58 22 (-0400) 2021-05-30 23-58-22.563 [Notice] (Connection) Connected to 192.168.0.16
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2146 30.05.21 19 58 22 (-0400) 2021-05-30 23-58-22.565 [Notice] (StreamServer) StreamServer NewConnection 172.17.0.1
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2149 30.05.21 19 58 22 (-0400) 2021-05-30 23-58-22.573 [Warn] (Controller) Unexpected message received, type 4
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2155 30.05.21 19 58 23 (-0400) 2021-05-30 23-58-23.552 [Error] (StreamSessionTCP) Error reading message header of length 0 End of file
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2158 30.05.21 19 58 23 (-0400) 2021-05-30 23-58-23.551 [Error] (Controller) Failed to send hello request, error Connection timed out
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2161 30.05.21 19 58 23 (-0400) 2021-05-30 23-58-23.660 [Error] (Controller) Time sync request failed Connection timed out
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2164 30.05.21 19 58 23 (-0400) 2021-05-30 23-58-23.660 [Error] (Connection) Error reading message header of length 0 Operation canceled
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2179 30.05.21 19 58 24 (-0400) 2021-05-30 23-58-24.663 [Notice] (StreamServer) StreamServer NewConnection 172.17.0.1
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2182 30.05.21 19 58 24 (-0400) 2021-05-30 23-58-24.662 [Notice] (Connection) Connected to 192.168.0.16
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2217 30.05.21 19 58 29 (-0400) 2021-05-30 23-58-29.722 [Notice] (Alsa) No chunk received for 5000ms. Closing ALSA.
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2229 30.05.21 20 0 34 (-0400) 2021-05-31 00-00-34.150 [Warn] (Alsa) snd_pcm_avail_delay failed Broken pipe (-32), avail 882, delay 3480, using snd_pcm_avail amd snd_pcm_delay.
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2232 30.05.21 20 0 34 (-0400) 2021-05-31 00-00-34.152 [Error] (Alsa) XRUN while writing to PCM Broken pipe
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2235 30.05.21 20 0 34 (-0400) 2021-05-31 00-00-34.161 [Warn] (Alsa) snd_pcm_avail_delay failed Input/output error (-5), avail 882, delay 0, using snd_pcm_avail amd snd_pcm_delay.
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2238 30.05.21 20 0 34 (-0400) 2021-05-31 00-00-34.163 [Warn] (Alsa) snd_pcm_delay failed Input/output error (-5), avail 3528, delay 0
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2241 30.05.21 20 0 34 (-0400) 2021-05-31 00-00-34.179 [Warn] (Alsa) snd_pcm_avail_delay failed Input/output error (-5), avail 3528, delay 0, using snd_pcm_avail amd snd_pcm_delay.
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2244 30.05.21 20 0 45 (-0400) 2021-05-31 00-00-45.299 [Notice] (Alsa) No chunk received for 5000ms. Closing ALSA.
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2267 30.05.21 19 58 24 (-0400) 2021-05-30 23-58-24.663 [Notice] (StreamServer) StreamServer NewConnection 172.17.0.1
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2270 30.05.21 20 0 45 (-0400) 2021-05-31 00-00-45.299 [Notice] (Alsa) No chunk received for 5000ms. Closing ALSA.
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2285 30.05.21 20 20 21 (-0400) 2021-05-31 00-20-21.770 [Warn] (Alsa) snd_pcm_avail_delay failed Broken pipe (-32), avail 883, delay 3471, using snd_pcm_avail amd snd_pcm_delay.
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2288 30.05.21 20 20 21 (-0400) 2021-05-31 00-20-21.772 [Error] (Alsa) XRUN while writing to PCM Broken pipe
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2291 30.05.21 20 20 21 (-0400) 2021-05-31 00-20-21.779 [Warn] (Alsa) snd_pcm_avail_delay failed Input/output error (-5), avail 882, delay 0, using snd_pcm_avail amd snd_pcm_delay.
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2294 30.05.21 20 20 29 (-0400) 2021-05-31 00-20-29.851 [Notice] (Alsa) No chunk received for 5000ms. Closing ALSA.
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2319 30.05.21 20 42 44 (-0400) 2021-05-31 00-42-44.968 [Error] (AlsaStream) Error reading PCM data Broken pipe (code -32)
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2322 30.05.21 20 42 44 (-0400) 2021-05-31 00-42-44.970 [Error] (Alsa) ERROR. Can’t wait for PCM to become ready Input/output error
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2331 30.05.21 20 42 45 (-0400) 2021-05-31 00-42-44.998 [Error] (AlsaStream) Exception Can’t open device ‘pulse’, error Connection refused
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2340 30.05.21 20 42 45 (-0400) 2021-05-31 00-42-44.990 [Error] (Alsa) Exception in initAlsa Can’t open default, error Connection refused
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2355 30.05.21 20 42 45 (-0400) 2021-05-31 00-42-45.077 [Error] (Connection) Error reading message header of length 0 End of file
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2364 30.05.21 20 42 45 (-0400) 2021-05-31 00-42-45.103 [Error] (Alsa) Exception in initAlsa Can’t open default, error Connection refused
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2400 30.05.21 20 42 46 (-0400) 2021-05-31 00-42-46.205 [Notice] (Connection) Connected to 192.168.0.16
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2403 30.05.21 20 42 46 (-0400) 2021-05-31 00-42-46.217 [Error] (Connection) Error reading message header of length 0 End of file
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2406 30.05.21 20 42 46 (-0400) 2021-05-31 00-42-46.218 [Error] (Connection) Error in socket shutdown Transport endpoint is not connected
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2409 30.05.21 20 42 46 (-0400) 2021-05-31 00-42-46.218 [Error] (Connection) Failed to send message, error Bad file descriptor
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2412 30.05.21 20 42 46 (-0400) 2021-05-31 00-42-46.218 [Error] (Controller) Time sync request failed Bad file descriptor
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2417 30.05.21 20 42 47 (-0400) 2021-05-31 00-42-47.219 [Notice] (Connection) Connected to 192.168.0.16
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2420 30.05.21 20 42 47 (-0400) 2021-05-31 00-42-47.228 [Error] (Connection) Error reading message header of length 0 End of file
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2423 30.05.21 20 42 47 (-0400) 2021-05-31 00-42-47.228 [Error] (Connection) Error in socket shutdown Transport endpoint is not connected
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2426 30.05.21 20 42 47 (-0400) 2021-05-31 00-42-47.229 [Error] (Connection) Failed to send message, error Bad file descriptor
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2429 30.05.21 20 42 47 (-0400) 2021-05-31 00-42-47.229 [Error] (Controller) Time sync request failed Bad file descriptor
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2438 30.05.21 20 42 48 (-0400) 2021-05-31 00-42-48.217 [Error] (Controller) Failed to send hello request, error Connection timed out
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2441 30.05.21 20 42 48 (-0400) 2021-05-31 00-42-48.217 [Error] (Controller) Time sync request failed Connection timed out
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2448 30.05.21 20 42 49 (-0400) 2021-05-31 00-42-49.218 [Error] (Connection) Failed to connect to host ‘192.168.0.16’, error Connection refused
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2451 30.05.21 20 42 49 (-0400) 2021-05-31 00-42-49.218 [Error] (Controller) Error Connection refused
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2454 30.05.21 20 42 49 (-0400) 2021-05-31 00-42-49.218 [Error] (Connection) Error in socket shutdown Transport endpoint is not connected
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2457 30.05.21 20 42 49 (-0400) 2021-05-31 00-42-49.228 [Error] (Controller) Failed to send hello request, error Connection timed out
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2460 30.05.21 20 42 49 (-0400) 2021-05-31 00-42-49.228 [Error] (Controller) Time sync request failed Connection timed out
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2463 30.05.21 20 42 50 (-0400) 2021-05-31 00-42-50.229 [Error] (Connection) Failed to connect to host ‘192.168.0.16’, error Connection refused
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2466 30.05.21 20 42 50 (-0400) 2021-05-31 00-42-50.229 [Error] (Controller) Error Connection refused
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2469 30.05.21 20 42 50 (-0400) 2021-05-31 00-42-50.229 [Error] (Connection) Error in socket shutdown Transport endpoint is not connected
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2472 30.05.21 20 42 51 (-0400) 2021-05-31 00-42-51.230 [Error] (Connection) Failed to connect to host ‘192.168.0.16’, error Connection refused
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2475 30.05.21 20 42 51 (-0400) 2021-05-31 00-42-51.230 [Error] (Controller) Error Connection refused
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2478 30.05.21 20 42 51 (-0400) 2021-05-31 00-42-51.230 [Error] (Connection) Error in socket shutdown Transport endpoint is not connected
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2495 30.05.21 20 42 52 (-0400) 2021-05-31 00-42-52.231 [Error] (Connection) Failed to connect to host ‘192.168.0.16’, error Connection refused
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2498 30.05.21 20 42 52 (-0400) 2021-05-31 00-42-52.232 [Error] (Controller) Error Connection refused
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2501 30.05.21 20 42 52 (-0400) 2021-05-31 00-42-52.232 [Error] (Connection) Error in socket shutdown Transport endpoint is not connected
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2508 30.05.21 20 42 53 (-0400) 2021-05-31 00-42-53.233 [Error] (Connection) Failed to connect to host ‘192.168.0.16’, error Connection refused
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2511 30.05.21 20 42 53 (-0400) 2021-05-31 00-42-53.233 [Error] (Controller) Error Connection refused
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2514 30.05.21 20 42 53 (-0400) 2021-05-31 00-42-53.233 [Error] (Connection) Error in socket shutdown Transport endpoint is not connected
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2517 30.05.21 20 42 54 (-0400) 2021-05-31 00-42-54.234 [Notice] (Connection) Connected to 192.168.0.16
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2522 30.05.21 20 42 56 (-0400) 2021-05-31 00-42-56.244 [Error] (Controller) Failed to send hello request, error Connection timed out
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2525 30.05.21 20 42 56 (-0400) 2021-05-31 00-42-56.246 [Error] (Controller) Time sync request failed Connection timed out
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2528 30.05.21 20 42 56 (-0400) 2021-05-31 00-42-56.246 [Error] (Connection) Error reading message header of length 0 Operation canceled
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2543 30.05.21 20 42 57 (-0400) 2021-05-31 00-42-57.247 [Notice] (Connection) Connected to 192.168.0.16
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2546 30.05.21 20 42 57 (-0400) 2021-05-31 00-42-57.258 [Error] (Connection) Error reading message header of length 0 End of file
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2549 30.05.21 20 42 57 (-0400) 2021-05-31 00-42-57.259 [Error] (Connection) Error in socket shutdown Transport endpoint is not connected
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2552 30.05.21 20 42 57 (-0400) 2021-05-31 00-42-57.259 [Error] (Connection) Failed to send message, error Bad file descriptor
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2555 30.05.21 20 42 57 (-0400) 2021-05-31 00-42-57.259 [Error] (Controller) Time sync request failed Bad file descriptor
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2616 30.05.21 20 43 04 (-0400) 2021-05-31 00-43-04.721 [Notice] (init) Settings file “/var/cache/snapcast/server.json”
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2619 30.05.21 20 43 04 (-0400) 2021-05-31 00-43-04.723 [Error] (Avahi) Failed to create client Daemon not running
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2628 30.05.21 20 43 04 (-0400) 2021-05-31 00-43-04.771 [Notice] (Server) Server start Can’t open device ‘pulse’, error Connection refused
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2631 30.05.21 20 43 04 (-0400) 2021-05-31 00-43-04.772 [Error] (main) Exception Can’t open device ‘pulse’, error Connection refused
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2634 30.05.21 20 43 04 (-0400) 2021-05-31 00-43-04.794 [Notice] (main) Snapserver terminated.
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2726 30.05.21 20 43 11 (-0400) 2021-05-31 00-43-11.758 [Notice] (Connection) Connected to 192.168.0.16
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2741 30.05.21 20 43 11 (-0400) 2021-05-31 00-43-11.758 [Notice] (Connection) Connected to 192.168.0.16
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2746 30.05.21 20 43 12 (-0400) 2021-05-31 00-43-12.840 [Error] (Connection) Error reading message header of length 0 Connection reset by peer
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2749 30.05.21 20 43 12 (-0400) 2021-05-31 00-43-12.840 [Error] (Connection) Error in socket shutdown Transport endpoint is not connected
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2761 30.05.21 20 43 13 (-0400) 2021-05-31 00-43-13.055 [Notice] (init) Settings file “/var/cache/snapcast/server.json”
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2764 30.05.21 20 43 13 (-0400) 2021-05-31 00-43-13.056 [Error] (Avahi) Failed to create client Daemon not running
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2767 30.05.21 20 43 13 (-0400) 2021-05-31 00-43-13.786 [Error] (Controller) Failed to send hello request, error Connection timed out
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2770 30.05.21 20 43 13 (-0400) 2021-05-31 00-43-13.786 [Error] (Controller) Time sync request failed Connection timed out
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2773 30.05.21 20 43 14 (-0400) 2021-05-31 00-43-14.788 [Notice] (Connection) Connected to 192.168.0.16
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2776 30.05.21 20 43 14 (-0400) 2021-05-31 00-43-14.788 [Notice] (StreamServer) StreamServer NewConnection 172.17.0.1
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2785 30.05.21 20 43 19 (-0400) 2021-05-31 00-43-19.907 [Notice] (Alsa) No chunk received for 5000ms. Closing ALSA.
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2794 30.05.21 20 43 37 (-0400) 2021-05-31 00-43-37.170 [Warn] (Alsa) snd_pcm_avail_delay failed Broken pipe (-32), avail 1763, delay 3471, using snd_pcm_avail amd snd_pcm_delay.
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2797 30.05.21 20 43 37 (-0400) 2021-05-31 00-43-37.172 [Error] (Alsa) XRUN while writing to PCM Broken pipe
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2800 30.05.21 20 43 37 (-0400) 2021-05-31 00-43-37.179 [Warn] (Alsa) snd_pcm_avail_delay failed Input/output error (-5), avail 882, delay 0, using snd_pcm_avail amd snd_pcm_delay.
~/Downloads/balena-sound_patient-tree-30.05.21_21_07_40_(-0400).txt 2803 30.05.21 20 56 32 (-0400) 2021-05-31 00-56-32.316 [Notice] (Alsa) No chunk received for 5000ms. Closing ALSA.