Tidal won't login after latest roon update [fixed in 1.3]

Hi @soyka0120 ---- Thank you for following up and sharing your observations with us! I am glad to hear things have stabilized for you!

-Eric

Eric also had the same problem as other users after latest update ā€“ could not login to Tidal. What worked for me is clearing the Tidal cache. CAPS-LOCK mystery trick did not work. I have Roon on QNAP->PS Audio Directream

Iā€™m also on QNAP. For me CAPS-LOCK did the trick.

Iā€™ve now had this issue two days in a row. In both cases Iā€™ve received Tidal login errors when starting the Roon remote.

The first time around I stopped RoonServer, removed the RoonServer/Cache directory, and restarted. I was able to login to Tidal normally at that point and it continued to work all day.

This morning I was presented with the same Tidal login error so I went through the same process of removing the Cache directory. This time around I still received Tidal login errors after starting the server. Deleted the Cache directory a second time and was finally able to login.

Iā€™ve never before had any issues with the Tidal integration in Roon and this behavior popped up since upgrading to build 165.

My core is RoonServer running on Ubuntu Server 16.04.1. I run a nightly Roon backup script which shuts down RoonServer and then backs up the database directory. In looking at the logs from the restart of RoonServer after the backup the following error is present:

11/26 01:00:57 Warn: [tidal/http] https://api.tidalhifi.com/v1/sessions/(masked)?token=(masked) failed (unexpected): System.FieldAccessException: Field System.Net.HttpWebRequest:ResendContentFactory' is inaccessible from method System.Net.Http.HttpClientHandler/c__async0:MoveNext ()ā€™

at System.Runtime.CompilerServices.AsyncTaskMethodBuilder1[TResult].Start[TStateMachine] (TStateMachine& stateMachine) [0x00031] in <a8460a77e67a430a8486a9751162e5f4>:0 at System.Net.Http.HttpClientHandler.SendAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x00024] in <41c316444c8a4380b9344ba09eeb18de>:0 at System.Net.Http.HttpMessageInvoker.SendAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x00000] in <41c316444c8a4380b9344ba09eeb18de>:0 at System.Net.Http.HttpClient.<SendAsync>__BaseCallProxy0 (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x00000] in <41c316444c8a4380b9344ba09eeb18de>:0 at System.Net.Http.HttpClient+<SendAsyncWorker>c__async0.MoveNext () [0x00089] in <41c316444c8a4380b9344ba09eeb18de>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <a8460a77e67a430a8486a9751162e5f4>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <a8460a77e67a430a8486a9751162e5f4>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <a8460a77e67a430a8486a9751162e5f4>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <a8460a77e67a430a8486a9751162e5f4>:0 at System.Runtime.CompilerServices.TaskAwaiter1[TResult].GetResult () [0x00000] in :0
at Sooloos.Tidal.Proxy+c__async2`1[T].MoveNext () [0x0015e] in /home/roon/roon/Tidal/tidal_http.cs:208
11/26 01:01:00 Warn: Error in web request https://accounts5.roonlabs.com/accounts/3/machineallocate: NetworkError (Error: SecureChannelFailure (The authentication or decryption has failed.))
11/26 01:01:00 Warn: Error in web request https://accounts5.roonlabs.com/geoip/1/lookup: NetworkError (Error: SecureChannelFailure (The authentication or decryption has failed.))
11/26 01:01:00 Warn: [broker/accounts] failed to update machine allocation: Result[Status=NetworkError, ErrorText=Error: SecureChannelFailure (The authentication or decryption has failed.)]

There are no Tidal errors in the prior logfile immediately before RoonServer was stopped for backup.

I have no issues with Tidal via the web or ipad app. Also no issue on the audio devices which use the same token-based authentication method as Roon.

I havenā€™t rebooted the actual server, but that really shouldnā€™t be necessary on linux. I did try the all caps username, but that didnā€™t make a difference.

Flagging @support for follow-up

As an aside, after getting the login to work I tried stopping and re-starting RoonServer. Upon re-start I was presented with the same Tidal login error on the remote.

Stopped RoonServer again, removed the Cache directory, and started RoonServer. Everything is back to normal (I didnā€™t have to re-login to Tidal).

I man need to add removal of the Cache directory to my backup script :slight_smile:

Hi @AMP ----- Thank you for the follow up and my apologies for any confusion on my part. In your last post you mentioned:

ā€œStopped RoonServer again, removed the Cache directory, and started RoonServer. Everything is back to normal (I didnā€™t have to re-login to Tidal).ā€

Having things been stable or has this been temporary?

-Eric

Having things been stable or has this been temporary?

Intermittent is the best way to describe it. I checked the setup at the shop this morning and everything was fine. The backup ran overnight so RoonServer was stopped and restarted, but there were no Tidal login errors. Iā€™ve stopped and started the server several times and havenā€™t had a Tidal issue.

At home I have a Synology running as a core that shares the same authorization as the setup at work. When I fired up Roon here this morning I got the typical screen saying that I had exceeded my number of authorizations. This is typical as I deauthorize the core at work when Iā€™m using Roon at home. In this case, though, it said I had a total of ā€œ0ā€ authorizations on my account (this number is usually ā€œ1ā€). The only way to clear the issue was to stop the RoonServer package on the Synology and re-start it.

This allowed me to deauthorize the work Core and connect to the one at home. Then the Tidal login error popped up again. Was able to clear it by deleting the Cache directory on the Core.

Whatā€™s strange here is that the authorize / deauthorize glitch (reporting 0 licenses on my account) has popped up a couple of times since 165 was released. Additionally when I deauthorize one Core the other continues to function for a very long time. Iā€™ve even been able to re-start the deauthorized core and am still able to reconnect to it, browse, and play. In this case the Core at work has been deauthorized for about 15 minutes and itā€™s still functioning (as is the authorized core at home). Strange.

Something strange happened with 165ā€¦

Hi @Eric,

Well it continues to be predictably unpredictableā€¦

The home core had the authorization overnight and both systems went through a shutdown / backup / restart operation during that time. No issues with the home core this morning (Tidal was authorized and working fine).

Reassigned the authorization to the shop core and got the ā€œTidal Login Failedā€ message. Stopped RoonServer and removed the Cache directory, but as with before I still got the error upon restarting RoonServer. Went through the process of removing the Cache directory again and Tidal was able to authenticate upon restart of the RoonServer process.

Hi @AMP ---- Thank you for the feedback! I would like to grab some logs from you and will contacting you via PM with instructions shortly.

-Eric

Iā€™m getting the ā€˜Tidal Login Failedā€™ as well. When I try to re-login then from Services I get:

The Roon Server log shows:
11/29 13:59:36 Warn: [tidal/http]
https://api.tidalhifi.com/v1/login/username?token=Imi5DLPIAVRmszdL
failed (unexpected): System.FieldAccessException: Field
System.Net.HttpWebRequest:ResendContentFactory' is inaccessible from methodSystem.Net.Http.HttpClientHandler/

I can access Tidal OK from Firefox with same credentials.

Stopping/restarting Roon had no effect, but rebooting the server cleared the problem and Tidal login worked OK.

Hi @Tony_Devitt ------ Thank you for the feedback. Have you tried clearing your TIDAL cache yet?

-Eric

Also I cannot retrieve my roon account information, it says that an unexpected error has occurred. wish I knew how to go back to previous releaseā€¦a

Same problem here

Hi @Go_Ga ---- Thanks for chiming in here. As I have asked other user in this thread can you please confirm/verify the following data gathering information and troubleshooting steps:

  1. Can you please provide the details of your setup as here.

  2. Has your core machine been rebooted?

  3. Have you tried clearing your TIDAL cache?

-Eric

Rebooted the core server 2 times and everything is back to normal. Thanks.

@support i love using roon with my nas and my dsd/flaccollection

when it was working up until tidal login problems.

i am having login problems with the new updated roon remote in my android both my android and my wifes one can not access our tidal account. all my other devices assoc with tidal works fine.

it seems the roon remote does not recgonize it is connected to the internet as the roon account tab also has problems reliading. hereā€™s some screenshots.

tried restarting roon server on my nas and remapping my network with no solutions. Amy suggestions?

Hi @Aldwin_Chan ---- Thanks for the report. I merged your thread with this in order to keep this issue isolated to one place on community. As I have asked other user in this thread can you please confirm/verify the following data gathering information and troubleshooting steps:

  1. Can you please provide the details of your setup as here.

  2. Have you tried clearing your TIDAL cache?

-Eric

Try typing your login name (email address) in all CAPITALS.
That solved my issuesā€¦ There are a few other threads btw regarding this issue.

Weā€™re investigating this folks.

For everyone experiencing this issue, are any of you not running your Core on Linux?

After the recent Roon app update on my iPad, I also received an email on update in Tidal terms. I was kicked out of Tidal in the Roon app and cannot log back in even though I have no problem logging into the Tidal app on the IPad. Have logged a support request to Tidal but Iā€™m not sure if this is a Roon app issue or a Tidal issue.

Using Roon through Antipodes DX.k