iOS Roon app disconnecting and reconnecting

Having a rather strange problem where my iOS device seems to disconnect from Roon, and thereby start a reconnection process that disrupts the user experience significantly. It feels like the app has crashed in some cases.

Some observations:

a) Doesn’t happen as much or as noticeably when the server moves to Linux or MacOS (currently it’s on Windows Server 2016). I’ve turned off AV and Firewalls on the Windows box with no difference.
b) Other connected devices behave (eg Nexus tablet is fine).

Logs available upon request!

Aris

Hey @Aris_Theocharides — Thank you for your report!

To start, may I kindly ask that you please provide a brief description of your current setup using this link as a guide.

Make sure to describe your network configuration/topology, including any networking hardware currently in use, so we can have a clear understanding of how your devices are communicating.

If you’re familiar with port forwarding, you can find some additional information here that may help.

Additionally, can you please verify the following:

  • Since noticing this behavior have you tried power cycling your Core machine, remote device, and networking hardware?
  • Have you noticed any patterns in when the disconnects happen? Is there anything specific you’re doing in the app when this occurs?

-Dylan

Hi Dylan,

Roon Server version: 1.5 (Build 323).
Operating system: Windows Server 2016 Standard - 64bit
Hardware: Intel NUC NUC7i7BNH

iOS: v 11.3.1 on iPhone X, running Roon Version 1.5 (323) 64bit

Music is stored on SSD in NUC (2nd drive, internal).
Approximate size of library: 5000 songs

I have tried power cycling - no change.

The reproducible case is simple: Start iOS Roon app. Make sure that Keep Display Alive is set. Browse to Song, play. Browse to other song, View Lyrics. Wait - in about 2m or so, the connection drops, and the context of the Roon iOS is lost and goes back to (usually) the last known state.

Wifi for iOS is via Google Wifi. All other devices are connected via Ethernet.

Problem as described above does not occur on Roon via Nexus tablet.
Problem either does not occur or is less disruptive when server is moved from Windows to Linux (or MacOS).

Almost seems that the Windows server drops the connection or refuses to reconnect?

I see the following roughly when the issue occurs:

06/03 13:11:43 Trace: [server] network reachability changed. Kicking off discovery cycle
06/03 13:11:43 Info: [brokerserver] Client disconnected: 10.0.0.9:61842
06/03 13:11:43 Info: [brokerserver] Client connected: 10.0.0.9:61852
06/03 13:11:43 Trace: [SOOD] Adding User IP 10.0.0.9
06/03 13:11:43 Trace: [raat] [sood] Refreshing device list

I’m guessing that maybe there are differences in TCP/IP settings between Linux/MacOS and Windows Server 2016 Standard vs older versions of Windows that may affect how connection between client and server are handled?

Thanks for the additional details, @Aris_Theocharides!

Do you have any antivirus or firewall enable on the Core machine? If so, try disabling them and see if you still have the same experience.

Make sure that Keep Display Alive is set.

Do you not experience this behavior if that is not set? Does it only happen if you are browsing lyrics to other songs, or was that just an example?

Thanks,
Dylan

Hi Dylan,

I’ve tried with AV turned off completely and Firewall also turned off for Public and Private networks. There’s no change in the observed behaviour.

I’ve also tried with Keep Alive set, and the issue still occurs - the only difference is that the device doesn’t sleep so makes the demonstration of the behaviour easier to observe.

Aris

Thanks, @Aris_Theocharides!

Do you have any type of battery saving settings turned on on the iOS device?

I think the next step here is to enable some diagnostics on your account so our technical staff can get some more insight into what’s going on here.

However, before I enable this feature, I’d like to ask for your help ensuring we gather the right information.

First, can you please reproduce the issue once more and note the time at which the error occurs. Then respond here with that time, and I’ll make sure we review the diagnostics related to that timestamp.

Regards,
Dylan

Hi Dylan I encounter the same problem every 15-20mins and get this message on my iPhone Roon app:

I need to disconnect and re-connect to my WiFi in order to play my music again.

And if reconnecting my WiFi doesn’t work, I need to swtich off and on my Roon nucleas.

Thanks for the report, @CHUN_DING_YU!

To start, may I kindly ask that you please provide a brief description of your current setup using this link as a guide.

Make sure to describe your network configuration/topology, including any networking hardware currently in use, so we can have a clear understanding of how your devices are communicating.

May I also ask that you please verify the following:

  • Does this only happen with the iOS Roon app? Are you able to still access Roon using other remotes during this time?
  • Do you have any battery saving features enabled on your iPhone?
  • Are you still able to access the network on the iPhone when this happens?
  • Does this happen when you are using the remote app or only after it’s been idle for some time?

Regards,
Dylan

Hi Dylan I sent you 8 photos that show my iPhone software version, WiFi settings, Roon set up and external HDD. Hope you received all of them. Thanks

Hey @CHUN_DING_YU,

Unfortunately it looks like only one of the photos posted here.Since the photos didn’t come though, can you provide a brief description of your current setup using this link as a guide.

May I also ask that you please verify the following? Knowing this will provide some great insight into what may be happening here:

Thanks,
Dylan

Hi Dylan, thanks for looking into this issue.

I don’t have any power saving settings.

I’ve reproduced the issue at approximately 1:53PM (Sat 16th June 2018) Australia/Melbourne time. The Server is “AUDIOCONTROL”, and the end point is running ropieee.

Aris

I tried killing every other app running on the iOS device, and it seemed to not occur as often as it was before. I was about to say that the issue was fixed - then it came back.

Sigh.

Dylan - I’m sending you a link to the Wireshark packet dump when the issue occurs. Hopefully you can make sense of it.

Aris

Hi Dylan I attach

more screenshots of my Roon settings on my iPhone.

Does this only happen with the iOS Roon app? Are you able to still access Roon using other remotes during this time? ** I have only used my iPhone, and occasionally my iPad, to access Roon.
Do you have any battery saving features enabled on your iPhone? ** which battery save feature are you referring to?
Are you still able to access the network on the iPhone when this happens? ** Yes, the rest of the network was fine
Does this happen when you are using the remote app or only after it’s been idle for some time? ** This happens when I am using the remote app, approx after 15 to 20 minutes of play
For your guide, my Roon is connect to an Ayre QB8 DA converter, and Seagate external HDD. Thanks

Thanks for the info, @Aris_Theocharides!

Now that I have the timestamps, diagnostics have been enabled on your account. The next time your Core is active a diagnostics report will automatically be generated and uploaded directly to our servers

Once that’s been received, I’ll be sure to update this thread and pass the diagnostics over to the team for further analysis. I’ll also be sure to include the info that you sent in the PM.

Regards,
Dylan

One more thing, @Aris_Theocharides.

May I ask that you confirm the name of the iOS device that was used during the test for the timestamp you shared, as well as the name of the Roon Core machine? This way I can ensure that the tech team is referencing the diagnostics report for the correct devices.

Regards,
Dylan

Thanks, @CHUN_DING_YU!

Does this happen for both devices, or only the iPhone?

Do you have Low Power Mode enabled?

Just to clarify, you are actively using the remote and it is not just sitting idle? Is there anything specific you are doing on the device when this happens? Changing tracks, clicking thumbs up/down in radio, etc.

May I also ask that you describe your network setup? Can you give me details on your Core device? Is you Core connected via WiFi or Ethernet? What kind of networking hardware are you utilizing?

Regards,
Dylan