Download Client Failed to Login

Sonarr version (exact version): 2.0.0.5252
Mono version (if Sonarr is not running on Windows): 5.8.0.108

I’m running Sonarr on a Synology NAS, and have encountered a problem today. I’ve had passwords set for a long time, but today decided to update them.

I firstly changed the password to my DSM account on the NAS, and as I can login there with the new password that appears fine. Within Sonarr, I then changed the password used to login to Sonarr under Settings/General/Security to a different password. It is set to Forms, and again as I can login with the new password I can’t see that that is an issue.

The problem is with the Download Clients for which use Download Station on the NAS. I have edited them to reflect the new password for my DSM account. However, I get the following when trying to test them:

Failed to get the list of torrents: Failed to login. Reason: No such account or incorrect password
Unknown exception: Failed to login. Reason: No such account or incorrect password

I’m unsure where the problem is, or where I’ve gone wrong. Amy help would be appreciated.

No suggestions at all?

I’ve tried various things since my first post. Revering to the old password, changing various settings within DSM and Sonarr, and out of frustration reinstalling both Sonarr and Mono over the weekeed all to no avail. I could, of course, try installing different download clients, but to me that really isn’t a solution when Download Station worked for both torrent and nzb for over a year.

I have only the one admin account on DSM, the guest account is disabled, and I do not use two step authentication so for it to say there’s no such account makes no sense to me.

I should probably add that this issue has also affected Radarr too.

The log is as follows:

18-11-12 12:16:43.3|Debug|Api|[GET] /api/downloadclient/schema: 200.OK (9 ms)
18-11-12 12:17:21.5|Debug|TorrentDownloadStation|Download Station api version information: Min 1 - Max 3
18-11-12 12:17:21.5|Debug|X509CertificateValidationPolicy|Certificate validation for https://192.168.1.100:5074/webapi/auth.cgi?api=(removed)&version=2&method=login&account=admin&passwd=0Q*p%245tJRTCd&format=sid&session=DownloadStation failed. RemoteCertificateChainErrors
18-11-12 12:17:21.7|Debug|DownloadStationInfoProxy|Trying to login
18-11-12 12:17:21.7|Error|DownloadStationInfoProxy|Failed to login. Reason: No such account or incorrect password
18-11-12 12:17:21.7|Error|TorrentDownloadStation|Error testing Torrent Download Station

[v2.0.0.5277] NzbDrone.Core.Download.Clients.DownloadClientException: Failed to login. Reason: No such account or incorrect password
  at NzbDrone.Core.Download.Clients.DownloadStation.Proxies.DiskStationProxyBase.ProcessRequest[T] (NzbDrone.Common.Http.HttpRequestBuilder requestBuilder, System.String operation, NzbDrone.Core.Download.Clients.DownloadStation.DiskStationApi api, NzbDrone.Core.Download.Clients.DownloadStation.DownloadStationSettings settings) [0x000d1] in <a8d9805e344b4aa9afd120f663c05be7>:0 
  at NzbDrone.Core.Download.Clients.DownloadStation.Proxies.DiskStationProxyBase.AuthenticateClient (NzbDrone.Core.Download.Clients.DownloadStation.DownloadStationSettings settings) [0x00063] in <a8d9805e344b4aa9afd120f663c05be7>:0 
  at NzbDrone.Core.Download.Clients.DownloadStation.Proxies.DiskStationProxyBase+<>c__DisplayClass14_0.<BuildRequest>b__1 () [0x00000] in <a8d9805e344b4aa9afd120f663c05be7>:0 
  at NzbDrone.Common.Cache.Cached`1[T].Get (System.String key, System.Func`1[TResult] function, System.Nullable`1[T] lifeTime) [0x0006a] in <039f8d256bd3462da1df5508a3cdb493>:0 
  at NzbDrone.Core.Download.Clients.DownloadStation.Proxies.DiskStationProxyBase.BuildRequest (NzbDrone.Core.Download.Clients.DownloadStation.DownloadStationSettings settings, NzbDrone.Core.Download.Clients.DownloadStation.DiskStationApiInfo apiInfo, System.String methodName, System.Int32 apiVersion, NzbDrone.Common.Http.HttpMethod httpVerb) [0x00165] in <a8d9805e344b4aa9afd120f663c05be7>:0 
  at NzbDrone.Core.Download.Clients.DownloadStation.Proxies.DiskStationProxyBase.BuildRequest (NzbDrone.Core.Download.Clients.DownloadStation.DownloadStationSettings settings, System.String methodName, System.Int32 apiVersion, NzbDrone.Common.Http.HttpMethod httpVerb) [0x0000e] in <a8d9805e344b4aa9afd120f663c05be7>:0 
  at NzbDrone.Core.Download.Clients.DownloadStation.Proxies.DownloadStationInfoProxy.GetConfig (NzbDrone.Core.Download.Clients.DownloadStation.DownloadStationSettings settings) [0x00000] in <a8d9805e344b4aa9afd120f663c05be7>:0 
  at NzbDrone.Core.Download.Clients.DownloadStation.TorrentDownloadStation.GetDefaultDir () [0x0000c] in <a8d9805e344b4aa9afd120f663c05be7>:0 
  at NzbDrone.Core.Download.Clients.DownloadStation.TorrentDownloadStation.TestOutputPath () [0x00000] in <a8d9805e344b4aa9afd120f663c05be7>:0 

18-11-12 12:17:21.7|Debug|X509CertificateValidationPolicy|Certificate validation for https://192.168.1.100:5074/webapi/auth.cgi?api=(removed)&version=2&method=login&account=admin&passwd=0Q*p%245tJRTCd&format=sid&session=DownloadStation failed. RemoteCertificateChainErrors
18-11-12 12:17:21.8|Debug|DownloadStationTaskProxy|Trying to login
18-11-12 12:17:21.8|Error|DownloadStationTaskProxy|Failed to login. Reason: No such account or incorrect password
18-11-12 12:17:21.8|Error|DownloadStationTaskProxy|NzbDrone.Core.Download.Clients.DownloadClientException: Failed to login. Reason: No such account or incorrect password
  at NzbDrone.Core.Download.Clients.DownloadStation.Proxies.DiskStationProxyBase.ProcessRequest[T] (NzbDrone.Common.Http.HttpRequestBuilder requestBuilder, System.String operation, NzbDrone.Core.Download.Clients.DownloadStation.DiskStationApi api, NzbDrone.Core.Download.Clients.DownloadStation.DownloadStationSettings settings) [0x000d1] in <a8d9805e344b4aa9afd120f663c05be7>:0 
  at NzbDrone.Core.Download.Clients.DownloadStation.Proxies.DiskStationProxyBase.AuthenticateClient (NzbDrone.Core.Download.Clients.DownloadStation.DownloadStationSettings settings) [0x00063] in <a8d9805e344b4aa9afd120f663c05be7>:0 
  at NzbDrone.Core.Download.Clients.DownloadStation.Proxies.DiskStationProxyBase+<>c__DisplayClass14_0.<BuildRequest>b__1 () [0x00000] in <a8d9805e344b4aa9afd120f663c05be7>:0 
  at NzbDrone.Common.Cache.Cached`1[T].Get (System.String key, System.Func`1[TResult] function, System.Nullable`1[T] lifeTime) [0x0006a] in <039f8d256bd3462da1df5508a3cdb493>:0 
  at NzbDrone.Core.Download.Clients.DownloadStation.Proxies.DiskStationProxyBase.BuildRequest (NzbDrone.Core.Download.Clients.DownloadStation.DownloadStationSettings settings, NzbDrone.Core.Download.Clients.DownloadStation.DiskStationApiInfo apiInfo, System.String methodName, System.Int32 apiVersion, NzbDrone.Common.Http.HttpMethod httpVerb) [0x00165] in <a8d9805e344b4aa9afd120f663c05be7>:0 
  at NzbDrone.Core.Download.Clients.DownloadStation.Proxies.DiskStationProxyBase.BuildRequest (NzbDrone.Core.Download.Clients.DownloadStation.DownloadStationSettings settings, System.String methodName, System.Int32 apiVersion, NzbDrone.Common.Http.HttpMethod httpVerb) [0x0000e] in <a8d9805e344b4aa9afd120f663c05be7>:0 
  at NzbDrone.Core.Download.Clients.DownloadStation.Proxies.DownloadStationTaskProxy.GetTasks (NzbDrone.Core.Download.Clients.DownloadStation.DownloadStationSettings settings) [0x00000] in <a8d9805e344b4aa9afd120f663c05be7>:0 

[v2.0.0.5277] NzbDrone.Core.Download.Clients.DownloadClientException: Failed to login. Reason: No such account or incorrect password
  at NzbDrone.Core.Download.Clients.DownloadStation.Proxies.DiskStationProxyBase.ProcessRequest[T] (NzbDrone.Common.Http.HttpRequestBuilder requestBuilder, System.String operation, NzbDrone.Core.Download.Clients.DownloadStation.DiskStationApi api, NzbDrone.Core.Download.Clients.DownloadStation.DownloadStationSettings settings) [0x000d1] in <a8d9805e344b4aa9afd120f663c05be7>:0 
  at NzbDrone.Core.Download.Clients.DownloadStation.Proxies.DiskStationProxyBase.AuthenticateClient (NzbDrone.Core.Download.Clients.DownloadStation.DownloadStationSettings settings) [0x00063] in <a8d9805e344b4aa9afd120f663c05be7>:0 
  at NzbDrone.Core.Download.Clients.DownloadStation.Proxies.DiskStationProxyBase+<>c__DisplayClass14_0.<BuildRequest>b__1 () [0x00000] in <a8d9805e344b4aa9afd120f663c05be7>:0 
  at NzbDrone.Common.Cache.Cached`1[T].Get (System.String key, System.Func`1[TResult] function, System.Nullable`1[T] lifeTime) [0x0006a] in <039f8d256bd3462da1df5508a3cdb493>:0 
  at NzbDrone.Core.Download.Clients.DownloadStation.Proxies.DiskStationProxyBase.BuildRequest (NzbDrone.Core.Download.Clients.DownloadStation.DownloadStationSettings settings, NzbDrone.Core.Download.Clients.DownloadStation.DiskStationApiInfo apiInfo, System.String methodName, System.Int32 apiVersion, NzbDrone.Common.Http.HttpMethod httpVerb) [0x00165] in <a8d9805e344b4aa9afd120f663c05be7>:0 
  at NzbDrone.Core.Download.Clients.DownloadStation.Proxies.DiskStationProxyBase.BuildRequest (NzbDrone.Core.Download.Clients.DownloadStation.DownloadStationSettings settings, System.String methodName, System.Int32 apiVersion, NzbDrone.Common.Http.HttpMethod httpVerb) [0x0000e] in <a8d9805e344b4aa9afd120f663c05be7>:0 
  at NzbDrone.Core.Download.Clients.DownloadStation.Proxies.DownloadStationTaskProxy.GetTasks (NzbDrone.Core.Download.Clients.DownloadStation.DownloadStationSettings settings) [0x00000] in <a8d9805e344b4aa9afd120f663c05be7>:0 

18-11-12 12:17:21.8|Debug|X509CertificateValidationPolicy|Certificate validation for https://192.168.1.100:5074/webapi/auth.cgi?api=(removed)&version=2&method=login&account=admin&passwd=0Q*p%245tJRTCd&format=sid&session=DownloadStation failed. RemoteCertificateChainErrors
18-11-12 12:17:22.0|Debug|DSMInfoProxy|Trying to login
18-11-12 12:17:22.0|Error|DSMInfoProxy|Failed to login. Reason: No such account or incorrect password
18-11-12 12:17:22.0|Warn|SerialNumberProvider|Could not get the serial number from Download Station 192.168.1.100:5074

[v2.0.0.5277] NzbDrone.Core.Download.Clients.DownloadClientException: Failed to login. Reason: No such account or incorrect password
  at NzbDrone.Core.Download.Clients.DownloadStation.Proxies.DiskStationProxyBase.ProcessRequest[T] (NzbDrone.Common.Http.HttpRequestBuilder requestBuilder, System.String operation, NzbDrone.Core.Download.Clients.DownloadStation.DiskStationApi api, NzbDrone.Core.Download.Clients.DownloadStation.DownloadStationSettings settings) [0x000d1] in <a8d9805e344b4aa9afd120f663c05be7>:0 
  at NzbDrone.Core.Download.Clients.DownloadStation.Proxies.DiskStationProxyBase.AuthenticateClient (NzbDrone.Core.Download.Clients.DownloadStation.DownloadStationSettings settings) [0x00063] in <a8d9805e344b4aa9afd120f663c05be7>:0 
  at NzbDrone.Core.Download.Clients.DownloadStation.Proxies.DiskStationProxyBase+<>c__DisplayClass14_0.<BuildRequest>b__1 () [0x00000] in <a8d9805e344b4aa9afd120f663c05be7>:0 
  at NzbDrone.Common.Cache.Cached`1[T].Get (System.String key, System.Func`1[TResult] function, System.Nullable`1[T] lifeTime) [0x0006a] in <039f8d256bd3462da1df5508a3cdb493>:0 
  at NzbDrone.Core.Download.Clients.DownloadStation.Proxies.DiskStationProxyBase.BuildRequest (NzbDrone.Core.Download.Clients.DownloadStation.DownloadStationSettings settings, NzbDrone.Core.Download.Clients.DownloadStation.DiskStationApiInfo apiInfo, System.String methodName, System.Int32 apiVersion, NzbDrone.Common.Http.HttpMethod httpVerb) [0x00165] in <a8d9805e344b4aa9afd120f663c05be7>:0 
  at NzbDrone.Core.Download.Clients.DownloadStation.Proxies.DiskStationProxyBase.BuildRequest (NzbDrone.Core.Download.Clients.DownloadStation.DownloadStationSettings settings, System.String methodName, System.Int32 apiVersion, NzbDrone.Common.Http.HttpMethod httpVerb) [0x0000e] in <a8d9805e344b4aa9afd120f663c05be7>:0 
  at NzbDrone.Core.Download.Clients.DownloadStation.Proxies.DSMInfoProxy.GetSerialNumber (NzbDrone.Core.Download.Clients.DownloadStation.DownloadStationSettings settings) [0x00015] in <a8d9805e344b4aa9afd120f663c05be7>:0 
  at NzbDrone.Core.Download.Clients.DownloadStation.SerialNumberProvider.GetHashedSerialNumber (NzbDrone.Core.Download.Clients.DownloadStation.DownloadStationSettings settings) [0x00000] in <a8d9805e344b4aa9afd120f663c05be7>:0 
  at NzbDrone.Core.Download.Clients.DownloadStation.SerialNumberProvider+<>c__DisplayClass4_0.<GetSerialNumber>b__0 () [0x00000] in <a8d9805e344b4aa9afd120f663c05be7>:0 
  at NzbDrone.Common.Cache.Cached`1[T].Get (System.String key, System.Func`1[TResult] function, System.Nullable`1[T] lifeTime) [0x0006a] in <039f8d256bd3462da1df5508a3cdb493>:0 
  at NzbDrone.Core.Download.Clients.DownloadStation.SerialNumberProvider.GetSerialNumber (NzbDrone.Core.Download.Clients.DownloadStation.DownloadStationSettings settings) [0x00044] in <a8d9805e344b4aa9afd120f663c05be7>:0 

18-11-12 12:17:22.1|Warn|NzbDroneErrorPipeline|Invalid request Validation failed: 
 -- Unknown exception: Failed to login. Reason: No such account or incorrect password
 -- Failed to get the list of torrents: Failed to login. Reason: No such account or incorrect password
18-11-12 12:17:22.1|Debug|Api|[POST] /api/downloadclient/test: 400.BadRequest (550 ms)
18-11-12 12:17:26.0|Debug|Api|[GET] /api/health: 200.OK (3 ms)
18-11-12 12:17:26.1|Debug|Api|[GET] /api/diskspace: 200.OK (38 ms)
18-11-12 12:17:26.3|Debug|Api|[GET] /api/health: 200.OK (210 ms)
18-11-12 12:17:26.3|Debug|Api|[GET] /api/diskspace: 200.OK (238 ms)
18-11-12 12:17:27.2|Debug|Api|[GET] /api/log?page=1&pageSize=50&sortKey=time&sortDir=desc: 200.OK (7 ms)
18-11-12 12:17:27.2|Debug|Api|[GET] /api/log?page=1&pageSize=50&sortKey=time&sortDir=desc: 200.OK (6 ms)
18-11-12 12:17:53.4|Debug|Api|[GET] /api/queue?sort_by=timeleft&order=asc: 200.OK (6 ms)
18-11-12 12:17:56.9|Debug|Api|[GET] /api/log/file: 200.OK (7 ms)
18-11-12 12:17:57.1|Debug|Api|[GET] /api/log/file/sonarr.debug.txt: 200.OK (4 ms)
18-11-12 12:18:36.8|Debug|Api|[GET] /api/log/file/sonarr.debug.txt: 200.OK (4 ms)

Have you tried reverting your password? or another password?

Not really sure what it could be.

Yes, reverting the password was the very first thing I tried, and I’ve also had multiple different passwords since. I’ve also tried both branches of Sonarr.

I thought at the time I was doing the right thing by updating the passwords, but it’s something I’ve come to regret doing.

The DSM password had been the same for a long time. Obviously there have been updates to both DSM, and Sonarr since it was originally set, but everything continued working as it should until I changed the password. There were no other changes made at the time; it just broke as soon as I updated the password.

The fact that both Sonarr and Radarr are affected suggests to me that it’s more likely something in DSM although I can’t see what it could be. They both utilize Mono, of course, but I’ve never been sure what that does if I’m being honest other that it’s needed.

It’s possible our understanding of the code returned to Sonarr is incorrect and the issue is something different. Could you try setting up another account and see if you get the same error?

Not sure what permissions the user account would need to access Download Station for this test to be successful.

I can try that in the morning, and then let you know the result. As far as I’m aware, I’d only need to grant the account priveleges to Download Station when creating it.

I’ve also submitted a support ticket to Synology regarding this now. I’m not sure what if any help they’ll provide given that there are third party packages involved, but I considered it worth seeing how they respond.

Problem solved it seems. I’ve at least been able to add and test download clients. Haven’t time to do anything else just now.

I only found the issue by pure chance. What seems to have occurred is the auto block within DSM was triggered; between my changing the password in DSM, and going to Sonarr to change it the number of failed attempts was reached. Something I’ll have to remember in the future.

Oh damn, I wasn’t aware of that “feature” (at least in this case it wasn’t helpful), good to know it’s a thing.

Out of curiosity/future issues such as this, where do you find that in the Synology UI?

Yes, that’s why I posted it last night in case it ever happens to someone else.

It’s Control Panel/Security Account tab. It’s something I enabled a long time ago thinking it couldn’t do any harm, and then forgot all about. I just happened to check the Allow/Block List last night mostly because I was running out of settings to check.

I was thinking that it would have been useful if DSM had notified me of the block at the time; I’d have made the association right away instead of three weeks of frustration. However, having just checked the notification settings in DSM email notification of such an event is enabled. I believe it was my own doing that I didn’t receive one; I updated a lot of passwords at the same time including my email and that presumably broke the ability to send notifications.

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