Sonarr version: 2.0.0.4645
Synology: DSM 6.1-15047 Update 1
I have setup the torrent synology download client in Sonarr, this is working.
If i test this with the test button i get a succeeded message. During this process no items are in the download queue.
Searching for an episode and pushing it to the synology download client is working correctly, but as soon as there is an item in the queue Sonarr is unable to connect to the download client. I get a 160 error message. It does not matter if Sonarr or myself are adding an item to the queue.
The user used for this has admin right on the whole system and all shares
Logging:
FileStationProxy:
Failed to get info of /download. Reason: 160 - Unknown error
SharedFolderResolver:
Failed to get shared folder /download from Disk Station 127.0.0.1:5000: Failed to get info of /download. Reason: 160 - Unknown error
NzbDrone.Core.Download.Clients.DownloadClientException: Failed to get info of /download. Reason: 160 - Unknown error
at NzbDrone.Core.Download.Clients.DownloadStation.Proxies.DiskStationProxyBase.ProcessRequest[T] (NzbDrone.Core.Download.Clients.DownloadStation.DiskStationApi api, System.Collections.Generic.Dictionary`2[TKey,TValue] arguments, NzbDrone.Core.Download.Clients.DownloadStation.DownloadStationSettings settings, System.String operation, NzbDrone.Common.Http.HttpMethod method, System.Int32 retries) [0x000f8] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Download\Clients\DownloadStation\Proxies\DiskStationProxyBase.cs:90
at NzbDrone.Core.Download.Clients.DownloadStation.Proxies.FileStationProxy.GetInfoFileOrDirectory (System.String path, NzbDrone.Core.Download.Clients.DownloadStation.DownloadStationSettings settings) [0x00062] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Download\Clients\DownloadStation\Proxies\FileStationProxy.cs:50
at NzbDrone.Core.Download.Clients.DownloadStation.Proxies.FileStationProxy.GetSharedFolderMapping (System.String sharedFolder, NzbDrone.Core.Download.Clients.DownloadStation.DownloadStationSettings settings) [0x00000] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Download\Clients\DownloadStation\Proxies\FileStationProxy.cs:32
at NzbDrone.Core.Download.Clients.DownloadStation.SharedFolderResolver.GetPhysicalPath (NzbDrone.Common.Disk.OsPath sharedFolder, NzbDrone.Core.Download.Clients.DownloadStation.DownloadStationSettings settings) [0x00000] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Download\Clients\DownloadStation\SharedFolderResolver.cs:33
md5-f72fe23cf95b14dec6d0d2a0ad647875
Unable to retrieve queue and history items from synology: Failed to get info of /download. Reason: 160 - Unknown error
md5-b4395c5e67daf550471f27086c65760e
NzbDrone.Core.Download.Clients.DownloadClientException: Failed to get info of /download. Reason: 160 - Unknown error
at NzbDrone.Core.Download.Clients.DownloadStation.Proxies.DiskStationProxyBase.ProcessRequest[T] (NzbDrone.Core.Download.Clients.DownloadStation.DiskStationApi api, System.Collections.Generic.Dictionary`2[TKey,TValue] arguments, NzbDrone.Core.Download.Clients.DownloadStation.DownloadStationSettings settings, System.String operation, NzbDrone.Common.Http.HttpMethod method, System.Int32 retries) [0x000f8] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Download\Clients\DownloadStation\Proxies\DiskStationProxyBase.cs:90
at NzbDrone.Core.Download.Clients.DownloadStation.Proxies.FileStationProxy.GetInfoFileOrDirectory (System.String path, NzbDrone.Core.Download.Clients.DownloadStation.DownloadStationSettings settings) [0x00062] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Download\Clients\DownloadStation\Proxies\FileStationProxy.cs:50
at NzbDrone.Core.Download.Clients.DownloadStation.Proxies.FileStationProxy.GetSharedFolderMapping (System.String sharedFolder, NzbDrone.Core.Download.Clients.DownloadStation.DownloadStationSettings settings) [0x00000] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Download\Clients\DownloadStation\Proxies\FileStationProxy.cs:32
at NzbDrone.Core.Download.Clients.DownloadStation.SharedFolderResolver.GetPhysicalPath (NzbDrone.Common.Disk.OsPath sharedFolder, NzbDrone.Core.Download.Clients.DownloadStation.DownloadStationSettings settings) [0x00000] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Download\Clients\DownloadStation\SharedFolderResolver.cs:33
As soon as all the items are out of the queue Sonarr can connect to the synology download client again, but autoprocessing is not working.
Hi. I'm using it myself with the exact same setup and versions. Could you please post here the config parameters you enter when adding the client?
Did you restart you DiskStation?
@Taloth could be related to #1700
My settings for the synology torrent download client:
Name: synology
Host: 127.0.0.1
Port: 5000
username:
password:
Category and Directory are empty, i tried to use one 1 these but i doesn't matter what i fill in it will always fail.
ssl: off
Strange thing is, as long as there is no item in the download queue i can connect to the client, but if there is 1 or more items in the queue, i get the error 160
Yes i tried to restart the synology but it is not helping :(
@margaale That issue dealt with the error being unknown and causing an exception. In this case the error is reported as 160. Which isn't a known error code, but still just an error reported by the syno.
Ni it is not, it's unknown. The "fix" for that error was to return 'code -
Unknown error' and that is what we are getting here
On Wed, Mar 15, 2017, 02:43 Taloth notifications@github.com wrote:
@margaale https://github.com/margaale That issue dealt with the error
being unknown and causing an exception. In this case the error is reported
as 160. Which isn't a known error code, but still just an error reported by
the syno.—
You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub
https://github.com/Sonarr/Sonarr/issues/1758#issuecomment-286646626, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AT1ONveIAOVH4JivaBC7hsg4eVevMWr1ks5rl3pugaJpZM4Mbm7s
.
That's what I meant, #1700 would've prevented you from getting the error code, but it doesn't cause the issue. In that respect it's unrelated.
No update on this? It seems I have the exact same issue.
Adding DownloadStation client and testing works great.
But after a while (and I guess it seems related to the queue, as @FrankGNL says), the connection to the client fails.
Here is my setup:
127.0.0.1:8001 with SSL enabled.
17-9-25 12:33:12.8|Error|FileStationProxy|Failed to get info of /download. Reason: 160 - Unknown error
17-9-25 12:33:12.9|Warn|SharedFolderResolver|Failed to get shared folder /download from Disk Station 127.0.0.1:8001
[v2.0.0.4949] NzbDrone.Core.Download.Clients.DownloadClientException: Failed to get info of /download. Reason: 160 - Unknown error
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) [0x000d2] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Download\Clients\DownloadStation\Proxies\DiskStationProxyBase.cs:120
at NzbDrone.Core.Download.Clients.DownloadStation.Proxies.DiskStationProxyBase.ProcessRequest[T] (NzbDrone.Common.Http.HttpRequestBuilder requestBuilder, System.String operation, NzbDrone.Core.Download.Clients.DownloadStation.DownloadStationSettings settings) [0x00000] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Download\Clients\DownloadStation\Proxies\DiskStationProxyBase.cs:66
at NzbDrone.Core.Download.Clients.DownloadStation.Proxies.FileStationProxy.GetInfoFileOrDirectory (System.String path, NzbDrone.Core.Download.Clients.DownloadStation.DownloadStationSettings settings) [0x0003d] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Download\Clients\DownloadStation\Proxies\FileStationProxy.cs:41
at NzbDrone.Core.Download.Clients.DownloadStation.Proxies.FileStationProxy.GetSharedFolderMapping (System.String sharedFolder, NzbDrone.Core.Download.Clients.DownloadStation.DownloadStationSettings settings) [0x00000] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Download\Clients\DownloadStation\Proxies\FileStationProxy.cs:28
at NzbDrone.Core.Download.Clients.DownloadStation.SharedFolderResolver.GetPhysicalPath (NzbDrone.Common.Disk.OsPath sharedFolder, NzbDrone.Core.Download.Clients.DownloadStation.DownloadStationSettings settings) [0x00000] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Download\Clients\DownloadStation\SharedFolderResolver.cs:33
17-9-25 12:33:13.3|Warn|DownloadMonitoringService|Unable to retrieve queue and history items from DownloadStation
[v2.0.0.4949] NzbDrone.Core.Download.Clients.DownloadClientException: Failed to get info of /download. Reason: 160 - Unknown error
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) [0x000d2] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Download\Clients\DownloadStation\Proxies\DiskStationProxyBase.cs:120
at NzbDrone.Core.Download.Clients.DownloadStation.Proxies.DiskStationProxyBase.ProcessRequest[T] (NzbDrone.Common.Http.HttpRequestBuilder requestBuilder, System.String operation, NzbDrone.Core.Download.Clients.DownloadStation.DownloadStationSettings settings) [0x00000] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Download\Clients\DownloadStation\Proxies\DiskStationProxyBase.cs:66
at NzbDrone.Core.Download.Clients.DownloadStation.Proxies.FileStationProxy.GetInfoFileOrDirectory (System.String path, NzbDrone.Core.Download.Clients.DownloadStation.DownloadStationSettings settings) [0x0003d] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Download\Clients\DownloadStation\Proxies\FileStationProxy.cs:41
at NzbDrone.Core.Download.Clients.DownloadStation.Proxies.FileStationProxy.GetSharedFolderMapping (System.String sharedFolder, NzbDrone.Core.Download.Clients.DownloadStation.DownloadStationSettings settings) [0x00000] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Download\Clients\DownloadStation\Proxies\FileStationProxy.cs:28
at NzbDrone.Core.Download.Clients.DownloadStation.SharedFolderResolver.GetPhysicalPath (NzbDrone.Common.Disk.OsPath sharedFolder, NzbDrone.Core.Download.Clients.DownloadStation.DownloadStationSettings settings) [0x00000] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Download\Clients\DownloadStation\SharedFolderResolver.cs:33
It's driving me crazy... :-/
I can attest after some tries: "160 - Unknown error" when there are some file downloading in DownloadStation.
When files are finished download, if I click on "Clear completed items" which remove all files (the DownloadStation is then empty), the connection works again....
@Taloth According to a user on the Radarr issue, he managed to fix this by giving the Radarr user FileStation Access next to giving it DiskStation Access. Maybe that's the error code for insufficient access?
Giving the corresponding user the File Station access seems to work. I cannot reproduce the "160 - Unknown error" anymore even with files downloading and some completed.
I'll report here if any error come back.
EDIT: no luck. When all files are completed, I get this :
18-2-7 21:58:25.7|Error|TorrentDownloadStation|Error testing Torrent Download Station
[v2.0.0.5085] NzbDrone.Core.Download.Clients.DownloadClientUnavailableException: Unable to connect to Diskstation, please check your settings ---> System.Net.WebException: Curl Error SslCaCert for Url https://127.0.0.1:8001/webapi/query.cgi?api=(removed)&version=1&method=query&query=SYNO.API.Auth%2CSYNO.DownloadStation.Info, issues with your operating system SSL Root Certificate Bundle (ca-bundle).
at NzbDrone.Common.Http.Dispatchers.CurlHttpDispatcher.GetResponse (NzbDrone.Common.Http.HttpRequest request, System.Net.CookieContainer cookies) [0x001cd] in M:\BuildAgent\work\3a352f0853732683\src\NzbDrone.Common\Http\Dispatchers\CurlHttpDispatcher.cs:146
at NzbDrone.Common.Http.Dispatchers.FallbackHttpDispatcher.GetResponse (NzbDrone.Common.Http.HttpRequest request, System.Net.CookieContainer cookies) [0x00097] in M:\BuildAgent\work\3a352f0853732683\src\NzbDrone.Common\Http\Dispatchers\FallbackHttpDispatcher.cs:47
at NzbDrone.Common.Http.HttpClient.ExecuteRequest (NzbDrone.Common.Http.HttpRequest request) [0x0007e] in M:\BuildAgent\work\3a352f0853732683\src\NzbDrone.Common\Http\HttpClient.cs:119
at NzbDrone.Common.Http.HttpClient.Execute (NzbDrone.Common.Http.HttpRequest request) [0x00000] in M:\BuildAgent\work\3a352f0853732683\src\NzbDrone.Common\Http\HttpClient.cs:55
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) [0x00007] in M:\BuildAgent\work\3a352f0853732683\src\NzbDrone.Core\Download\Clients\DownloadStation\Proxies\DiskStationProxyBase.cs:79
--- End of inner exception stack trace ---
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) [0x00024] in M:\BuildAgent\work\3a352f0853732683\src\NzbDrone.Core\Download\Clients\DownloadStation\Proxies\DiskStationProxyBase.cs:87
at NzbDrone.Core.Download.Clients.DownloadStation.Proxies.DiskStationProxyBase.UpdateApiInfo (NzbDrone.Core.Download.Clients.DownloadStation.DownloadStationSettings settings) [0x0005e] in M:\BuildAgent\work\3a352f0853732683\src\NzbDrone.Core\Download\Clients\DownloadStation\Proxies\DiskStationProxyBase.cs:202
at NzbDrone.Core.Download.Clients.DownloadStation.Proxies.DiskStationProxyBase.GetApiInfo (NzbDrone.Core.Download.Clients.DownloadStation.DiskStationApi api, NzbDrone.Core.Download.Clients.DownloadStation.DownloadStationSettings settings) [0x00022] in M:\BuildAgent\work\3a352f0853732683\src\NzbDrone.Core\Download\Clients\DownloadStation\Proxies\DiskStationProxyBase.cs:229
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) [0x00000] in M:\BuildAgent\work\3a352f0853732683\src\NzbDrone.Core\Download\Clients\DownloadStation\Proxies\DiskStationProxyBase.cs:141
at NzbDrone.Core.Download.Clients.DownloadStation.Proxies.DownloadStationInfoProxy.GetConfig (NzbDrone.Core.Download.Clients.DownloadStation.DownloadStationSettings settings) [0x00000] in M:\BuildAgent\work\3a352f0853732683\src\NzbDrone.Core\Download\Clients\DownloadStation\Proxies\DownloadStationInfoProxy.cs:22
at NzbDrone.Core.Download.Clients.DownloadStation.TorrentDownloadStation.GetDefaultDir () [0x00000] in M:\BuildAgent\work\3a352f0853732683\src\NzbDrone.Core\Download\Clients\DownloadStation\TorrentDownloadStation.cs:406
at NzbDrone.Core.Download.Clients.DownloadStation.TorrentDownloadStation.TestOutputPath () [0x00000] in M:\BuildAgent\work\3a352f0853732683\src\NzbDrone.Core\Download\Clients\DownloadStation\TorrentDownloadStation.cs:283
18-2-7 21:58:28.8|Error|DownloadStationTaskProxy|NzbDrone.Core.Download.Clients.DownloadClientUnavailableException: Unable to connect to Diskstation, please check your settings ---> System.Net.WebException: Curl Error SslCaCert for Url https://127.0.0.1:8001/webapi/DownloadStation/task.cgi?_sid=CRPyVm97bQ9bA1470MNN384703&api=(removed)&version=1&method=list&additional=detail%2Ctransfer, issues with your operating system SSL Root Certificate Bundle (ca-bundle).
at NzbDrone.Common.Http.Dispatchers.CurlHttpDispatcher.GetResponse (NzbDrone.Common.Http.HttpRequest request, System.Net.CookieContainer cookies) [0x001cd] in M:\BuildAgent\work\3a352f0853732683\src\NzbDrone.Common\Http\Dispatchers\CurlHttpDispatcher.cs:146
at NzbDrone.Common.Http.Dispatchers.FallbackHttpDispatcher.GetResponse (NzbDrone.Common.Http.HttpRequest request, System.Net.CookieContainer cookies) [0x00097] in M:\BuildAgent\work\3a352f0853732683\src\NzbDrone.Common\Http\Dispatchers\FallbackHttpDispatcher.cs:47
at NzbDrone.Common.Http.HttpClient.ExecuteRequest (NzbDrone.Common.Http.HttpRequest request) [0x0007e] in M:\BuildAgent\work\3a352f0853732683\src\NzbDrone.Common\Http\HttpClient.cs:119
at NzbDrone.Common.Http.HttpClient.Execute (NzbDrone.Common.Http.HttpRequest request) [0x00000] in M:\BuildAgent\work\3a352f0853732683\src\NzbDrone.Common\Http\HttpClient.cs:55
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) [0x00007] in M:\BuildAgent\work\3a352f0853732683\src\NzbDrone.Core\Download\Clients\DownloadStation\Proxies\DiskStationProxyBase.cs:79
--- End of inner exception stack trace ---
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) [0x00024] in M:\BuildAgent\work\3a352f0853732683\src\NzbDrone.Core\Download\Clients\DownloadStation\Proxies\DiskStationProxyBase.cs:87
at NzbDrone.Core.Download.Clients.DownloadStation.Proxies.DiskStationProxyBase.ProcessRequest[T] (NzbDrone.Common.Http.HttpRequestBuilder requestBuilder, System.String operation, NzbDrone.Core.Download.Clients.DownloadStation.DownloadStationSettings settings) [0x00000] in M:\BuildAgent\work\3a352f0853732683\src\NzbDrone.Core\Download\Clients\DownloadStation\Proxies\DiskStationProxyBase.cs:66
at NzbDrone.Core.Download.Clients.DownloadStation.Proxies.DownloadStationTaskProxy.GetTasks (NzbDrone.Core.Download.Clients.DownloadStation.DownloadStationSettings settings) [0x00021] in M:\BuildAgent\work\3a352f0853732683\src\NzbDrone.Core\Download\Clients\DownloadStation\Proxies\DownloadStationTaskProxy.cs:59
[v2.0.0.5085] NzbDrone.Core.Download.Clients.DownloadClientUnavailableException: Unable to connect to Diskstation, please check your settings ---> System.Net.WebException: Curl Error SslCaCert for Url https://127.0.0.1:8001/webapi/DownloadStation/task.cgi?_sid=CRPyVm97bQ9bA1470MNN384703&api=(removed)&version=1&method=list&additional=detail%2Ctransfer, issues with your operating system SSL Root Certificate Bundle (ca-bundle).
at NzbDrone.Common.Http.Dispatchers.CurlHttpDispatcher.GetResponse (NzbDrone.Common.Http.HttpRequest request, System.Net.CookieContainer cookies) [0x001cd] in M:\BuildAgent\work\3a352f0853732683\src\NzbDrone.Common\Http\Dispatchers\CurlHttpDispatcher.cs:146
at NzbDrone.Common.Http.Dispatchers.FallbackHttpDispatcher.GetResponse (NzbDrone.Common.Http.HttpRequest request, System.Net.CookieContainer cookies) [0x00097] in M:\BuildAgent\work\3a352f0853732683\src\NzbDrone.Common\Http\Dispatchers\FallbackHttpDispatcher.cs:47
at NzbDrone.Common.Http.HttpClient.ExecuteRequest (NzbDrone.Common.Http.HttpRequest request) [0x0007e] in M:\BuildAgent\work\3a352f0853732683\src\NzbDrone.Common\Http\HttpClient.cs:119
at NzbDrone.Common.Http.HttpClient.Execute (NzbDrone.Common.Http.HttpRequest request) [0x00000] in M:\BuildAgent\work\3a352f0853732683\src\NzbDrone.Common\Http\HttpClient.cs:55
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) [0x00007] in M:\BuildAgent\work\3a352f0853732683\src\NzbDrone.Core\Download\Clients\DownloadStation\Proxies\DiskStationProxyBase.cs:79
--- End of inner exception stack trace ---
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) [0x00024] in M:\BuildAgent\work\3a352f0853732683\src\NzbDrone.Core\Download\Clients\DownloadStation\Proxies\DiskStationProxyBase.cs:87
at NzbDrone.Core.Download.Clients.DownloadStation.Proxies.DiskStationProxyBase.ProcessRequest[T] (NzbDrone.Common.Http.HttpRequestBuilder requestBuilder, System.String operation, NzbDrone.Core.Download.Clients.DownloadStation.DownloadStationSettings settings) [0x00000] in M:\BuildAgent\work\3a352f0853732683\src\NzbDrone.Core\Download\Clients\DownloadStation\Proxies\DiskStationProxyBase.cs:66
at NzbDrone.Core.Download.Clients.DownloadStation.Proxies.DownloadStationTaskProxy.GetTasks (NzbDrone.Core.Download.Clients.DownloadStation.DownloadStationSettings settings) [0x00021] in M:\BuildAgent\work\3a352f0853732683\src\NzbDrone.Core\Download\Clients\DownloadStation\Proxies\DownloadStationTaskProxy.cs:59
18-2-7 21:58:32.8|Warn|SerialNumberProvider|Could not get the serial number from Download Station 127.0.0.1:8001
[v2.0.0.5085] NzbDrone.Core.Download.Clients.DownloadClientUnavailableException: Unable to connect to Diskstation, please check your settings ---> System.Net.WebException: Curl Error SslCaCert for Url https://127.0.0.1:8001/webapi/entry.cgi?_sid=CRPyVm97bQ9bA1470MNN384703&api=(removed)&version=2&method=getinfo, issues with your operating system SSL Root Certificate Bundle (ca-bundle).
at NzbDrone.Common.Http.Dispatchers.CurlHttpDispatcher.GetResponse (NzbDrone.Common.Http.HttpRequest request, System.Net.CookieContainer cookies) [0x001cd] in M:\BuildAgent\work\3a352f0853732683\src\NzbDrone.Common\Http\Dispatchers\CurlHttpDispatcher.cs:146
at NzbDrone.Common.Http.Dispatchers.FallbackHttpDispatcher.GetResponse (NzbDrone.Common.Http.HttpRequest request, System.Net.CookieContainer cookies) [0x00097] in M:\BuildAgent\work\3a352f0853732683\src\NzbDrone.Common\Http\Dispatchers\FallbackHttpDispatcher.cs:47
at NzbDrone.Common.Http.HttpClient.ExecuteRequest (NzbDrone.Common.Http.HttpRequest request) [0x0007e] in M:\BuildAgent\work\3a352f0853732683\src\NzbDrone.Common\Http\HttpClient.cs:119
at NzbDrone.Common.Http.HttpClient.Execute (NzbDrone.Common.Http.HttpRequest request) [0x00000] in M:\BuildAgent\work\3a352f0853732683\src\NzbDrone.Common\Http\HttpClient.cs:55
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) [0x00007] in M:\BuildAgent\work\3a352f0853732683\src\NzbDrone.Core\Download\Clients\DownloadStation\Proxies\DiskStationProxyBase.cs:79
--- End of inner exception stack trace ---
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) [0x00024] in M:\BuildAgent\work\3a352f0853732683\src\NzbDrone.Core\Download\Clients\DownloadStation\Proxies\DiskStationProxyBase.cs:87
at NzbDrone.Core.Download.Clients.DownloadStation.Proxies.DiskStationProxyBase.ProcessRequest[T] (NzbDrone.Common.Http.HttpRequestBuilder requestBuilder, System.String operation, NzbDrone.Core.Download.Clients.DownloadStation.DownloadStationSettings settings) [0x00000] in M:\BuildAgent\work\3a352f0853732683\src\NzbDrone.Core\Download\Clients\DownloadStation\Proxies\DiskStationProxyBase.cs:66
at NzbDrone.Core.Download.Clients.DownloadStation.Proxies.DSMInfoProxy.GetSerialNumber (NzbDrone.Core.Download.Clients.DownloadStation.DownloadStationSettings settings) [0x0001c] in M:\BuildAgent\work\3a352f0853732683\src\NzbDrone.Core\Download\Clients\DownloadStation\Proxies\DSMInfoProxy.cs:28
at NzbDrone.Core.Download.Clients.DownloadStation.SerialNumberProvider.GetHashedSerialNumber (NzbDrone.Core.Download.Clients.DownloadStation.DownloadStationSettings settings) [0x00000] in M:\BuildAgent\work\3a352f0853732683\src\NzbDrone.Core\Download\Clients\DownloadStation\SerialNumberProvider.cs:45
at NzbDrone.Core.Download.Clients.DownloadStation.SerialNumberProvider+<>c__DisplayClass4_0.<GetSerialNumber>b__0 () [0x00000] in M:\BuildAgent\work\3a352f0853732683\src\NzbDrone.Core\Download\Clients\DownloadStation\SerialNumberProvider.cs:34
at NzbDrone.Common.Cache.Cached`1[T].Get (System.String key, System.Func`1[TResult] function, System.Nullable`1[T] lifeTime) [0x0006a] in M:\BuildAgent\work\3a352f0853732683\src\NzbDrone.Common\Cache\Cached.cs:81
at NzbDrone.Core.Download.Clients.DownloadStation.SerialNumberProvider.GetSerialNumber (NzbDrone.Core.Download.Clients.DownloadStation.DownloadStationSettings settings) [0x00014] in M:\BuildAgent\work\3a352f0853732683\src\NzbDrone.Core\Download\Clients\DownloadStation\SerialNumberProvider.cs:34
18-2-7 21:58:34.8|Warn|NzbDroneErrorPipeline|Invalid request Validation failed:
-- Unknown exception: Unable to connect to Diskstation, please check your settings
-- Failed to get the list of torrents: Unable to connect to Diskstation, please check your settings
@galli-leo It's certainly possible, but the 160 error came intermittently which doesn't really support a hard access permission issue. We'll see if that solution works for everyone.
Mmmm, gonna give it a try tonight... @Taloth wasn't 119 the one that was
giving us trouble?
On Feb 7, 2018 17:20, "Taloth" notifications@github.com wrote:
@galli-leo https://github.com/galli-leo It's certainly possible, but the
160 error came intermittently which doesn't really support a hard access
permission issue. We'll see if that solution works for everyone.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Sonarr/Sonarr/issues/1758#issuecomment-363897535, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AT1ONt3vy260koJSEssRiT7MNYoNdi6Vks5tSgV8gaJpZM4Mbm7s
.
Ah, right... damn, two different errors. Then nvm :smile: 119 was intermittent not 160.
I was able to reproduce it, but I had to explicitly deny access to the user to trigger this error. By doing that i wasn't able to pass the test to add diskstation as a client....
Closing since the linked PR is merged.