Roon Core Machine
Tested on two different Roon cores on the same network (as I continue to troubleshoot issues with one) but only is ever active/authorized at a time, able to reproduce on either core.
NAS Synology DS218+
10GB RAM
Roon 2.0 (Build 1244)
DB on external SSD, music on NAS drives
MacOS Ventura
3.5 GHz Dual-Core i7
16 GB RAM
DB on internal SSD, music on external USB drive
Networking Gear & Setup Details
Both Roon cores and endpoints connected via ethernet
Connected Audio Devices
Raspberry Pi 4
Rasbian x64 (bullseye)
RoonBridge 1.8 (Build 1125)
Number of Tracks in Library
~60k
Description of Issue
When playing both saved playlists that I’ve created and when Roon auto-plays tracks after finishing a queue, the core routinely loses connectivity to the RoonBridge Pi endpoint when moving to the next track and Roon just stops playback, reporting “StoppedLostEndpoint” in the logs and “Failed to open the Audio device” in the UI. I’m able to restart it every time by pressing play again, although it usually takes a few presses to get past the “Failed to open the Audio device” message in the UI, then it happens to the next track after the new track finishes, rinse, repeat. Rebooting both the core and the endpoint seems to fix this for a few tracks and then it comes back.
I’ve tried adjusting the Resync Delay for this endpoint (schiitstack
) up to 1000ms but no luck.
Full logs from when Roon changes to the next track and fails below. I’ve been able to repo this both on the NAS and my MBP core. Nothing has changed on the RoonBridge Pi (beyond keeping it updated with apt
) but this has just started recently (maybe w/in a month) so I’m guessing it’s possibly related to a Roon 2.0 build update. Key error seems to be:
04/10 11:18:26 Trace: [Schiit Modi 3E] [raatclient] GOT [24] {"message":"RAAT__OUTPUT_PLUGIN_STATUS_DEVICE_OPEN_FAILED","status":"DeviceOpenFailed"}
04/10 11:18:09 Trace: [schiitstack] [Lossless, 24/96 ALAC => 24/96] [94% buf] [PLAYING @ 4:14/4:28] Gypsy - Fleetwood Mac
04/10 11:18:12 Info: [stats] 14239mb Virtual, 2766mb Physical, 1348mb Managed, 414 Handles, 74 Threads
04/10 11:18:14 Trace: [roonapi] [apiclient 192.168.1.231:45856] CONTINUE Changed {"message":"Running (1872)","is_error":false}
04/10 11:18:14 Trace: [schiitstack] [Lossless, 24/96 ALAC => 24/96] [46% buf] [PLAYING @ 4:19/4:28] Gypsy - Fleetwood Mac
04/10 11:18:19 Trace: [roonapi] [apiclient 192.168.1.26:49806] CONTINUE Changed {"message":"Extension Repository loaded (v1.0.15)","is_error":false}
04/10 11:18:20 Trace: [schiitstack] [Lossless, 24/96 ALAC => 24/96] [4% buf] [PLAYING @ 4:25/4:28] Gypsy - Fleetwood Mac
04/10 11:18:23 Info:
--[ SignalPath ]---------------------------------------------
SignalPath Quality = Lossless
Elements:
Source Format=Alac 96000/24/2 BitRate=2887 Quality=Lossless
Raat Device=Schiit Modi 3E
Output OutputType=Local_Alsa Quality=Lossless SubType= Model=Schiit Modi 3E
------------------------------------------------------------
04/10 11:18:23 Info: [library] recorded play for profile 53e786ce-de2b-480b-b7f1-3537ad6ed2e0: mediaid=50:1:44d58007-fff1-4fde-b3bf-7abcc3db42a9 metadataid=123:0:MT0053624555 contentid= libraryid=50:1:44d58007-fff1-4fde-b3bf-7abcc3db42a9 isfromradio=False isfrommix=False isfrommobile=
04/10 11:18:23 Trace: [schiitstack] [zoneplayer/raat] Endpoint Schiit Modi 3E State Changed: Playing => Prepared
04/10 11:18:23 Trace: [Schiit Modi 3E] [raatclient] SENT [22]{"request":"end_stream"}
04/10 11:18:23 Info: [zone schiitstack] OnPlayFeedback StoppedEndOfMediaNatural
04/10 11:18:23 Debug: [zone schiitstack] _Advance (Track)
04/10 11:18:23 Trace: [Schiit Modi 3E] [raatclient] GOT [20] {"status":"Ended"}
04/10 11:18:23 Trace: [Schiit Modi 3E] [raatclient] GOT [22] {"status":"Success"}
04/10 11:18:23 Trace: [schiitstack] [Lossless, 24/96 ALAC => 24/96] [4% buf] [LOADING @ 0:00] The Figurehead - The Cure
04/10 11:18:23 Trace: [roonapi] [apiclient 192.168.1.207:33656] CONTINUE Changed {"zones_changed":[{"zone_id":"1601c691b5d8f0276072873d046e4bea8f3d","display_name":"schiitstack","outputs":[{"output_id":"1701c691b5d8f0276072873d046e4bea8f3d","zone_id":"1601c691b5d8f0276072873d046e4bea8f3d","can_group_with_output_ids":["1701d3b103237f124aa570b3d7fa6d4f8a01","17014d33e63ab8a2c2198854fc4ef5b6057c","17013791edc9ca3bc5489ce518e0d78cf858","1701c691b5d8f0276072873d046e4bea8f3d","1701d64ab0e348271e2951a3b61f81177f2a"],"display_name":"schiitstack","source_controls":[{"control_key":"1","display_name":"Schiit Modi 3E","supports_standby":false,"status":"indeterminate"}]}],"state":"loading","is_next_allowed":true,"is_previous_allowed":true,"is_pause_allowed":true,"is_play_allowed":false,"is_seek_allowed":false,"queue_items_remaining":388,"queue_time_remaining":106538,"settings":{"loop":"loop","shuffle":false,"auto_radio":true},"now_playing":{"seek_position":null,"length":375,"one_line":{"line1":"The Figurehead - The Cure"},"two_line":{"line1":"The Figurehead","line2":"The Cure"},"three_line":{"line1":"The Figurehead","line2":"The Cure","line3":"Pornography [Deluxe Edition]"},"image_key":"d3b6e6822ad907fff22a95e86e946836","artist_image_keys":["b568f7f1c6bff24af67bb68776d7b6af"]}}],"zones_seek_changed":[{"zone_id":"1601c691b5d8f0276072873d046e4bea8f3d","queue_time_remaining":106538,"seek_position":null}]}
04/10 11:18:23 Trace: [roonapi] [apiclient 192.168.1.231:45856] CONTINUE Changed {"zones_changed":[{"zone_id":"1601c691b5d8f0276072873d046e4bea8f3d","display_name":"schiitstack","outputs":[{"output_id":"1701c691b5d8f0276072873d046e4bea8f3d","zone_id":"1601c691b5d8f0276072873d046e4bea8f3d","can_group_with_output_ids":["1701d3b103237f124aa570b3d7fa6d4f8a01","17014d33e63ab8a2c2198854fc4ef5b6057c","17013791edc9ca3bc5489ce518e0d78cf858","1701c691b5d8f0276072873d046e4bea8f3d","1701d64ab0e348271e2951a3b61f81177f2a"],"display_name":"schiitstack","source_controls":[{"control_key":"1","display_name":"Schiit Modi 3E","supports_standby":false,"status":"indeterminate"}]}],"state":"loading","is_next_allowed":true,"is_previous_allowed":true,"is_pause_allowed":true,"is_play_allowed":false,"is_seek_allowed":false,"queue_items_remaining":388,"queue_time_remaining":106538,"settings":{"loop":"loop","shuffle":false,"auto_radio":true},"now_playing":{"seek_position":null,"length":375,"one_line":{"line1":"The Figurehead - The Cure"},"two_line":{"line1":"The Figurehead","line2":"The Cure"},"three_line":{"line1":"The Figurehead","line2":"The Cure","line3":"Pornography [Deluxe Edition]"},"image_key":"d3b6e6822ad907fff22a95e86e946836","artist_image_keys":["b568f7f1c6bff24af67bb68776d7b6af"]}}],"zones_seek_changed":[{"zone_id":"1601c691b5d8f0276072873d046e4bea8f3d","queue_time_remaining":106538,"seek_position":null}]}
04/10 11:18:23 Trace: [roonapi] [apiclient 192.168.1.26:45608] CONTINUE Changed {"zones_changed":[{"zone_id":"1601c691b5d8f0276072873d046e4bea8f3d","display_name":"schiitstack","outputs":[{"output_id":"1701c691b5d8f0276072873d046e4bea8f3d","zone_id":"1601c691b5d8f0276072873d046e4bea8f3d","can_group_with_output_ids":["1701d3b103237f124aa570b3d7fa6d4f8a01","17014d33e63ab8a2c2198854fc4ef5b6057c","17013791edc9ca3bc5489ce518e0d78cf858","1701c691b5d8f0276072873d046e4bea8f3d","1701d64ab0e348271e2951a3b61f81177f2a"],"display_name":"schiitstack","source_controls":[{"control_key":"1","display_name":"Schiit Modi 3E","supports_standby":false,"status":"indeterminate"}]}],"state":"loading","is_next_allowed":true,"is_previous_allowed":true,"is_pause_allowed":true,"is_play_allowed":false,"is_seek_allowed":false,"queue_items_remaining":388,"queue_time_remaining":106538,"settings":{"loop":"loop","shuffle":false,"auto_radio":true},"now_playing":{"seek_position":null,"length":375,"one_line":{"line1":"The Figurehead - The Cure"},"two_line":{"line1":"The Figurehead","line2":"The Cure"},"three_line":{"line1":"The Figurehead","line2":"The Cure","line3":"Pornography [Deluxe Edition]"},"image_key":"d3b6e6822ad907fff22a95e86e946836","artist_image_keys":["b568f7f1c6bff24af67bb68776d7b6af"]}}],"zones_seek_changed":[{"zone_id":"1601c691b5d8f0276072873d046e4bea8f3d","queue_time_remaining":106538,"seek_position":null}]}
04/10 11:18:23 Trace: [library] finished with 410 dirty tracks 23 dirty albums 32 dirty performers 161 dirty works 314 dirty performances 0 clumping tracks, 0 clumping auxfiles 0 compute tracks, 0 deleted tracks, 0 tracks to (re)load, 0 tracks to retain, 0 auxfiles to (re)load, 0 auxfiles to retain, and 531 changed objects
04/10 11:18:23 Trace: [roonapi] [apiclient 192.168.1.26:45608] GOT com.roonlabs.image:1/get_image {"image_key":"d3b6e6822ad907fff22a95e86e946836","scale":"fit","width":1080,"height":1080,"format":"image/jpeg"}
04/10 11:18:23 Trace: GetImageData[Local](id=10175 spec=1080 key=jbpaaaaa) => gotfromcache=False missinglocalimage=False didscale=True scaletime=39), overalltime=39ms
04/10 11:18:23 Trace: GetImageData[Local](id=10175 spec=1080 key=jbpaaaaa) => gotfromcache=False missinglocalimage=False didscale=True scaletime=39), overalltime=39ms
04/10 11:18:23 Debug: [easyhttp] [6725] GET to http://127.0.0.1:9330/image/jbpaaaaa.1080.jpg returned after 41 ms, status code: 200, request body size: 0 B
04/10 11:18:23 Trace: [roonapi] [apiclient 192.168.1.26:45608] COMPLETE Success <135386 bytes>
04/10 11:18:24 Info: [library/albumdetails] found 1 ingroup alternates, 0 other alternates
04/10 11:18:24 Trace: [music/searchindex] [search-index] removed in 0ms: 1 albums, 1 tracks, 0 works, 1 performers, 0 labels, 0 genres
04/10 11:18:24 Trace: [music/searchindex] [search-index] added in 2ms: 1 albums, 1 tracks, 0 works, 1 performers, 0 labels, 0 genres
04/10 11:18:24 Debug: [music/profilestats] Computed stats in 332ms, got 50 top albums, 50 top performers, 44 genres
04/10 11:18:24 Debug: [music/profilestats] Computed stats in 245ms, got 50 top albums, 50 top performers, 44 genres
04/10 11:18:24 Debug: [music/profilestats] Computed stats in 174ms, got 50 top albums, 50 top performers, 32 genres
04/10 11:18:25 Debug: [music/profilestats] Computed stats in 244ms, got 50 top albums, 50 top performers, 32 genres
04/10 11:18:25 Debug: [music/profilestats] Computed stats in 171ms, got 50 top albums, 50 top performers, 32 genres
04/10 11:18:25 Trace: [dbperf] flush 0 bytes, 0 ops in 12 ms (cumulative 665646857 bytes, 290892 ops in 609009 ms)
04/10 11:18:25 Trace: [library] endmutation in 1916ms
04/10 11:18:25 Trace: [dbperf] flush 0 bytes, 0 ops in 2 ms (cumulative 665646857 bytes, 290892 ops in 609011 ms)
04/10 11:18:25 Info: [library/albumdetails] found 1 ingroup alternates, 0 other alternates
04/10 11:18:26 Info: [library/albumdetails] Created album details screen for LibraryAlbum[807983, The Cure - Pornography [Deluxe Edition]]
04/10 11:18:26 Info: [library/albumdetails] 79004d5730303030313939303232, 79004d5230303033303930393630, 79004d5230303030383138363035, 79004d5230303030343930303930, 79004d5230303031353939323034, 79004d5230303035363532373337, 79004d5230303034353939373032, 79004d5230303034353436373236, 79004d5230303033373230333939, 79004d5230303031353933333038, 79004d5230303031333234323038, 79004d5230303030393834323835, 79004d5230303030343830383934, 79004d5230303035343935303234, 79004d5230303031353938343639, 79004d5230303033393731313839, 79004d5230303033333434373635, 79004d5230303031353933393039, 79004d5230303033383835363333, 79004d5230303033303837383730, 79004d5230303030393830383233, 3e0196a643d4571a633ea8ede08d89b79001, 3e0157c29b9c3ff1284ea01722c1b1189389, 3e01ee685582a2f0c24db809fcacdc67ed9b, 3e012da0f779e0e3933fa2e58eb128171040, 3e01faf65f66d046d33e9c7eec508e850946, 3e01e4c00355a654e237882c50e0fa690468, 3e01ace89827c670fb3984abad226d4ed6a0, 3e01add8d6b0d702083f912847c734c2c446, 3e018d69e3ecd7d7c73aa6ab11630e120f38, 79004d5230303031363134373038, 79004d5230303031363133353834, 79004d5230303031353932363938, 79004d5230303031363037353837, 79004d5230303031363133333434, 3e01e2a00eccf3b2234da229003952eab96c, 3e018097abc00c6b7d37b6f70dc38344f282, 3e014d2219a814c6e24aa89847f191b48bdd, 3e01fbc33e87b460e449b90df93af926fb6a, 3e0142834e7f012e034ba9bec8849822d65c, 3e012b84456f3ecc974db3861118495a4c48, 3e01a62aee3dbbcc51458922b152d43c40fc, 3e01c19a5f394044524987eabb4726943ef5, 3e01edc2b0a14dbe0f4c9e3f564af338713b, 3e0171cf6377ac5eb2439477df8e2558f57a, 3e018230f2fb1313194bbd0ab876e868cd07, a6003334343533393432, a60031313938333932, a600313937303234383234, a6003334393534313237, c80030303034323238323736383832, c80030303630323439383231383338, c80030363033343937393738343033, c80030303831323237373837373639, c8007771353677366b7a3669706262, cd0050584a4d574b505851376d727a50466c4c4f, cd0035594a3769427048734c70507a7a6d394975, cd00386b375f3432702d475469434a794e52334b, cd00477334374d47357a47314c33474e414c6f4a
04/10 11:18:26 Trace: [dbperf] flush 0 bytes, 0 ops in 15 ms (cumulative 665646857 bytes, 290892 ops in 609026 ms)
04/10 11:18:26 Info: [schiitstack] [zoneplayer] Playing: /var/packages/RoonServer/target/roonmnt/nas-music/iTunes/iTunes Media/Music/The Cure/Pornography [Deluxe Edition]/1-05 The Figurehead.m4a
04/10 11:18:26 Debug: [raat/tcpaudiosource] disconnecting
04/10 11:18:26 Info: [audio/env] [zoneplayer -> stream] All streams were disposed
04/10 11:18:26 Info: [audio/env] [zoneplayer -> stream -> endpoint] All streams were disposed
04/10 11:18:26 Info: [audio/env] [zoneplayer] All streams were disposed
04/10 11:18:26 Trace: [dbperf] flush 0 bytes, 0 ops in 3 ms (cumulative 665646857 bytes, 290892 ops in 609029 ms)
04/10 11:18:26 Info: sleep 50ms after flush
04/10 11:18:26 Info: [schiitstack] [zoneplayer] Queueing: /var/packages/RoonServer/target/roonmnt/nas-music/iTunes/iTunes Media/Music/Elton John/The Very Best Of Elton John/2-06 Blue Eyes.m4a
04/10 11:18:26 Info: [schiitstack] [zoneplayer] Open Result (Playing):Result[Status=Success]
04/10 11:18:26 Info: [schiitstack] [zoneplayer] Starting playback
04/10 11:18:26 Trace: [schiitstack] [zoneplayer/raat] StartStream Sooloos.Broker.Transport.RaatZonePlayer+Endpoint: StreamFormat(channels=2, bitspersample=16, samplerate=44100, isdts=False) => StreamFormat(channels=2, bitspersample=16, samplerate=44100, isdts=False) streamid=69151376
04/10 11:18:26 Trace: [Schiit Modi 3E] [raatclient] SENT [23]{"request":"teardown"}
04/10 11:18:26 Trace: [schiitstack] [zoneplayer/raat] Endpoint Schiit Modi 3E State Changed: Prepared => Idle
04/10 11:18:26 Trace: [Schiit Modi 3E] [raatclient] SENT [24]{"request":"setup","format":{"sample_type":"pcm","sample_rate":44100,"bits_per_sample":16,"channels":2,"sample_subtype":"none"}}
04/10 11:18:26 Info: [zone schiitstack] OnPlayFeedback Playing
04/10 11:18:26 Trace: [schiitstack] [Lossless, 16/44 ALAC => 16/44] [4% buf] [PLAYING @ 0:00] The Figurehead - The Cure
04/10 11:18:26 Trace: [roonapi] [apiclient 192.168.1.207:33656] CONTINUE Changed {"zones_changed":[{"zone_id":"1601c691b5d8f0276072873d046e4bea8f3d","display_name":"schiitstack","outputs":[{"output_id":"1701c691b5d8f0276072873d046e4bea8f3d","zone_id":"1601c691b5d8f0276072873d046e4bea8f3d","can_group_with_output_ids":["1701d3b103237f124aa570b3d7fa6d4f8a01","17014d33e63ab8a2c2198854fc4ef5b6057c","17013791edc9ca3bc5489ce518e0d78cf858","1701c691b5d8f0276072873d046e4bea8f3d","1701d64ab0e348271e2951a3b61f81177f2a"],"display_name":"schiitstack","source_controls":[{"control_key":"1","display_name":"Schiit Modi 3E","supports_standby":false,"status":"indeterminate"}]}],"state":"playing","is_next_allowed":true,"is_previous_allowed":true,"is_pause_allowed":true,"is_play_allowed":false,"is_seek_allowed":true,"queue_items_remaining":388,"queue_time_remaining":106538,"settings":{"loop":"loop","shuffle":false,"auto_radio":true},"now_playing":{"seek_position":null,"length":375,"one_line":{"line1":"The Figurehead - The Cure"},"two_line":{"line1":"The Figurehead","line2":"The Cure"},"three_line":{"line1":"The Figurehead","line2":"The Cure","line3":"Pornography [Deluxe Edition]"},"image_key":"d3b6e6822ad907fff22a95e86e946836","artist_image_keys":["b568f7f1c6bff24af67bb68776d7b6af"]}}]}
04/10 11:18:26 Trace: [roonapi] [apiclient 192.168.1.231:45856] CONTINUE Changed {"zones_changed":[{"zone_id":"1601c691b5d8f0276072873d046e4bea8f3d","display_name":"schiitstack","outputs":[{"output_id":"1701c691b5d8f0276072873d046e4bea8f3d","zone_id":"1601c691b5d8f0276072873d046e4bea8f3d","can_group_with_output_ids":["1701d3b103237f124aa570b3d7fa6d4f8a01","17014d33e63ab8a2c2198854fc4ef5b6057c","17013791edc9ca3bc5489ce518e0d78cf858","1701c691b5d8f0276072873d046e4bea8f3d","1701d64ab0e348271e2951a3b61f81177f2a"],"display_name":"schiitstack","source_controls":[{"control_key":"1","display_name":"Schiit Modi 3E","supports_standby":false,"status":"indeterminate"}]}],"state":"playing","is_next_allowed":true,"is_previous_allowed":true,"is_pause_allowed":true,"is_play_allowed":false,"is_seek_allowed":true,"queue_items_remaining":388,"queue_time_remaining":106538,"settings":{"loop":"loop","shuffle":false,"auto_radio":true},"now_playing":{"seek_position":null,"length":375,"one_line":{"line1":"The Figurehead - The Cure"},"two_line":{"line1":"The Figurehead","line2":"The Cure"},"three_line":{"line1":"The Figurehead","line2":"The Cure","line3":"Pornography [Deluxe Edition]"},"image_key":"d3b6e6822ad907fff22a95e86e946836","artist_image_keys":["b568f7f1c6bff24af67bb68776d7b6af"]}}]}
04/10 11:18:26 Trace: [roonapi] [apiclient 192.168.1.26:45608] CONTINUE Changed {"zones_changed":[{"zone_id":"1601c691b5d8f0276072873d046e4bea8f3d","display_name":"schiitstack","outputs":[{"output_id":"1701c691b5d8f0276072873d046e4bea8f3d","zone_id":"1601c691b5d8f0276072873d046e4bea8f3d","can_group_with_output_ids":["1701d3b103237f124aa570b3d7fa6d4f8a01","17014d33e63ab8a2c2198854fc4ef5b6057c","17013791edc9ca3bc5489ce518e0d78cf858","1701c691b5d8f0276072873d046e4bea8f3d","1701d64ab0e348271e2951a3b61f81177f2a"],"display_name":"schiitstack","source_controls":[{"control_key":"1","display_name":"Schiit Modi 3E","supports_standby":false,"status":"indeterminate"}]}],"state":"playing","is_next_allowed":true,"is_previous_allowed":true,"is_pause_allowed":true,"is_play_allowed":false,"is_seek_allowed":true,"queue_items_remaining":388,"queue_time_remaining":106538,"settings":{"loop":"loop","shuffle":false,"auto_radio":true},"now_playing":{"seek_position":null,"length":375,"one_line":{"line1":"The Figurehead - The Cure"},"two_line":{"line1":"The Figurehead","line2":"The Cure"},"three_line":{"line1":"The Figurehead","line2":"The Cure","line3":"Pornography [Deluxe Edition]"},"image_key":"d3b6e6822ad907fff22a95e86e946836","artist_image_keys":["b568f7f1c6bff24af67bb68776d7b6af"]}}]}
04/10 11:18:26 Trace: [prebuffer] ready 149940/441000 (34%) @ 0/375 sec
04/10 11:18:26 Info: [schiitstack] [zoneplayer] Open result (Queueing): Result[Status=Success]
04/10 11:18:26 Trace: [Schiit Modi 3E] [raatclient] GOT [19] {"status":"Teardown"}
04/10 11:18:26 Trace: [Schiit Modi 3E] [raatclient] GOT [24] {"message":"RAAT__OUTPUT_PLUGIN_STATUS_DEVICE_OPEN_FAILED","status":"DeviceOpenFailed"}
04/10 11:18:26 Trace: [schiitstack] [zoneplayer/raat] device open failed. stopping stream
04/10 11:18:26 Info: [audio/env] [zoneplayer -> stream] All streams were disposed
04/10 11:18:26 Info: [audio/env] [zoneplayer -> stream -> endpoint] All streams were disposed
04/10 11:18:26 Warn: [zone schiitstack] Track Stopped Due to DeviceOpenFailed
04/10 11:18:26 Info: [zone schiitstack] OnPlayFeedback StoppedLostEndpoint
04/10 11:18:26 Trace: [zone schiitstack] Suspend
04/10 11:18:26 Info: [zone schiitstack] OnPlayFeedback Stopped
04/10 11:18:26 Info: [zone schiitstack] Canceling Pending Sleep
04/10 11:18:26 Trace: [schiitstack] [Lossless, 16/44 ALAC => 16/44] [4% buf] [STOPPED @ 0:00] The Figurehead - The Cure
04/10 11:18:26 Info: sleep 50ms after flush
04/10 11:18:26 Info: [audio/env] [zoneplayer] All streams were disposed