Can't play any Live Radio station

Core Machine (Operating system/System info/Roon build number)

Roon 1.7 Build 505
Ubuntu 18.04 LTS
Mac Mini Server (NOT running MacOS, running Ubuntu)

Network Details (Including networking gear model/manufacturer and if on WiFi/Ethernet)

Gigabit Ethernet
Ubiquiti Unifi Wifi

Audio Devices (Specify what device you’re using and its connection type - USB/HDMI/etc.)

Linn Sekrit DS-I (ethernet connected)
Chromecast Audio (Wifi connected)

Description Of Issue

Unable to play any Live Radio. Always get the error ‘Playback was interrupted because a track failed to load’ in the UI and the following in the log file:

12/15 17:10:11 Debug: [easyhttp] GET  to https://internetradio.roonlabs.net/2/api/stations/ad65aa43-9920-4a5e-ba6e-40d1dc6cabff?format=msgpack returned after 105 ms, status code: 304
12/15 17:10:13 Info: PLAY CHANNEL 34:0:ad65aa43-9920-4a5e-ba6e-40d1dc6cabff
12/15 17:10:13 Debug: [easyhttp] GET  to https://internetradio.roonlabs.net/2/api/stations/ad65aa43-9920-4a5e-ba6e-40d1dc6cabff?format=msgpack returned after 112 ms, status code: 304
12/15 17:10:13 Trace: [zone Living Room Stereo] Playing Channel
12/15 17:10:13 Trace: [zone Living Room Stereo] Selecting Source state=Stopped
12/15 17:10:13 Trace: [internetradio] Channel Player: Fetching URL [http://somafm.com/groovesalad256.pls]
12/15 17:10:13 Trace: [Living Room Stereo] [Enhanced, 24/44 QOBUZ FLAC => 24/44] [100% buf] [LOADING @ 0:00] SomaFM: Groove Salad
12/15 17:10:13 Trace: [musicpowerstate] music is playing, preventing idle sleep
12/15 17:10:13 Trace: [roonapi] [apiclient 192.168.0.25:37192] CONTINUE Changed {"zones_changed":[{"zone_id":"1601cdc4f60babd50562f35ef6b2e78bcbcd","display_name":"Living Room Stereo","outputs":[{"output_id":"1701cdc4f60babd50562f35ef6b2e78bcbcd","zone_id":"1601cdc4f60babd50562f35ef6b2e78bcbcd","can_group_with_output_ids":["1701cdc4f60babd50562f35ef6b2e78bcbcd"],"display_name":"Living Room Stereo","volume":{"type":"number","min":0,"max":100,"value":60,"step":1,"is_muted":false,"hard_limit_min":0,"hard_limit_max":100,"soft_limit":100},"source_controls":[{"control_key":"1","display_name":"Linn Sekrit DS-I","supports_standby":true,"status":"indeterminate"}]}],"state":"loading","is_next_allowed":false,"is_previous_allowed":false,"is_pause_allowed":true,"is_play_allowed":false,"is_seek_allowed":false,"queue_items_remaining":11,"queue_time_remaining":2062,"settings":{"loop":"disabled","shuffle":false,"auto_radio":false},"now_playing":{"seek_position":null,"one_line":{"line1":"SomaFM: Groove Salad"},"two_line":{"line1":"SomaFM: Groove Salad","line2":""},"three_line":{"line1":"SomaFM: Groove Salad","line2":"","line3":""},"image_key":"afd611ddf80b5dce68aa13b8e9e99aff8bf23d351d0918d67f032e52c91c6dc24882ed6107bcb78f714d78cf03afae00088b98803a32a98e3a3f6601d44a02305f1b405b9a3a2d430eb6bc783c456076266b6950b394c2f5b12ae26969fcac6b8add8882e1b1306c276eca9373dd824d"}}]}
12/15 17:10:13 Trace: [internetradio] Opening URL List http://somafm.com/groovesalad256.pls
12/15 17:10:13 Trace: [internetradio] Found URL http://ice2.somafm.com/groovesalad-256-mp3
12/15 17:10:13 Trace: [internetradio] Found URL http://ice1.somafm.com/groovesalad-256-mp3
12/15 17:10:13 Trace: [internetradio] Found URL http://ice4.somafm.com/groovesalad-256-mp3
12/15 17:10:13 Trace: [internetradio] Channel Player: Fetching URL [https://somafm.com/groovesalad130.pls]
12/15 17:10:14 Trace: [internetradio] Opening URL List https://somafm.com/groovesalad130.pls
12/15 17:10:14 Trace: [internetradio] Found URL http://ice2.somafm.com/groovesalad-128-aac
12/15 17:10:14 Trace: [internetradio] Found URL http://ice1.somafm.com/groovesalad-128-aac
12/15 17:10:14 Trace: [internetradio] Found URL http://ice4.somafm.com/groovesalad-128-aac
12/15 17:10:14 Trace: [internetradio] Channel Player: Fetching URL [http://ice1.somafm.com/groovesalad-128-aac]
12/15 17:10:14 Trace: [internetradio] Channel Player: Fetching URL [http://ice2.somafm.com/groovesalad-256-mp3]
12/15 17:10:15 Trace: [internetradio] Channel Player: Fetching URL [http://ice1.somafm.com/groovesalad-256-mp3]
12/15 17:10:15 Info: [stats] 6744mb Virtual, 2358mb Physical, 805mb Managed, 0 Handles, 82 Threads
12/15 17:10:15 Trace: [internetradio] Channel Player: Fetching URL [http://ice4.somafm.com/groovesalad-256-mp3]
12/15 17:10:15 Trace: [internetradio] Channel Player: Fetching URL [http://ice2.somafm.com/groovesalad-128-aac]
12/15 17:10:16 Trace: [internetradio] Channel Player: Fetching URL [http://ice1.somafm.com/groovesalad-128-aac]
12/15 17:10:16 Trace: [internetradio] Channel Player: Fetching URL [http://ice4.somafm.com/groovesalad-128-aac]
12/15 17:10:16 Trace: Attempting to play channel URL: icy://ice1.somafm.com/groovesalad-128-aac
12/15 17:10:16 Info: [ERROR_GETTING_TAG] [zoneplayer] Playing: channel://icy%3a%2f%2fice1.somafm.com%2fgroovesalad-128-aac
12/15 17:10:17 Warn: [streammediafile] error reading stream: Unable to read data from the transport connection: interrupted.
12/15 17:10:17 Warn: [zoneplayer] Remote Load Failure While Opening Sound: icy://ice1.somafm.com/groovesalad-128-aac: Icy: Failed to read first sample
12/15 17:10:17 Info: [ERROR_GETTING_TAG] [zoneplayer]     Open Result (Playing):Result[Status=MediaTooSlow]
12/15 17:10:17 Warn: [zoneplayer] couldn't play URL channel://icy%3a%2f%2fice1.somafm.com%2fgroovesalad-128-aac: other error
12/15 17:10:17 Warn: Track Stopped Due to Error
12/15 17:10:17 Trace: Attempting to play channel URL: icy://ice1.somafm.com/groovesalad-128-aac
12/15 17:10:17 Info: [zone Living Room Stereo] OnPlayFeedback StoppedEndOfMediaUnnatural
12/15 17:10:17 Info: [zone Living Room Stereo] OnPlayFeedback Stopped
12/15 17:10:17 Trace: [Living Room Stereo] [Enhanced, 24/44 QOBUZ FLAC => 24/44] [100% buf] [STOPPED @ 0:00] SomaFM: Groove Salad
12/15 17:10:17 Debug: [easyhttp] POST to https://internetradio.roonlabs.net/2/api/reporting/internetradioplayback/events?format=msgpack
12/15 17:10:17 Debug: [easyhttp] POST to https://internetradio.roonlabs.net/2/api/reporting/internetradioplayback/events?format=msgpack
12/15 17:10:17 Trace: [roonapi] [apiclient 192.168.0.25:37192] CONTINUE Changed {"zones_changed":[{"zone_id":"1601cdc4f60babd50562f35ef6b2e78bcbcd","display_name":"Living Room Stereo","outputs":[{"output_id":"1701cdc4f60babd50562f35ef6b2e78bcbcd","zone_id":"1601cdc4f60babd50562f35ef6b2e78bcbcd","can_group_with_output_ids":["1701cdc4f60babd50562f35ef6b2e78bcbcd"],"display_name":"Living Room Stereo","volume":{"type":"number","min":0,"max":100,"value":60,"step":1,"is_muted":false,"hard_limit_min":0,"hard_limit_max":100,"soft_limit":100},"source_controls":[{"control_key":"1","display_name":"Linn Sekrit DS-I","supports_standby":true,"status":"indeterminate"}]}],"state":"stopped","is_next_allowed":false,"is_previous_allowed":false,"is_pause_allowed":false,"is_play_allowed":true,"is_seek_allowed":false,"queue_items_remaining":11,"queue_time_remaining":2062,"settings":{"loop":"disabled","shuffle":false,"auto_radio":false},"now_playing":{"seek_position":null,"one_line":{"line1":"SomaFM: Groove Salad"},"two_line":{"line1":"SomaFM: Groove Salad","line2":""},"three_line":{"line1":"SomaFM: Groove Salad","line2":"","line3":""},"image_key":"afd611ddf80b5dce68aa13b8e9e99aff8bf23d351d0918d67f032e52c91c6dc24882ed6107bcb78f714d78cf03afae00088b98803a32a98e3a3f6601d44a02305f1b405b9a3a2d430eb6bc783c456076266b6950b394c2f5b12ae26969fcac6b8add8882e1b1306c276eca9373dd824d"}}]}
12/15 17:10:17 Info: [ERROR_GETTING_TAG] [zoneplayer] Playing: channel://icy%3a%2f%2fice1.somafm.com%2fgroovesalad-128-aac
12/15 17:10:17 Debug: [easyhttp] POST to https://internetradio.roonlabs.net/2/api/reporting/internetradioplayback/events?format=msgpack returned after 110 ms, status code: 200
12/15 17:10:17 Debug: [easyhttp] POST to https://internetradio.roonlabs.net/2/api/reporting/internetradioplayback/plays?format=msgpack
12/15 17:10:17 Debug: [easyhttp] POST to https://internetradio.roonlabs.net/2/api/reporting/internetradioplayback/events?format=msgpack returned after 111 ms, status code: 200
12/15 17:10:17 Debug: [easyhttp] POST to https://internetradio.roonlabs.net/2/api/reporting/internetradioplayback/plays?format=msgpack
12/15 17:10:17 Debug: [easyhttp] POST  to https://internetradio.roonlabs.net/2/api/reporting/internetradioplayback/plays?format=msgpack returned after 107 ms, status code: 400
12/15 17:10:17 Debug: [easyhttp] POST  to https://internetradio.roonlabs.net/2/api/reporting/internetradioplayback/plays?format=msgpack returned after 110 ms, status code: 400
12/15 17:10:17 Warn: [streammediafile] error reading stream: Unable to read data from the transport connection: interrupted.
12/15 17:10:17 Warn: [zoneplayer] Remote Load Failure While Opening Sound: icy://ice1.somafm.com/groovesalad-128-aac: Icy: Failed to read first sample
12/15 17:10:17 Info: [ERROR_GETTING_TAG] [zoneplayer]     Open Result (Playing):Result[Status=MediaTooSlow]

Hi @Neil_Jones1,

Is this behavior limited just to the Groove Salad radio station or does it occur on other stations as well? I just tried the ice1 - 128 AAC link on my end and it appears to be working as expected. Have you tried rebooting your Core and networking gear yet?

It’s all Live Radio streams that I’ve tried. The error looks the same in every instance, so I just included the last one I tried which was Groove Salad.

Rebooting the server running Roon and my networking gear makes no difference.

It’s only Roon having issues as I can play the radio streams using other means happily. I’ve only started having issues with radio streams since the upgrade to the new version of Roon (1.7), in the old version where I had to enter a link to a stream manually it worked fine. Even my old manually added streams don’t work in 1.7.

How have you installed the server software? See also: https://kb.roonlabs.com/LinuxInstall.

This sounds a bit like missing dependencies (ffmpeg) to me.

I have a fully working ffmpeg installed and the old version of Roon (1.6) worked fine. Roon has been working happily on this server for well over a year and I’ve only had issues with the latest release.

The log file makes no mention of an ffmpeg issue either so there’s nothing obvious that says it’s an ffmpeg issue.

One line in the log that confuses me is:

12/15 17:10:17 Trace: [Living Room Stereo] [Enhanced, 24/44 QOBUZ FLAC => 24/44] [100% buf] [STOPPED @ 0:00] SomaFM: Groove Salad

Why is Qobuz referenced when I’m playing an Internet Radio stream?

But the problem is before that line.

Either no data coming in or data couldn’t be interpreted.

Sorry, I wasn’t clear. I didn’t mean to infer that was the source of the error, I was just confused why there was a reference to Qobuz in the log at all during the time I was trying to stream internet radio. Especially a log line referencing the internet radio stream.

I can see that the log is complaining about not being able to read the stream, but the stream exists and contains data. If I run the command:

ffmpeg -i http://ice1.somafm.com/groovesalad-128-aac -c:a copy temp.aac

from the server running Roon it will happily capture me an AAC audio stream that I can open and play back in Audacity. So the stream is good and my internet connection to the server is also fine.

It seems to be a Roon only issue at this point.

Hi @Neil_Jones1,

Thanks for confirming that aspect. I have a few follow-up questions:

  1. Does TIDAL or Qobuz work as expected on this machine (if you have either service)?

  2. Can you try an MP3 Live Radio Link? Do those work?

  3. Can you please update your ffmpeg version? We made a few changes in our last release related to mono ffmpeg channels, I would ensure you have the newest ffmpeg version installed just in case there is some comparability issue in this regard. Instructions on how to update ffmpeg can be found in our Missing Codecs Article, but do note, you might need to download a different version from the johnvansickle website depending on the CPU type.

Thanks for the prompt reply.

I’ve been doing some more digging around and testing and I’ve worked out what is going on.

I’ve got roon running under a non-root user by using effectively the same steps as documented here:

This user has a home directory outside of the /home folder.

The version of ffmpeg that was installed as a ‘snap’ as this installed a much newer version of ffmpeg that the one the comes in the default apt repository.

Unfortunately tools installed via ‘snap’ do not function correctly for users that do not have a home directory under /home (see https://bugs.launchpad.net/snappy/+bug/1620771) and I confirmed this by trying to run ffmpeg as the same user roon runs as.

This means that while a working version of ffmpeg was installed whenever it was invoked by the roon process it terminated immediately with an error, hence the error with no stream being read by roon.

1 Like

Hi @Neil_Jones1,

Glad to hear you were able to locate the source of the issue as being the method in which you installed ffmpeg! Since you have installed it in a different way than typical installations, I have moved this thread over to #tinkering for others who may be using similar methods. In either case, glad to hear that you located the source of the issue and have an idea of where to go next.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.