I have two identical RPi4 with the latest belanaOS and Belena sound installed. At first deployment, they work flawlessly with Spotify connect. Both play the music, very nice. One might say they are connected.
However, if they are off for a while, they forget each other. There is no connection, no love between them. I re-imaged them and once again they were tied together, inseparable. However again once they were without Spotify sending them a loving stream, they forgot each other.
I have tried adjusting variables, MULTI_ROOM_CLIENT, MULTI_ROOM, STANDALONE and that does not seem to help.
They both have modified BLUETOOTH_DEVICE_NAME and SOUND_DEVICE_NAME variables.
Any ideas why my Belanas won’t stay mated?
I am getting a lot of this:
02.06.21 21:21:13 (+0000) audio
02.06.21 21:21:13 (+0000) audio — Audio —
02.06.21 21:21:13 (+0000) audio Starting audio service with settings:
02.06.21 21:21:13 (+0000) audio - pulseaudio 13.0
02.06.21 21:21:13 (+0000) audio - Pulse log level: NOTICE
02.06.21 21:21:13 (+0000) audio - Default output: AUTO
02.06.21 21:21:13 (+0000) audio
02.06.21 21:21:13 (+0000) audio Detected audio cards:
02.06.21 21:21:13 (+0000) audio 0 bcm2835-jack bcm2835_headphonbcm2835Headphones-bcm2835Headphones
02.06.21 21:21:13 (+0000) audio
02.06.21 21:21:13 (+0000) audio
02.06.21 21:21:13 (+0000) bluetooth - Bluetooth profile not available or not initialized. Retrying (attempt 2/5)…
02.06.21 21:21:13 (+0000) audio
02.06.21 21:21:13 (+0000) audio — Audio —
02.06.21 21:21:13 (+0000) audio Starting audio service with settings:
02.06.21 21:21:13 (+0000) audio - pulseaudio 13.0
02.06.21 21:21:13 (+0000) audio - Pulse log level: NOTICE
02.06.21 21:21:13 (+0000) audio - Default output: AUTO
02.06.21 21:21:13 (+0000) audio
02.06.21 21:21:13 (+0000) audio Detected audio cards:
02.06.21 21:21:13 (+0000) audio 0 bcm2835-jack bcm2835_headphonbcm2835Headphones-bcm2835Headphones
02.06.21 21:21:13 (+0000) audio
02.06.21 21:21:13 (+0000) audio
02.06.21 21:21:14 (+0000) multiroom-client 2021-06-02 21-21-14.433 [Error] (Connection) Failed to connect to host ‘10.0.0.238’, error: Connection refused
02.06.21 21:21:14 (+0000) multiroom-client 2021-06-02 21-21-14.434 [Error] (Controller) Error: Connection refused
02.06.21 21:21:14 (+0000) multiroom-client 2021-06-02 21-21-14.434 [Error] (Connection) Error in socket shutdown: Transport endpoint is not connected
02.06.21 21:21:15 (+0000) multiroom-client 2021-06-02 21-21-15.434 [Error] (Connection) Failed to connect to host ‘10.0.0.238’, error: Connection refused
02.06.21 21:21:15 (+0000) multiroom-client 2021-06-02 21-21-15.434 [Error] (Controller) Error: Connection refused
02.06.21 21:21:15 (+0000) multiroom-client 2021-06-02 21-21-15.434 [Error] (Connection) Error in socket shutdown: Transport endpoint is not connected
02.06.21 21:21:16 (+0000) multiroom-client 2021-06-02 21-21-16.435 [Error] (Connection) Failed to connect to host ‘10.0.0.238’, error: Connection refused
02.06.21 21:21:16 (+0000) multiroom-client 2021-06-02 21-21-16.435 [Error] (Controller) Error: Connection refused
02.06.21 21:21:16 (+0000) multiroom-client 2021-06-02 21-21-16.435 [Error] (Connection) Error in socket shutdown: Transport endpoint is not connected
02.06.21 21:21:17 (+0000) multiroom-client 2021-06-02 21-21-17.436 [Error] (Connection) Failed to connect to host ‘10.0.0.238’, error: Connection refused
02.06.21 21:21:17 (+0000) multiroom-client 2021-06-02 21-21-17.436 [Error] (Controller) Error: Connection refused
02.06.21 21:21:17 (+0000) multiroom-client 2021-06-02 21-21-17.436 [Error] (Connection) Error in socket shutdown: Transport endpoint is not connected
02.06.21 21:21:18 (+0000) multiroom-client 2021-06-02 21-21-18.437 [Error] (Connection) Failed to connect to host ‘10.0.0.238’, error: Connection refused
02.06.21 21:21:18 (+0000) multiroom-client 2021-06-02 21-21-18.437 [Error] (Controller) Error: Connection refused
02.06.21 21:21:18 (+0000) multiroom-client 2021-06-02 21-21-18.437 [Error] (Connection) Error in socket shutdown: Transport endpoint is not connected
02.06.21 21:21:18 (+0000) bluetooth - Bluetooth profile not available or not initialized. Retrying (attempt 3/5)…
02.06.21 21:21:19 (+0000) multiroom-client 2021-06-02 21-21-19.437 [Error] (Connection) Failed to connect to host ‘10.0.0.238’, error: Connection refused
02.06.21 21:21:19 (+0000) multiroom-client 2021-06-02 21-21-19.437 [Error] (Controller) Error: Connection refused
02.06.21 21:21:19 (+0000) multiroom-client 2021-06-02 21-21-19.437 [Error] (Connection) Error in socket shutdown: Transport endpoint is not connected
02.06.21 21:21:20 (+0000) airplay Waiting for audioblock to start…
02.06.21 21:21:20 (+0000) multiroom-client 2021-06-02 21-21-20.438 [Error] (Connection) Failed to connect to host ‘10.0.0.238’, error: Connection refused
02.06.21 21:21:20 (+0000) multiroom-client 2021-06-02 21-21-20.438 [Error] (Controller) Error: Connection refused
02.06.21 21:21:20 (+0000) multiroom-client 2021-06-02 21-21-20.438 [Error] (Connection) Error in socket shutdown: Transport endpoint is not connected
02.06.21 21:21:21 (+0000) multiroom-client 2021-06-02 21-21-21.439 [Error] (Connection) Failed to connect to host ‘10.0.0.238’, error: Connection refused
02.06.21 21:21:21 (+0000) multiroom-client 2021-06-02 21-21-21.439 [Error] (Controller) Error: Connection refused
02.06.21 21:21:21 (+0000) multiroom-client 2021-06-02 21-21-21.439 [Error] (Connection) Error in socket shutdown: Transport endpoint is not connected
02.06.21 21:21:22 (+0000) multiroom-client 2021-06-02 21-21-22.439 [Error] (Connection) Failed to connect to host ‘10.0.0.238’, error: Connection refused
02.06.21 21:21:22 (+0000) multiroom-client 2021-06-02 21-21-22.440 [Error] (Controller) Error: Connection refused
02.06.21 21:21:22 (+0000) multiroom-client 2021-06-02 21-21-22.440 [Error] (Connection) Error in socket shutdown: Transport endpoint is not connected
02.06.21 21:21:23 (+0000) multiroom-client 2021-06-02 21-21-23.440 [Error] (Connection) Failed to connect to host ‘10.0.0.238’, error: Connection refused
02.06.21 21:21:23 (+0000) multiroom-client 2021-06-02 21-21-23.440 [Error] (Controller) Error: Connection refused
02.06.21 21:21:23 (+0000) multiroom-client 2021-06-02 21-21-23.440 [Error] (Connection) Error in socket shutdown: Transport endpoint is not connected
02.06.21 21:21:23 (+0000) bluetooth - Bluetooth profile not available or not initialized. Retrying (attempt 4/5)…
02.06.21 21:21:23 (+0000) audio Setting audio routing rules…
02.06.21 21:21:23 (+0000) audio Routing ‘balena-sound.input’ to ‘balena-sound.output’.
02.06.21 21:21:23 (+0000) audio Routing ‘balena-sound.output’ to ‘alsa_output.bcm2835-jack.stereo-fallback’.
02.06.21 21:21:23 (+0000) audio W: [pulseaudio] main.c: This program is not intended to be run as root (unless --system is specified).
02.06.21 21:21:23 (+0000) audio W: [pulseaudio] server-lookup.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
02.06.21 21:21:23 (+0000) audio W: [pulseaudio] main.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
02.06.21 21:21:24 (+0000) multiroom-client 2021-06-02 21-21-24.441 [Error] (Connection) Failed to connect to host ‘10.0.0.238’, error: Connection refused
02.06.21 21:21:24 (+0000) multiroom-client 2021-06-02 21-21-24.441 [Error] (Controller) Error: Connection refused
02.06.21 21:21:24 (+0000) multiroom-client 2021-06-02 21-21-24.441 [Error] (Connection) Error in socket shutdown: Transport endpoint is not connected
02.06.21 21:21:25 (+0000) multiroom-client 2021-06-02 21-21-25.442 [Error] (Connection) Failed to connect to host ‘10.0.0.238’, error: Connection refused
02.06.21 21:21:25 (+0000) multiroom-client 2021-06-02 21-21-25.442 [Error] (Controller) Error: Connection refused
02.06.21 21:21:25 (+0000) multiroom-client 2021-06-02 21-21-25.442 [Error] (Connection) Error in socket shutdown: Transport endpoint is not connected
02.06.21 21:21:26 (+0000) multiroom-client 2021-06-02 21-21-26.443 [Error] (Connection) Failed to connect to host ‘10.0.0.238’, error: Connection refused
02.06.21 21:21:26 (+0000) multiroom-client 2021-06-02 21-21-26.443 [Error] (Controller) Error: Connection refused
02.06.21 21:21:26 (+0000) multiroom-client 2021-06-02 21-21-26.443 [Error] (Connection) Error in socket shutdown: Transport endpoint is not connected
02.06.21 21:21:27 (+0000) multiroom-client 2021-06-02 21-21-27.444 [Error] (Connection) Failed to connect to host ‘10.0.0.238’, error: Connection refused
02.06.21 21:21:27 (+0000) multiroom-client 2021-06-02 21-21-27.444 [Error] (Controller) Error: Connection refused