Running the Roon server for a few days without restart will lead to Sonos devices not being able to playback music streamed via tidal. Playback via the native Sonos app does work in this situation. The same symptoms can be observed for multiple Sonos devices, the speaker directly connected to the server via an ASIO driver does work flawlessly though. I believe that playback from a local source is still possible but I haven’t attempted to do it for a long time so don’t take my word for it.
The corresponding entry in the error log with emphasis on the System.OutOfMemoryException which will be thrown at all subsequent requests:
1/21 15:55:34 Trace: [zone Kili] Playing 1 Items
01/21 15:55:34 Trace: [zone Kili] Selecting Source state=Stopped
01/21 15:55:34 Trace: [zone Kili] Playing TransportItem
01/21 15:55:34 Trace: [Kili] [zoneplayer/sonos] endstream, zp state: Disconnected
01/21 15:55:34 Trace: [Kili] [zoneplayer/sonos] endstream, zp state: Disconnected
01/21 15:55:34 Trace: [Kili] [LowQuality, 16/48 TIDAL AAC => 16/48] [LOADING @ 0:00] Dä Plan - Querbeat
01/21 15:55:35 Warn: [music] GetExtendedTrackInfo: track 41650600 not found
01/21 15:55:35 Warn: [music] GetExtendedTrackInfo: track 41650600 not found
01/21 15:55:35 Trace: [tidal/http] GET https://api.tidalhifi.com/v1/tracks/70150472/streamurl?countryCode=DE&sessionId=f9ee54c3-90a1-4175-8f41-962b6c6e61ac&soundQuality=LOSSLESS => Success
01/21 15:55:35 Trace: [tidal/http] GET https://api.tidalhifi.com/v1/tracks/70150472?countryCode=DE&sessionId=f9ee54c3-90a1-4175-8f41-962b6c6e61ac& => Success
01/21 15:55:35 Info: [Kili] [zoneplayer] Playing: http://5e.audio-pop.tidal.com/27405107/2bf82b6d-32ea-4c70-bfdc-965a3de543e2_36.m4a
01/21 15:55:35 Trace: [Kili] [zoneplayer/sonos] endstream, zp state: Disconnected
01/21 15:55:35 Trace: [ZOTAC-ASIO] [Enhanced 2,0x, 16/44 ALAC => DSD128] [100% buf] [PLAYING @ 0:40/3:11] D.A.N.Z.E. - Funky Marys
01/21 15:55:36 Info: [Kili] [zoneplayer] Open Result (Playing):Result[Status=Success]
01/21 15:55:36 Trace: [Kili] [zoneplayer/sonos] endstream, zp state: Disconnected
01/21 15:55:36 Info: [Kili] [zoneplayer] Starting playback
01/21 15:55:36 Trace: [Kili] [zoneplayer/sonos] backend StartStream 1, bytesperframe: 4, channels: 2, samplerate: 48000, bits per sample: 16
01/21 15:55:37 Warn: [zoneplayer] failed to start stream System.OutOfMemoryException: Eine Ausnahme vom Typ "System.OutOfMemoryException" wurde ausgelöst.
bei Sooloos.Broker.Transport.UPNPZonePlayerBase.RingBuffer..ctor(Int32 size, Byte[] initial_contents)
bei Sooloos.Broker.Transport.UPNPZonePlayerBase.StartStream(StartStreamParameters ps)
bei Sooloos.Broker.Transport.ZonePlayerBase.<>c__DisplayClass61_0.<_StartStream>b__0()
bei Sooloos.Broker.Transport.ZonePlayerBase.Prepare(Action cb_done)
bei Sooloos.Broker.Transport.ZonePlayerBase._StartStream()
01/21 15:55:37 Info: EV PLAYBACK FAILED System.OutOfMemoryException: Eine Ausnahme vom Typ "System.OutOfMemoryException" wurde ausgelöst.
bei Sooloos.Broker.Transport.UPNPZonePlayerBase.RingBuffer..ctor(Int32 size, Byte[] initial_contents)
bei Sooloos.Broker.Transport.UPNPZonePlayerBase.StartStream(StartStreamParameters ps)
bei Sooloos.Broker.Transport.ZonePlayerBase.<>c__DisplayClass61_0.<_StartStream>b__0()
bei Sooloos.Broker.Transport.ZonePlayerBase.Prepare(Action cb_done)
bei Sooloos.Broker.Transport.ZonePlayerBase._StartStream()
01/21 15:55:37 Warn: Track Stopped Due to Error
01/21 15:55:37 Info: [zone Kili] OnPlayFeedback StoppedEndOfMediaUnnatural
01/21 15:55:37 Debug: [zone Kili] _Advance
01/21 15:55:37 Trace: [Kili] [LowQuality, 16/48 TIDAL AAC => 16/48] [STOPPED @ 0:00]
01/21 15:55:37 Trace: [prebuffer] ready 163200/480000 (34%) @ 0/223 sec
01/21 15:55:37 Trace: [streamingmediafile] finished caching http://5e.audio-pop.tidal.com/27405107/2bf82b6d-32ea-4c70-bfdc-965a3de543e2_36.m4a
01/21 15:55:40 Info: [stats] 1535mb Virtual, 601mb Physical, 508mb Managed, 2416 Handles, 88 Threads
01/21 15:55:41 Trace: [ZOTAC-ASIO] [Enhanced 2,0x, 16/44 ALAC => DSD128] [100% buf] [PLAYING @ 0:45/3:11] D.A.N.Z.E. - Funky Marys
01/21 15:55:42 Trace: [zone] no playback for 5s, suspending to release audio device
01/21 15:55:42 Trace: [zone Kili] Suspend
01/21 15:55:42 Trace: [zone Kili] Stop
The server runs at win 10 32 bit with the newest version of Roon installed. A restart of the server will fix the issue temporarily.
Attached you will find the log in it’s entirety. I only have access to the one log file at the moment, if the others are required as well I’ll gladly provide them.
Regards
Kilian