Infinite login loop issue frequently encountered (ref#3FQT1O)

What is the operating system of your Roon Server host machine?

· Roon on a NAS (Synology, QNAP, ASUSTOR)

What kind of device are you using to perform the login?

· iOS

Where are you trying to login?

· I can't log into Roon

Please try to restart your Roon Server by closing the Roon Server app in the taskbar (MacOS), task manager (Windows) or rebooting your Roon Server machine.

· No, the issue remains the same

Different device

· I am able to switch to the diffrent device

Are you still facing the issue on the different device

· No, the issue remains the same

Record the timestamp

· 17:20:35

Describe the issue

I get the “infinite login loop” often described by others.

Describe your network setup

Internet via mobile phone connected to computer, wlan setup with ubiquiti devices

Hello @Stefan_Feldkemper

To properly troubleshoot this infinite login loop, we need more details about your setup and exactly where the process is failing:

  1. Which service: Are you attempting to log into Roon itself, or a streaming service like TIDAL, Qobuz, or KKBOX within Roon?
  2. Browser Redirect: Does the application successfully redirect you to a web browser (like Safari or Chrome) during the login attempt? If it does, have you tried copying the URL from that browser and pasting it into a completely different one?
  3. Network Setup Details: You mentioned your internet is provided via a “mobile phone connected to computer.” Can you clarify exactly how your QNAP NAS and your iOS device are connected to this internet source? Complex routing can block authentication tokens.
  4. iOS Settings: On your iOS device, do you have iCloud Private Relay, a VPN, or any ad-blockers enabled? If so, please disable them temporarily, as they frequently interfere with login redirects.
  5. Browser Cache: Please clear the cache and cookies of the default web browser on your iOS device and attempt the login again.

Provide this information so we can isolate the cause of the loop.

Hello Vadim!

Thanks for the quick response.

I think it makes sense if I give you the bigger picture:
In February I moved for work from Germany to Argentina. I used my Roon server in our first Airbnb connected to the router without problems.
Then we moved into our house here which does not have access to the internet yet - it’s a bit difficult here.
So I set up my wlan-network without access to the internet. The first weeks everything worked fine until I think 15th of April when I was asked to connect to my server. Which in turn led to the infinite loop.

Regarding your questions:

  1. Which service: Are you attempting to log into Roon itself, or a streaming service like TIDAL, Qobuz, or KKBOX within Roon?

    I’m attempting to Roon itself

  2. Browser Redirect: Does the application successfully redirect you to a web browser (like Safari or Chrome) during the login attempt? If it does, have you tried copying the URL from that browser and pasting it into a completely different one?

    Yes I tried this without success.

  3. Network Setup Details: You mentioned your internet is provided via a “mobile phone connected to computer.” Can you clarify exactly how your QNAP NAS and your iOS device are connected to this internet source? Complex routing can block authentication tokens.

    As I said my network is not connected to the internet, insofar the NAS does not have access to it too.
    The Computer respective iOS-device is connected via my mobile phone.

  4. iOS Settings: On your iOS device, do you have iCloud Private Relay, a VPN, or any ad-blockers enabled? If so, please disable them temporarily, as they frequently interfere with login redirects.

    I have done that without success.

  5. Browser Cache: Please clear the cache and cookies of the default web browser on your iOS device and attempt the login again.

    I have done that without success.

The problem clearly is connected to the server not having access to the internet. But if it worked before why not now?

I hope you have a solution for me. It will take some more time until I get a proper connection to the outer world.

Regards

Stefan

Hey @Stefan_Feldkemper,

Thanks for the additional context!

This is almost certainly the root cause. Roon uses cloud-based authentication (OAuth), and when it expires, the server itself needs to reach Roon’s auth servers to validate.

  • Connect Stefan's mobile phone directly to the NAS (via USB tethering or by temporarily bridging the phone's hotspot to the QNAP's network port).
  • Alternatively, physically bring the NAS or a laptop running Roon Server somewhere with proper internet (a café, the mobile hotspot network) just long enough to complete authentication.
  • Once the token is renewed, Roon typically works offline for weeks before requiring re-auth again.
Overall, the fastest fix is getting the NAS online, even briefly via mobile hotspot, to let Roon renew its auth token. 👍

Thanks for the advice. I will give it a try.

Hi @Stefan_Feldkemper, we wanted to check in and see how the last few days have been, and if you’ve been able to run through the above steps.

Thank you! :folded_hands:

Hello!

Finally I managed to get Roon running.

Connecting to the internet was the key. Unfortunately I made an update so after that it didn’t work anymore. As a final step I had to install Roon with docker.

But I got that, too. So everything is fine for now.

Thanks

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