Roon jumping randomly when streaming music from Tidal [See Staff Post]

Location
Quebec

Status
Still having problems.

Location
Quebec, near Trois-Rivières.

Status
I just rebooted the computer that runs Roon 5 minutes ago. Still have the problem.

Location
Sainte-Adele, Quebec (70km north of Montreal).

Status
Rebooted and the problem persists: skipped within the first 20 seconds of the first track I played and seems to skip in a random fashion every 10-15 seconds.

Thanks for keeping us informed. It’s comforting to know someone is running with the ball :wink:

Location
Atlanta Ga

Status
Still having the skipping

8 posts were split to a new topic: Tidal skipping intermittently

Location
Montréal QC.

Status
Rebooted my PC. Still having the skipping issue.

Location
Gatineau, QC (Ottawa).

Status
Rebooted my PC. Still having the skipping issue.

Location
New Zealand

Status
Skipping still happens occasionally now that I have gone to Hifi from Master. I noticed that I don’t get served FLACs every time, on many tracks it still goes through MQA authentication. I have a theory that it’s this MQA authentication that is causing issues. I have not had a skip with a real FLAC file on Tidal, but when it’s an MQA track.

Note to Roon : I have gone to Tidal HiFi because I don’t want anything MQA. But as I stated, some files still go through MQA authentication. Can you please provide a way to disable this??

Location: New Jersey, USA

Status: Played sveral tracks on two albums that had skipped previously. No problem now.
However, went to a third album, and tracks are skipping all over the place.

Location: Maryville, TN

Status: Same problem, started right on the first song.

Location: Ottawa On Canada

Rebooted, problem still present. started on the 2nd song.

From Montréal (the epicenter!) Still skipping after a restart.

I tried reverse engineering. I used a VPN to log Roon/Tidal from a server in Paris. So far so good. Let’s see if it stays that way. It could be a short- time solution.

Same, first MQA album first song skipping like somebody jump on the dance floor and the needle slipped. Located in Indiana, USA.

Edit:Purpose built Win10 machine, up-to date patched, most recent version of Roon and rebooted.

In Arizona, USA. Played 2 tracks which were seriously affected yesterday. Both played clean just now.

Perth Western Australia here (from the land down under) … I did a restart of my Windows PC then started Roon core again. “I Knew You Were Trouble” Taylor’s version on the RED album is the test track. Well … it normally skips/stutters within the first 10 seconds. This time it was going well … but skipped/stuttered at around the 1:09 mark and again at 1:14 … SAD !!! Played it again and roughly the same happens, although not exactly the same. Playing a third time it stopped at 2:46 and then approx. 3 seconds of silence and then it resumed at 2:49. Err … slightly worse now.

Next track “All Too Well” … stuttered in the first 10 seconds. So it can be said that there IS Trouble and that we know it All Too Well (sorry couldn’t resist this).

So whatever has happened behind the scenes … the problem is still here! Keep working guyz please …

Atlanta, Ga area - still skipping badly.

Skipping like crazy here - Perth, Western Australia - Australia. Have restarted and reset everything I can think of. Please keep working and let me know a fix :slight_smile: Thank you

Last update of the week, with some good news at the end–

First, thanks for the feedback earlier. It’s invaluable to have a clear picture of what is going on out in the field.

We now fully understand what is happening. Feel free to skip over the tech stuff, but I’m going to share a bit because some people will be interested.

Amazon CloudFront, TIDAL’s CDN, has a bug (and I’ve got the wireshark logs to prove it).

Sometimes when we request a portion of a media file, the CDN is sending some extra data, beyond what the HTTP headers say will be sent. This data is a duplicate of a nearby area in the media file, but in the wrong place.

We are speaking to this CDN using Microsoft’s .NET framework. This is a widely used and trusted implementation of HTTP, and is generally perfect. However, with this particular protocol violation, Microsoft’s HTTP implementation fails to notice the error, and instead returns disordered data back to the application, while pretending that everything is a-ok.

When this data makes it into our audio pipeline, it causes the symptoms that you guys have been facing.

We were able to reproduce this protocol violation using other HTTP implementations, most notably the implementation from node.js which is also widely used and trusted. Unlike Microsoft, node.js correctly flags the protocol violation and reports the error back to the application. The fact that Microsoft passes along incorrect data in this situation appears to be a bug in the .NET framework.

Separately, it’s clear based on our testing that not all of the CDN servers are equally broken, and that there are different quantities of broken servers in different regions. We’ve had the easiest time reproducing this from Canada, but have also reproduced in some other locations. Some large parts of the world are totally unaffected by this.

So, this issue is hitting people who have one of the broken .NET runtime versions, and also are coincidentally also running into one of the broken CDN servers. And that’s why we have a relatively small group of people running into issues and not tens of thousands.

One final technical point, since this has been brought up a few times–this is affecting Roon and not the TIDAL apps because they use different CDNs and media streaming techniques for their own apps and for partners like us. We use a mechanism that allows Roon full access to the complete original FLAC files, which is important to us, and we are not attempting to change this.

Next steps for us–

Based on our current understanding, we think there is a switch that we can flip from our side which is likely to mitigate this issue right now without requiring a software update to Roon. It comes with some tradeoffs, so eventually we’ll flip it back the other way, but for now it will buy us some time and hopefully bring you guys some relief before the weekend.

In the medium term, we are about 90% sure that we have a reasonable semi-permanent workaround that we could ship in a new Roon build, and that work will start next week.

In the longer term, we are hopeful that Amazon will fix their bugs! CloudFront is widely used, and we are probably not the only people running into this. We are not their customer, so we do not have a way to force this to happen, but we will pass along our information to TIDAL in case they are up for pursuing it with Amazon.

Next steps for you–

I flipped a switch just now that may help with this issue. Restart your roon core two times in a row and let me know how it goes. You just need to restart the core, rebooting the machine is not necessary. I’m hopeful that this will mitigate the issue–it seems to have done so for us.

17 Likes

Allready playing an album without jump while I was reading your last post @brian. Great !

1 Like

Working here now :slight_smile: Thank you