Exception: Failed to open audio output

Hello everyone, I just installed Volumio and did some tests — the software is great. However, I am encountering the following issue. I can listen to music from my NAS or an internet radio. Everything works fine for a few minutes, then I get an error message: “Error: failed to open audio output.” and the playback stops. I have to press “Play” again for the music to resume. I am using a Raspberry Pi 4 with the latest version of Volumio and I am using the headphone output for sound.

Unlike other topics I’ve seen, the issue doesn’t occur all the time for me, but only after a certain amount of time.

thanks in advance for the help

Here is the MPD log.

/var/log/mpd.log

Nov 12 21:48 : zeroconf: No global port, disabling zeroconf
Nov 12 21:48 : exception: No such directory
Nov 12 21:52 : player: played “NAS/synology/Alice Cooper/00 No More Mr_ Nice Guy.mp3”
Nov 12 21:56 : player: played “NAS/synology/Alice Cooper/00 Poison.mp3”
Nov 12 22:01 : player: played “NAS/synology/Alice Cooper/32 The Awakening.mp3”
Nov 12 22:02 : output: Failed to play on “alsa” (alsa): snd_pcm_writei() failed: Broken pipe
Nov 12 22:02 : exception: Failed to open audio output
Nov 12 22:02 : player: played “NAS/synology/Alice Cooper/32 This maniac’s in love with you.mp3”
Nov 12 22:04 : output: Failed to play on “alsa” (alsa): snd_pcm_writei() failed: Broken pipe
Nov 12 22:04 : exception: Failed to open audio output
Nov 12 22:04 : player: played “NAS/synology/Alice Cooper/Freak Out/01 Freak Out Song.mp3”