Audio stops during playback

In the last few weeks I have had several times where playback stopped during playback. My roon server is running on a windows PC and the audio output is with a Scarlett 6i6. I believe this is the relevant part of the logs.

02/03 09:43:30 Trace: [library] endmutation in 39ms
02/03 09:43:34 Trace: [PC (Scarlett)] [Enhanced, 16/44 QOBUZ FLAC => 32/44] [100% buf] [PLAYING @ 2:45/5:32] Eyes of the Squirrel - Primus
02/03 09:43:37 Trace: [library] endmutation in 69ms
02/03 09:43:39 Trace: [Focusrite USB ASIO] [raatclient] GOT [7] {"status":"Ended"}
02/03 09:43:40 Trace: [raatserver] [RaatServer SM-G998U1 @ 192.168.86.24:9200] lost client connection. Retrying
02/03 09:43:40 Trace: [raatserver] [RaatServer SM-G998U1 @ 192.168.86.24:9200] connecting (attempt 1)
02/03 09:43:40 Info: [transport] destroyed zone Galaxy S21+ was playing? False
02/03 09:43:40 Trace: [zone Galaxy S21+] Suspend
02/03 09:43:40 Info: [zone Galaxy S21+] Canceling Pending Sleep
02/03 09:43:40 Info: [zone Galaxy S21+] Canceling Pending Sleep
02/03 09:43:40 Trace: [raatserver] [System Output] lost client connection. Retrying
02/03 09:43:40 Info: [raatserver] [System Output] connecting (attempt 1)
02/03 09:43:40 Info: [transport] destroyed zone PC (Default Device) was playing? False
02/03 09:43:40 Trace: [zone PC (Default Device)] Suspend
02/03 09:43:40 Info: [zone PC (Default Device)] Canceling Pending Sleep
02/03 09:43:40 Info: [zone PC (Default Device)] Canceling Pending Sleep
02/03 09:43:40 Trace: [PC (Scarlett)] [Enhanced, 16/44 QOBUZ FLAC => 32/44] [100% buf] [PLAYING @ 2:49/5:32] Eyes of the Squirrel - Primus
02/03 09:43:40 Trace: [raatserver] [RaatServer DESKTOP-V020T3P @ 127.0.0.1:9200] lost client connection. Retrying
02/03 09:43:40 Trace: [raatserver] [RaatServer DESKTOP-V020T3P @ 127.0.0.1:9200] connecting (attempt 1)
02/03 09:43:40 Warn: [raat/tcpaudiosource] send failed: An established connection was aborted by the software in your host machine
02/03 09:43:40 Warn: [raat/tcpaudiosource] disconnecting + retrying
02/03 09:43:40 Debug: [raat/tcpaudiosource] disconnecting
02/03 09:43:40 Info: [transport] destroyed zone PC (Scarlett) was playing? True
02/03 09:43:40 Trace: [zone PC (Scarlett)] Suspend
02/03 09:43:40 Debug: [raat/tcpaudiosource] connecting to 127.0.0.1:51882
02/03 09:43:40 Debug: Lastfm '4rUDFafoYI4JXcCHAvnpy0LWRyZrJkcu' DONE: Primus - Eyes of the Squirrel 
02/03 09:43:40 Info: 
--[ SignalPath ]---------------------------------------------
SignalPath Quality = Enhanced
Elements:
    Source Format=Flac 44100/16/2  Quality=Lossless
    UpgradeBitDepth FromBitsPerSample=16 ToBitsPerSample=64 Quality=Lossless
    HeadroomGain GainDb=-3 Quality=Enhanced
    Truncate FromBitsPerSample=64 ToBitsPerSample=32 Quality=Lossless
    Raat Device=Focusrite USB ASIO
    Output OutputType=Local_Asio Quality=Lossless SubType= Model=Focusrite USB ASIO
------------------------------------------------------------
02/03 09:43:40 Info: [zone PC (Scarlett)] OnPlayFeedback Stopped
02/03 09:43:40 Info: [zone PC (Scarlett)] Canceling Pending Sleep
02/03 09:43:40 Debug: FTMSI-B closed file for qo/E2F27D13; open files:0
02/03 09:43:40 Info: [zone PC (Scarlett)] Canceling Pending Sleep
02/03 09:43:40 Debug: FTMSI-B qo/E2F27D13 download status: AllBlocksDownloaded accessTimeout:True openFiles:0 prev:(AllBlocksDownloaded,True,1)
02/03 09:43:40 Info: [audio/env] [zoneplayer -> stream] All streams were disposed
02/03 09:43:40 Debug: [raat/tcpaudiosource] disconnecting
02/03 09:43:40 Trace: [PC (Scarlett)] [zoneplayer/raat] Endpoint Focusrite USB ASIO State Changed: Playing => Prepared
02/03 09:43:40 Info: [audio/env] [zoneplayer -> stream -> endpoint] All streams were disposed
02/03 09:43:40 Debug: FTMSI-B closed file for qo/7C42ED01; open files:0
02/03 09:43:40 Debug: FTMSI-B qo/7C42ED01 download status: AllBlocksDownloaded accessTimeout:False openFiles:0 prev:(AllBlocksDownloaded,False,1)
02/03 09:43:40 Info: [audio/env] [zoneplayer] All streams were disposed
02/03 09:43:40 Warn: [zoneplayer/raat] Error during streaming: System.NullReferenceException: Object reference not set to an instance of an object.
   at Sooloos.Broker.Transport.RaatZonePlayer.<>c__DisplayClass31_0.<_StartStream4>b__1()
02/03 09:43:40 Trace: [raatserver] [RaatServer DESKTOP-V020T3P @ 127.0.0.1:9200] connected
02/03 09:43:40 Trace: [rnet/RnetJsonClient] SENT {"request":"enumerate_devices","subscription_id":"0"}
02/03 09:43:40 Trace: [raatserver] [RaatServer SM-G998U1 @ 192.168.86.24:9200] connected
02/03 09:43:40 Trace: [rnet/RnetJsonClient] SENT {"request":"enumerate_devices","subscription_id":"0"}
02/03 09:43:40 Info: sleep 47ms after flush
02/03 09:43:40 Error: getting null client....
02/03 09:43:40 Trace: [rnet/RnetJsonClient] GOT NONFINAL {"status": "Success", "devices": [{"device_id": "default", "auto_enable": true, "type": "android", "discovery_data": {"tcp_port": 32999, "vendor": "N/A", "raat_version": "1.1.39", "unique_id": "9b3fa78b-5e11-d71e-20d6-dc52a2ede5bb", "model": "N/A", "protocol_version": "3", "version": "N/A"}, "is_system_output": true, "name": "Default Output", "auto_name": "SM-G998U1", "config": {"unique_id": "9b3fa78b-5e11-d71e-20d6-dc52a2ede5bb", "output": {"type": "android", "device": "default", "name": "Default Output"}, "volume": {"type": "android", "device": "default"}, "external_config": {"is_private": true}}}]}
02/03 09:43:40 Info: [raatserver] GOT DEVICE e484ca1557dde6abd39fc0ff703c12ec::default Type=android Name=Default Output 
02/03 09:43:40 Warn: [raat_ll/client] [System Output] failed to connect Object reference not set to an instance of an object.
02/03 09:43:40 Trace: [rnet/RnetJsonClient] SENT {"request":"enable_device","device_id":"default","subscription_id":"87"}
02/03 09:43:40 Info: [raatserver] [Default Output] connecting (attempt 1)
02/03 09:43:40 Trace: [rnet/RnetJsonClient] GOT NONFINAL {"status": "Success", "devices": [{"type": "wasapi", "device_id": "default", "config": {"unique_id": "97998a2d-f8d4-6344-3741-8a04bb0e0961", "output": {"type": "wasapi", "device": "default", "name": "System Output"}, "volume": {"type": "wasapi", "device": "default"}, "external_config": {"max_bits_per_sample": 24}}, "name": "System Output", "is_system_output": true, "discovery_data": {"tcp_port": 51013, "vendor": "N/A", "unique_id": "97998a2d-f8d4-6344-3741-8a04bb0e0961", "protocol_version": "3", "raat_version": "1.1.39", "version": "N/A", "model": "N/A"}}, {"type": "wasapi", "device_id": "{0.0.0.00000000}.{8061200a-527e-4345-ba31-0d54073ca998}", "name": "Realtek(R) Audio"}, {"type": "wasapi", "device_id": "{0.0.0.00000000}.{b65615ea-de46-4715-8d03-1e5745247b51}", "name": "Realtek(R) Audio"}, {"type": "asio", "device_id": "{232685C6-6548-49D8-846D-4141A3EF7560}", "name": "ASIO4ALL v2"}, {"type": "asio", "device_id": "{188135E1-7171-3434-854F-01A3C71F3DF9}", "name": "FL Studio ASIO"}, {"type": "asio", "device_id": "{429A7462-F176-411E-8DA9-AE6C0A258098}", "name": "Focusrite Thunderbolt ASIO"}, {"type": "asio", "device_id": "{AC4D0455-50D7-4498-B3CD-9A41D130B759}", "config": {"unique_id": "4ae93ca8-a715-3ad7-8a31-8c035c58bc84", "output": {"type": "asio", "dsd_mode": "none", "device": "{AC4D0455-50D7-4498-B3CD-9A41D130B759}", "name": "Focusrite USB ASIO"}, "external_config": {"max_sample_rate_multiplier": 2, "max_bits_per_sample": 32}}, "name": "Focusrite USB ASIO", "discovery_data": {"tcp_port": 51014, "vendor": "N/A", "unique_id": "4ae93ca8-a715-3ad7-8a31-8c035c58bc84", "protocol_version": "3", "raat_version": "1.1.39", "version": "N/A", "model": "N/A"}}, {"type": "asio", "device_id": "{A80362FF-CE76-4DD9-874A-704C57BF0D6A}", "name": "Realtek ASIO"}, {"type": "wasapi", "device_id": "{0.0.0.00000000}.{02862368-7e1d-4077-a13a-36b8fcfd8ce3}", "name": "Focusrite Usb Audio"}]}
02/03 09:43:40 Info: [raatserver] GOT DEVICE d8545ab9-8bb7-4236-8e95-aa2b6a311ded::default Type=wasapi Name=System Output 
02/03 09:43:40 Error: [raat/tcpaudiosource] connect failed: Object reference not set to an instance of an object.

Here it has occurred again. Playback stopped in the middle of a track.

Networking Gear & Setup Details

Confirmed the behavior with Qobuz as the source (not sure about local SSD, my only other source). I am connected by ethernet.

Connected Audio Devices

Scarlett 6i6

Number of Tracks in Library

20,000

Description of Issue

Playback stops in the middle of a track. There are also crackles every few seconds (not sure if that is the same problem or a different one).

Here is another trace of a moment where the audio stopped.

02/03 19:13:32 Trace: [library] endmutation in 55ms
02/03 19:13:32 Trace: [PC (Scarlett)] [Enhanced, 24/48 QOBUZ FLAC => 32/48] [100% buf] [PLAYING @ 3:59/5:53] Ignoto - Dag Rosenqvist
02/03 19:13:34 Debug: UI-FWD: mode: settings
02/03 19:13:34 Debug: GMS: saving nav stack
02/03 19:13:34 Debug: UI-NAV: settings
02/03 19:13:34 Trace: DisposeReusableCellCache: scrollpanel(477), 25 disposed from cache.
02/03 19:13:36 Debug: GMS: done saving nav stack
02/03 19:13:37 Trace: [Focusrite USB ASIO] [raatclient] GOT [66] {"status":"Ended"}
02/03 19:13:37 Trace: [raatserver] [Focusrite USB ASIO] lost client connection. Retrying
02/03 19:13:37 Trace: [PC (Scarlett)] [Enhanced, 24/48 QOBUZ FLAC => 32/48] [100% buf] [PLAYING @ 4:04/5:53] Ignoto - Dag Rosenqvist
02/03 19:13:37 Warn: [raat/tcpaudiosource] send failed: An established connection was aborted by the software in your host machine
02/03 19:13:37 Warn: [raat/tcpaudiosource] disconnecting + retrying
02/03 19:13:37 Debug: [raat/tcpaudiosource] disconnecting

Hey there @michaelm,

Thanks for taking the time to write in! Sorry to hear you’re running into audio dropout issues. Following up on this thread, do you run into this issue if you play audio from the system output of the PC?

Is the Scarlett connected via USB? Do you by chance have another cable you’d be able to test?

I’ll be on standby for your reply. :+1:

Thank you for the reply. The problem occurred again today and searching through the logs, I can see it started 1/25/2023 or before (that’s my oldest log file on disk). It happens with the Scarlett device whether Roon connects to it directly or through the PC’s system audio output. I don’t have another audio output on this PC. The Scarlett is connected with USB and I am trying to switch to a different USB cable today.

I have the same symptom (music playback stopping) on other devices (an NVidia shield, an android phone Samsung s21 ultra), but I haven’t seen a log line associated with those yet.

edit: one more note is that it happens for local flac playback as well as streaming from qobuz. The flacs are stored on a local SSD.

It happened again with the new cable. The error is a little different.

02/09 14:51:18 Trace: [PC (Scarlett)] [zoneplayer/raat] sync Focusrite USB ASIO: realtime=25881840228025 rtt=0us offset=20498043228us delta=-1688us drift=59561us in 3603.222s (16.530ppm, 59.508ms/hr)
02/09 14:51:19 Trace: [PC (Scarlett)] [Enhanced, 16/44 QOBUZ FLAC => 32/44] [100% buf] [PLAYING @ 9:31/12:36] Partita No. 2 for Violin solo BWV 1004 in D minor: Chaconne - Double Sens / Johann Sebastian Bach / Aleksandar Sedlar Bogoev
02/09 14:51:24 Trace: [PC (Scarlett)] [Enhanced, 16/44 QOBUZ FLAC => 32/44] [100% buf] [PLAYING @ 9:36/12:36] Partita No. 2 for Violin solo BWV 1004 in D minor: Chaconne - Double Sens / Johann Sebastian Bach / Aleksandar Sedlar Bogoev
02/09 14:51:29 Info: [remoting/serverconnectionv2] Client disconnected: 192.168.86.24:57532
02/09 14:51:29 Trace: [PC (Scarlett)] [Enhanced, 16/44 QOBUZ FLAC => 32/44] [100% buf] [PLAYING @ 9:37/12:36] Partita No. 2 for Violin solo BWV 1004 in D minor: Chaconne - Double Sens / Johann Sebastian Bach / Aleksandar Sedlar Bogoev
02/09 14:51:29 Trace: [remoting/brokerserver] [initconn 192.168.86.24:60402=>192.168.86.38:9302] Connected
02/09 14:51:29 Trace: [remoting/brokerserver] [initconn 192.168.86.24:60402=>192.168.86.38:9302] Resumed Session
02/09 14:51:29 Info: [stats] 11505mb Virtual, 2693mb Physical, 2459mb Managed, 4009 Handles, 261 Threads
02/09 14:51:29 Trace: [remoting/remotingprotocolv2] resume send 7 messages, 0KiB
02/09 14:51:29 Trace: [raat] [sood] Refreshing device list
02/09 14:51:30 Trace: [raatserver] [sood] Refreshing device list
02/09 14:51:31 Trace: [raatserver] [RaatServer SM-G998U1 @ 192.168.86.24:9200] lost client connection. Retrying
02/09 14:51:31 Trace: [raatserver] [RaatServer SM-G998U1 @ 192.168.86.24:9200] connecting (attempt 1)
02/09 14:51:31 Info: [transport] destroyed zone Galaxy S21+ was playing? False
02/09 14:51:31 Trace: [zone Galaxy S21+] Suspend
02/09 14:51:31 Info: [zone Galaxy S21+] Canceling Pending Sleep
02/09 14:51:31 Info: [zone Galaxy S21+] Canceling Pending Sleep
02/09 14:51:31 Trace: [raatserver] [RaatServer SM-G998U1 @ 192.168.86.24:9200] connected
02/09 14:51:31 Trace: [rnet/RnetJsonClient] SENT {"request":"enumerate_devices","subscription_id":"0"}
02/09 14:51:31 Trace: [rnet/RnetJsonClient] GOT NONFINAL {"status": "Success", "devices": [{"device_id": "default", "is_system_output": true, "type": "android", "auto_enable": true, "name": "Default Output", "auto_name": "SM-G998U1", "discovery_data": {"vendor": "N/A", "tcp_port": 43571, "unique_id": "9b3fa78b-5e11-d71e-20d6-dc52a2ede5bb", "raat_version": "1.1.39", "version": "N/A", "protocol_version": "3", "model": "N/A"}, "config": {"external_config": {"is_private": true}, "output": {"type": "android", "device": "default", "name": "Default Output"}, "unique_id": "9b3fa78b-5e11-d71e-20d6-dc52a2ede5bb", "volume": {"type": "android", "device": "default"}}}]}
02/09 14:51:31 Info: [raatserver] GOT DEVICE e484ca1557dde6abd39fc0ff703c12ec::default Type=android Name=Default Output 
02/09 14:51:32 Trace: [rnet/RnetJsonClient] SENT {"request":"enable_device","device_id":"default","subscription_id":"100"}
02/09 14:51:32 Info: [raatserver] [Default Output] connecting (attempt 1)
02/09 14:51:32 Trace: [raatserver] [RaatServer DESKTOP-V020T3P @ 127.0.0.1:9200] lost client connection. Retrying
02/09 14:51:32 Trace: [raatserver] [RaatServer DESKTOP-V020T3P @ 127.0.0.1:9200] connecting (attempt 1)
02/09 14:51:32 Info: [transport] destroyed zone PC (Default Device) was playing? False
02/09 14:51:32 Trace: [zone PC (Default Device)] Suspend
02/09 14:51:32 Info: [zone PC (Default Device)] Canceling Pending Sleep
02/09 14:51:32 Info: [zone PC (Default Device)] Canceling Pending Sleep
02/09 14:51:32 Info: [transport] destroyed zone PC (Scarlett) was playing? True

Hey @michaelm,

And to confirm, your core device is hardwired directly to your router?

Do you have any other option of streaming audio not using the Scarlett interface? It would be helpful to know if it is directly related to the device vs your core or connection to your network. Per the logs you’ve shared, there is no direct cause outside of network hiccups being shown.

Thanks!

1 Like

What is the role of the network connection when roon is playing a flac from the PC’s local SSD to the same PC’s USB connection for the Scarlett? I believe that shouldn’t require reaching my router (except for something like sending metadata to lastfm or roon HQ, which shouldn’t affect playback).

It is connected to the router through MOCA and a network switch. These connections work well.

I can plug in headphones to the PC directly but since I can’t reliably reproduce the issue, I’m not sure whether that would narrow it down.

Here is another instance of playback stopping. In this case the client is on Android Galaxy s21+, playing from qobuz.

02/11 09:06:46 Warn: [Galaxy S21+] [zoneplayer/raat] long rtt sync Default Output: realtime=1712407251667 rtt=65500us offset=-1763748us delta=-16874us drift=506us in 1710.8795s (0.296ppm, 1.065ms/hr)
02/11 09:06:49 Trace: [Galaxy S21+] [HighQuality, 16/44 QOBUZ FLAC => 24/48] [100% buf] [PLAYING @ 2:19/8:21] Istampitta: In Pro - Anonymous
02/11 09:06:54 Info: [stats] 11221mb Virtual, 3013mb Physical, 2052mb Managed, 4220 Handles, 294 Threads
02/11 09:06:54 Trace: [Galaxy S21+] [HighQuality, 16/44 QOBUZ FLAC => 24/48] [100% buf] [PLAYING @ 2:24/8:21] Istampitta: In Pro - Anonymous
02/11 09:06:59 Trace: [Galaxy S21+] [HighQuality, 16/44 QOBUZ FLAC => 24/48] [100% buf] [PLAYING @ 2:29/8:21] Istampitta: In Pro - Anonymous
02/11 09:07:05 Trace: [Galaxy S21+] [HighQuality, 16/44 QOBUZ FLAC => 24/48] [100% buf] [PLAYING @ 2:34/8:21] Istampitta: In Pro - Anonymous
02/11 09:07:09 Info: [stats] 11221mb Virtual, 3013mb Physical, 2056mb Managed, 4220 Handles, 294 Threads
02/11 09:07:10 Trace: [Galaxy S21+] [HighQuality, 16/44 QOBUZ FLAC => 24/48] [100% buf] [PLAYING @ 2:39/8:21] Istampitta: In Pro - Anonymous
02/11 09:07:12 Trace: [Galaxy S21+] [zoneplayer/raat] sync Default Output: realtime=1738601086042 rtt=5500us offset=-1750913us delta=-5345us drift=13340us in 1737.118s (7.680ppm, 27.647ms/hr)
02/11 09:07:15 Trace: [Galaxy S21+] [HighQuality, 16/44 QOBUZ FLAC => 24/48] [100% buf] [PLAYING @ 2:45/8:21] Istampitta: In Pro - Anonymous
02/11 09:07:20 Trace: [Galaxy S21+] [HighQuality, 16/44 QOBUZ FLAC => 24/48] [100% buf] [PLAYING @ 2:50/8:21] Istampitta: In Pro - Anonymous
02/11 09:07:24 Info: [stats] 11221mb Virtual, 3013mb Physical, 2059mb Managed, 4220 Handles, 294 Threads
02/11 09:07:25 Trace: [Galaxy S21+] [HighQuality, 16/44 QOBUZ FLAC => 24/48] [100% buf] [PLAYING @ 2:55/8:21] Istampitta: In Pro - Anonymous
02/11 09:07:32 Trace: [Galaxy S21+] [HighQuality, 16/44 QOBUZ FLAC => 24/48] [100% buf] [PLAYING @ 3:00/8:21] Istampitta: In Pro - Anonymous
02/11 09:07:37 Trace: [Galaxy S21+] [HighQuality, 16/44 QOBUZ FLAC => 24/48] [100% buf] [PLAYING @ 3:05/8:21] Istampitta: In Pro - Anonymous
02/11 09:07:37 Warn: [Galaxy S21+] [zoneplayer/raat] long rtt sync Default Output: realtime=1763528113177 rtt=84500us offset=-1728886us delta=20628us drift=35367us in 1761.9465s (20.073ppm, 72.263ms/hr)
02/11 09:07:39 Info: [stats] 11221mb Virtual, 3000mb Physical, 2055mb Managed, 4220 Handles, 294 Threads
02/11 09:07:42 Trace: [Galaxy S21+] [HighQuality, 16/44 QOBUZ FLAC => 24/48] [100% buf] [PLAYING @ 3:11/8:21] Istampitta: In Pro - Anonymous
02/11 09:07:43 Trace: [Galaxy S21+] [zoneplayer/raat] sync Default Output: realtime=1769443726719 rtt=6500us offset=-1749273us delta=-3056us drift=14981us in 1767.9605s (8.474ppm, 30.505ms/hr)
02/11 09:07:47 Trace: [Galaxy S21+] [HighQuality, 16/44 QOBUZ FLAC => 24/48] [100% buf] [PLAYING @ 3:17/8:21] Istampitta: In Pro - Anonymous
02/11 09:07:54 Trace: [Galaxy S21+] [HighQuality, 16/44 QOBUZ FLAC => 24/48] [100% buf] [PLAYING @ 3:22/8:21] Istampitta: In Pro - Anonymous
02/11 09:07:54 Warn: [Galaxy S21+] [zoneplayer/raat] long rtt sync Default Output: realtime=1780377366197 rtt=37000us offset=-1724633us delta=27873us drift=39620us in 1778.839s (22.273ppm, 80.184ms/hr)
02/11 09:07:54 Info: [stats] 11221mb Virtual, 2990mb Physical, 2058mb Managed, 4220 Handles, 294 Threads
02/11 09:07:59 Trace: [Galaxy S21+] [HighQuality, 16/44 QOBUZ FLAC => 24/48] [100% buf] [PLAYING @ 3:29/8:21] Istampitta: In Pro - Anonymous
02/11 09:08:01 Warn: [Galaxy S21+] [zoneplayer/raat] long rtt sync Default Output: realtime=1787493880156 rtt=94500us offset=-1771119us delta=-23130us drift=-6865us in 1785.9445s (-3.844ppm, -13.839ms/hr)
02/11 09:08:05 Trace: [Galaxy S21+] [HighQuality, 16/44 QOBUZ FLAC => 24/48] [100% buf] [PLAYING @ 3:34/8:21] Istampitta: In Pro - Anonymous
02/11 09:08:09 Info: [stats] 11213mb Virtual, 2990mb Physical, 2055mb Managed, 4218 Handles, 292 Threads
02/11 09:08:10 Trace: [Galaxy S21+] [HighQuality, 16/44 QOBUZ FLAC => 24/48] [100% buf] [PLAYING @ 3:39/8:21] Istampitta: In Pro - Anonymous
02/11 09:08:16 Trace: [Galaxy S21+] [HighQuality, 16/44 QOBUZ FLAC => 24/48] [100% buf] [PLAYING @ 3:43/8:21] Istampitta: In Pro - Anonymous
02/11 09:08:16 Trace: [Galaxy S21+] [zoneplayer/raat] sync Default Output: realtime=1802126000834 rtt=7000us offset=-1746999us delta=-3816us drift=17255us in 1800.6365s (9.583ppm, 34.498ms/hr)
02/11 09:08:19 Warn: [Galaxy S21+] [zoneplayer/raat] long rtt sync Default Output: realtime=1805614599271 rtt=86500us offset=-1760400us delta=-15145us drift=3853us in 1804.0625s (2.136ppm, 7.690ms/hr)
02/11 09:08:21 Trace: [Galaxy S21+] [HighQuality, 16/44 QOBUZ FLAC => 24/48] [100% buf] [PLAYING @ 3:50/8:21] Istampitta: In Pro - Anonymous
02/11 09:08:24 Info: [stats] 11221mb Virtual, 2990mb Physical, 2052mb Managed, 4220 Handles, 294 Threads
02/11 09:08:26 Trace: [Galaxy S21+] [HighQuality, 16/44 QOBUZ FLAC => 24/48] [100% buf] [PLAYING @ 3:55/8:21] Istampitta: In Pro - Anonymous
02/11 09:08:31 Trace: [Galaxy S21+] [HighQuality, 16/44 QOBUZ FLAC => 24/48] [100% buf] [PLAYING @ 3:59/8:21] Istampitta: In Pro - Anonymous
02/11 09:08:37 Trace: [Galaxy S21+] [HighQuality, 16/44 QOBUZ FLAC => 24/48] [100% buf] [PLAYING @ 4:04/8:21] Istampitta: In Pro - Anonymous
02/11 09:08:37 Warn: [Galaxy S21+] [zoneplayer/raat] long rtt sync Default Output: realtime=1823649096979 rtt=72500us offset=-1712903us delta=32945us drift=51351us in 1822.0055s (28.184ppm, 101.462ms/hr)
02/11 09:08:41 Info: [stats] 11341mb Virtual, 2831mb Physical, 1954mb Managed, 4370 Handles, 324 Threads
02/11 09:08:41 Warn: [Galaxy S21+] [zoneplayer/raat] long rtt sync Default Output: realtime=1827196968802 rtt=64000us offset=-1761031us delta=-48128us drift=3223us in 1825.668s (1.766ppm, 6.356ms/hr)
02/11 09:08:42 Trace: [Galaxy S21+] [HighQuality, 16/44 QOBUZ FLAC => 24/48] [100% buf] [PLAYING @ 4:11/8:21] Istampitta: In Pro - Anonymous
02/11 09:08:45 Trace: [raatserver] [RaatServer SM-G998U1 @ 192.168.86.24:9200] lost client connection. Retrying
02/11 09:08:45 Trace: [raatserver] [RaatServer SM-G998U1 @ 192.168.86.24:9200] connecting (attempt 1)
02/11 09:08:45 Info: [transport] destroyed zone Galaxy S21+ was playing? True
02/11 09:08:45 Trace: [zone Galaxy S21+] Suspend

I have not yet been able to reproduce with headphones connected directly to the PC, since I don’t spend a lot of time listening that way, and the bug isn’t easily reproducible.

Here is another instance. Is it expected that it says “connecting (attempt 1)” but there are no further attempts? Would it be possible to increase the number of attempts?

I suspect that this is a connection issue between a roon service on 127.0.0.1:49162 and one on 127.0.0.1:9200. Is it possible to share more about what data is being transferred over this connection? Which service(s) are involved? Did one of them send the other the “Ended” message?

02/11 18:23:25 Info: [stats] 11414mb Virtual, 2433mb Physical, 2226mb Managed, 3807 Handles, 229 Threads
02/11 18:23:27 Trace: [PC (Default Device)] [HighQuality 95.5x, 16/44 FLAC => 24/96] [100% buf] [PLAYING @ 3:09/6:18] Savant On Mushrooms - Infected Mushroom / Savant
02/11 18:23:32 Trace: [PC (Default Device)] [HighQuality 94.9x, 16/44 FLAC => 24/96] [100% buf] [PLAYING @ 3:16/6:18] Savant On Mushrooms - Infected Mushroom / Savant
02/11 18:23:38 Trace: [PC (Default Device)] [HighQuality 45.5x, 16/44 FLAC => 24/96] [100% buf] [PLAYING @ 3:18/6:18] Savant On Mushrooms - Infected Mushroom / Savant
02/11 18:23:40 Info: [stats] 11434mb Virtual, 2536mb Physical, 2363mb Managed, 3834 Handles, 234 Threads
02/11 18:23:45 Trace: [System Output] [raatclient] GOT [7] {"status":"Ended"}
02/11 18:23:45 Trace: [PC (Default Device)] [HighQuality 42.5x, 16/44 FLAC => 24/96] [100% buf] [PLAYING @ 3:25/6:18] Savant On Mushrooms - Infected Mushroom / Savant
02/11 18:23:45 Warn: [raat/tcpaudiosource] send failed: An established connection was aborted by the software in your host machine
02/11 18:23:45 Warn: [raat/tcpaudiosource] disconnecting + retrying
02/11 18:23:45 Debug: [raat/tcpaudiosource] disconnecting
02/11 18:23:45 Debug: [raat/tcpaudiosource] connecting to 127.0.0.1:49162
02/11 18:23:45 Trace: [raatserver] [RaatServer DESKTOP-V020T3P @ 127.0.0.1:9200] lost client connection. Retrying
02/11 18:23:45 Trace: [raatserver] [RaatServer DESKTOP-V020T3P @ 127.0.0.1:9200] connecting (attempt 1)
02/11 18:23:45 Info: [transport] destroyed zone PC (Default Device) was playing? True

Hey @michaelm,

Can you provide more information as well as the model type? Please if you haven’t yet, hardwire your core directly to your router, bypassing additional networking gear and let me know if the issue persists.

I understand, especially with this setup not being your ideal way of listening. Nonetheless, it does help us target the Scarlett device specifically (that, or something between your core and network.)

To confirm, you were using your android device as a remote, playing through the same setup using your Scarlett?

When you experience dropouts, does Roon also lose the endpoint? Do you ever need to reconnect audio devices? Do you first set the system output of the windows remote to your scarlett, and then set Roon to the system output of the windows remote?

I use a Scarlett 2i2 myself, hooked up to a pair of monitors and a sub, connected to a MacBook air being used as a roon remote, and the whole system has worked well for me so far, so there is hope on the horizon to get things sorted out for you! :+1:

Thank you for the reply!

The core is a desktop PC and unfortunately would be very difficult to move to where the router is.

The playback stopped on the Android phone with playback on that device (not the Scarlett).

When this happens on either device, I can resume playback by pressing play (no need to reconnect the audio device)

My router is a Google Nest AC-1304

Would roon stop playback if it lost internet connection even when the media is stored on the core and the playback is on the audio device attached to the core itself? Is that expected behavior in the case of a poor internet connection even though it’s all happening on that device? (Setting aside the issue on Android for the moment, that one happens less often)

Connections to the internet go through this path:

PC → cat5 cable → MOCA adapter → coax cable in walls → MOCA adapter → cat6 cable → Ethernet Switch → Google Nest

PC: Windows 11 Pro running roon core,
MOCA Adapter: both are model TL-MC84
Ethernet Switch: Monoprice 15763

Speedtest.net gives:
image

I am very interested in this question: Would connectivity issues between the PC and the public internet disrupt local playback on the same device as my roon core? I believe the normal answer to this is no because when I unplug the ethernet cable from the PC and it has no connection at all, playback is not affected. In that case, I find it likely that the cause of the playback stopping was not related to public internet connectivity.

Hey @michaelm,

Thanks for giving this a test. It could be a network-based issue if you experienced the same dropout in audio not using the Scarlett interface.

Are you playing audio in offline mode? If not, with Roon 2.0, a constant connection is now required.

What is the model switch you are using? Please test out removing this from your chain and let me know if the issue occurs. :+1:

Next time you experience this issue, please take note of the date and time of the dropout, and share that information here and we’ll continue to investigate.

The Ethernet switch is “Monoprice 15763”.

I have now had only one case of the issue in the last week or so, potentially after one of the recent roon updates. I will call this closed unless it picks back up. Thank you for looking into this!

I would like to mention here that it would be amazing to restore the feature for full offline playback when using local media. I know there are tradeoffs and it might mean limited search functionality locally, but it would be a big help during internet and power outages.

1 Like

Hello, I would like to re-open this case as the issue has come up again.

03/01 12:41:21 Trace: [raatserver] [System Output] lost client connection. Retrying
03/01 12:41:22 Info: [stats] 13228mb Virtual, 4284mb Physical, 2969mb Managed, 5645 Handles, 634 Threads
03/01 12:41:22 Info: [raatserver] [System Output] connecting (attempt 1)
03/01 12:41:23 Info: [transport] destroyed zone PC (Default Device) was playing? False
03/01 12:41:23 Trace: [zone PC (Default Device)] Suspend
03/01 12:41:23 Info: [zone PC (Default Device)] Canceling Pending Sleep
03/01 12:41:23 Info: [zone PC (Default Device)] Canceling Pending Sleep
03/01 12:41:23 Trace: [raatserver] [RaatServer SM-G998U1 @ 192.168.86.24:9200] lost client connection. Retrying
03/01 12:41:23 Trace: [raatserver] [RaatServer SM-G998U1 @ 192.168.86.24:9200] connecting (attempt 1)
03/01 12:41:23 Info: [transport] destroyed zone Galaxy S21+ was playing? False
03/01 12:41:23 Trace: [zone Galaxy S21+] Suspend
03/01 12:41:23 Info: [zone Galaxy S21+] Canceling Pending Sleep
03/01 12:41:23 Info: [zone Galaxy S21+] Canceling Pending Sleep
03/01 12:41:23 Trace: [library] endmutation in 19ms
03/01 12:41:23 Trace: [raatserver] [RaatServer DESKTOP-V020T3P @ 127.0.0.1:9200] lost client connection. Retrying
03/01 12:41:23 Trace: [raatserver] [RaatServer DESKTOP-V020T3P @ 127.0.0.1:9200] connecting (attempt 1)
03/01 12:41:23 Info: [transport] destroyed zone PC (Scarlett) was playing? True
03/01 12:41:23 Trace: [zone PC (Scarlett)] Suspend
03/01 12:41:23 Debug: Lastfm '4rUDFafoYI4JXcCHAvnpy0LWRyZrJkcu' DONE: In Flames - Pure Light of Mind 
03/01 12:41:23 Info: 
--[ SignalPath ]---------------------------------------------
SignalPath Quality = Enhanced
Elements:
    Source Format=Flac 48000/24/2  Quality=Lossless
    UpgradeBitDepth FromBitsPerSample=24 ToBitsPerSample=64 Quality=Lossless
    HeadroomGain GainDb=-3 Quality=Enhanced
    Truncate FromBitsPerSample=64 ToBitsPerSample=32 Quality=Lossless
    Raat Device=Focusrite USB ASIO
    Output OutputType=Local_Asio Quality=Lossless SubType= Model=Focusrite USB ASIO
------------------------------------------------------------
03/01 12:41:23 Info: [zone PC (Scarlett)] OnPlayFeedback Stopped
03/01 12:41:23 Info: [zone PC (Scarlett)] Canceling Pending Sleep
03/01 12:41:23 Info: [zone PC (Scarlett)] Canceling Pending Sleep
03/01 12:41:23 Debug: FTMSI-B closed file for qo/7BFD37CA; open files:0
03/01 12:41:23 Debug: [raat/tcpaudiosource] disconnecting
03/01 12:41:23 Debug: FTMSI-B closed file for qo/D44A6A1C; open files:0
03/01 12:41:23 Debug: FTMSI-B qo/7BFD37CA download status: AllBlocksDownloaded accessTimeout:True openFiles:0 prev:(AllBlocksDownloaded,True,1)
03/01 12:41:23 Info: [audio/env] [zoneplayer -> stream] All streams were disposed
03/01 12:41:23 Info: [audio/env] [zoneplayer -> stream -> endpoint] All streams were disposed
03/01 12:41:23 Trace: [PC (Scarlett)] [zoneplayer/raat] Endpoint Focusrite USB ASIO State Changed: Playing => Prepared
03/01 12:41:23 Debug: FTMSI-B qo/D44A6A1C download status: AllBlocksDownloaded accessTimeout:False openFiles:0 prev:(AllBlocksDownloaded,False,1)
03/01 12:41:23 Info: [audio/env] [zoneplayer] All streams were disposed
03/01 12:41:23 Trace: [System Output] [raatclient] Initializing RAAT session

Done, and topic merged. Notifying @support.

Another instance this afternoon

03/01 13:41:14 Trace: [broker/accounts] [heartbeat] now=3/1/2023 6:41:15 PM nextauthrefresh=3/1/2023 6:57:57 PM nextmachineallocate=3/1/2023 7:41:12 PM
03/01 13:41:15 Trace: [PC (Scarlett)] [Enhanced, 24/48 QOBUZ FLAC => 32/48] [100% buf] [PLAYING @ 3:20/4:05] Cynosure - In Flames
03/01 13:41:22 Trace: [PC (Scarlett)] [Enhanced, 24/48 QOBUZ FLAC => 32/48] [100% buf] [PLAYING @ 3:22/4:05] Cynosure - In Flames
03/01 13:41:23 Trace: [raatserver] [RaatServer DESKTOP-V020T3P @ 127.0.0.1:9200] lost client connection. Retrying
03/01 13:41:23 Trace: [raatserver] [RaatServer DESKTOP-V020T3P @ 127.0.0.1:9200] connecting (attempt 1)
03/01 13:41:23 Info: [transport] destroyed zone PC (Scarlett) was playing? True
03/01 13:41:23 Trace: [zone PC (Scarlett)] Suspend
03/01 13:41:23 Debug: Lastfm '4rUDFafoYI4JXcCHAvnpy0LWRyZrJkcu' DONE: In Flames - Cynosure 
03/01 13:41:23 Info: 
--[ SignalPath ]---------------------------------------------
SignalPath Quality = Enhanced
Elements:
    Source Format=Flac 48000/24/2  Quality=Lossless
    UpgradeBitDepth FromBitsPerSample=24 ToBitsPerSample=64 Quality=Lossless
    HeadroomGain GainDb=-3 Quality=Enhanced
    Truncate FromBitsPerSample=64 ToBitsPerSample=32 Quality=Lossless
    Raat Device=Focusrite USB ASIO
    Output OutputType=Local_Asio Quality=Lossless SubType= Model=Focusrite USB ASIO
------------------------------------------------------------
03/01 13:41:23 Info: [zone PC (Scarlett)] OnPlayFeedback Stopped
03/01 13:41:23 Info: [zone PC (Scarlett)] Canceling Pending Sleep
03/01 13:41:23 Debug: FTMSI-B closed file for qo/BA8FB5E7; open files:0
03/01 13:41:23 Debug: FTMSI-B qo/BA8FB5E7 download status: AllBlocksDownloaded accessTimeout:True openFiles:0 prev:(AllBlocksDownloaded,True,1)
03/01 13:41:23 Info: [zone PC (Scarlett)] Canceling Pending Sleep
03/01 13:41:23 Debug: [raat/tcpaudiosource] disconnecting
03/01 13:41:23 Info: [transport] destroyed zone PC (Default Device) was playing? False
03/01 13:41:23 Trace: [zone PC (Default Device)] Suspend
03/01 13:41:23 Debug: FTMSI-B closed file for qo/44E71364; open files:0
03/01 13:41:23 Debug: FTMSI-B qo/44E71364 download status: AllBlocksDownloaded accessTimeout:False openFiles:0 prev:(AllBlocksDownloaded,False,1)
03/01 13:41:23 Info: [audio/env] [zoneplayer -> stream] All streams were disposed
03/01 13:41:23 Info: [zone PC (Default Device)] Canceling Pending Sleep
03/01 13:41:23 Info: [zone PC (Default Device)] Canceling Pending Sleep
03/01 13:41:23 Info: [audio/env] [zoneplayer] All streams were disposed
03/01 13:41:23 Info: [audio/env] [zoneplayer -> stream -> endpoint] All streams were disposed

Hey @michaelm,

Considering your network setup, I’d again stress trying to test things bypassing as many of your network devices in your chain as possible.

With that, you could also try to refresh your RAAT Server database, but based on the logging you’ve shared (which, if you could rather share a specific date and time, as well as track name, it would be more helpful) it still appears to be a network-based interruption.

Steps to refresh your RAAT Server database are:

  • Create a Backup of your current Roon database
  • Exit out of Roon
  • Navigate to your Roon’s Database Location
  • Find the folder that says “Roon” and “RAATServer”
  • Rename “Roon” to “Roon_old” and “RAATServer” to “RAATServer_old”
  • Reinstall Roon from our Downloads Page

Thank you. Here is a track name and time. I agree it seems network related- I think it would be ideal for the roon app to have longer buffering and/or more attempts to retry the connection, though it is hard for me to tell in these logs how long a a network disruption may have been.

Cynosure - In Flames
03/01 13:41 Eastern

Hey @michaelm,

Thanks for that information! For a next step, please :

  1. Turn your media player off
  2. Turn off any network box connecting it to your Wi-Fi router
  3. Turn off your Wi-Fi router box, wait 30 seconds, then turn it back on; when internet has been restored
  4. Turn on your network box
  5. Turn on your media player
  6. Log back into Roon
  7. Login to Qobuz with your existing credentials

If your issue persists after going through the above, I would suggest the clearing of your cache on your Roon database.

  • Exit out of Roon
  • Find and open your Roon database
  • Navigate to Roon/Cache
  • Move the contents of the /Cache folder elsewhere, like your desktop
  • Try restarting Roon and verify if the issue still occurs