pipewire (or wireplumber?) sometimes (?) lost clients after devices reconnects
pipewire (git master) + wireplumber (git master)
Picture looks like this. I detach laptop from the dock, then attach back. At that time spotify played something at background. After dock detach/attach spoitfy stops to play. Pushing play button shows it plays something to somewhere. However, there is no sound. It's also no spotify in clients list. wpctl status doesn't show it. There are no clear logs with errors either, however here are some from pipewire-pulse:
pipewire-pulse[1259]: mod.protocol-pulse: client 0x5622c988edb0 [spotify]: ERROR command:-1 (invalid) tag:4294967295 error:25 (Input/output error) pipewire-pulse[1259]: mod.protocol-pulse: client 0x5622c99822f0 [Music Player Daemon]: ERROR command:-1 (invalid) tag:4294967295 error:25 (Input/output error) pipewire-pulse[1259]: mod.protocol-pulse: client 0x5622cc304cc0 [mpv]: ERROR command:-1 (invalid) tag:4294967295 error:25 (Input/output error) pipewire-pulse[1259]: mod.protocol-pulse: client 0x5622ccc6ec90 [mpv]: ERROR command:-1 (invalid) tag:4294967295 error:25 (Input/output error) pipewire-pulse[1259]: mod.protocol-pulse: server 0x5622c9869570: client 0x5622c99822f0 [Music Player Daemon] error -22 (Invalid argument) pipewire-pulse[1259]: mod.protocol-pulse: server 0x5622c9869570: client 0x5622c99822f0 [Music Player Daemon] error -22 (Invalid argument) pipewire-pulse[1259]: mod.protocol-pulse: server 0x5622c9869570: client 0x5622c99822f0 [Music Player Daemon] error -22 (Invalid argument) pipewire-pulse[1259]: mod.protocol-pulse: server 0x5622c9869570: client 0x5622c99822f0 [Music Player Daemon] error -22 (Invalid argument)
After restart spotify works.
In case there is some way to troubleshoot or help to debug this please let me know.