rdt-client: Unexpected error occurred in TorrentDownloadManager.Tick

First of all, very nice work. Everything works correctly except for the error below which appears for no reason. Which remains even after rebooting the docker. I don’t know why.

Have you ever encountered this problem?

What version are you using? 2.0.12.0 Wat OS are you running? Qnap Are you using Docker or as a service? Using Container Station (Docker)

Please attach a log file here with the log setting set to debug

services.d] starting services [services.d] done. Changing to /app folder Starting rtdclient [20:46:41 WRN] Starting host on version 2.0.12.0 [20:46:41 WRN] Using an in-memory repository. Keys will not be persisted to storage. [20:46:41 WRN] Neither user profile nor HKLM registry available. Using an ephemeral key repository. Protected data will be unavailable when application exits. [20:46:41 WRN] No XML encryptor configured. Key {*****************************************} may be persisted to storage in unencrypted form. [20:47:11 WRN] The query uses the ‘First’/‘FirstOrDefault’ operator without ‘OrderBy’ and filter operators. This may lead to unpredictable results. [20:47:12 WRN] 401: /api/v2/torrents/info [20:47:31 WRN] 401: /Api/Authentication/IsLoggedIn [20:48:07 WRN] 401: /api/v2/torrents/info [20:48:07 ERR] Unexpected error occurred in TorrentDownloadManager.Tick System.AggregateException: One or more errors occurred. (A task was canceled.) —> System.Threading.Tasks.TaskCanceledException: A task was canceled. at System.Threading.Tasks.Task.GetExceptions(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task1.GetResultCore(Boolean waitCompletionNotification) at System.Threading.Tasks.Task1.get_Result() at RdtClient.Service.Services.TorrentClients.RealDebridTorrentClient.GetClient() in /appserver/server/RdtClient.Service/Services/TorrentClients/RealDebridTorrentClient.cs:line 43 at RdtClient.Service.Services.TorrentClients.RealDebridTorrentClient.GetTorrents() in /appserver/server/RdtClient.Service/Services/TorrentClients/RealDebridTorrentClient.cs:line 81 at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine) at RdtClient.Service.Services.TorrentClients.RealDebridTorrentClient.GetTorrents() at RdtClient.Service.Services.Torrents.UpdateRdData() in /appserver/server/RdtClient.Service/Services/Torrents.cs:line 355 at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine) at RdtClient.Service.Services.Torrents.UpdateRdData() at RdtClient.Service.Services.TorrentRunner.Tick() in /appserver/server/RdtClient.Service/Services/TorrentRunner.cs:line 319 at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine) at RdtClient.Service.Services.TorrentRunner.Tick() at RdtClient.Service.Services.TaskRunner.ExecuteAsync(CancellationToken stoppingToken) in /appserver/server/RdtClient.Service/Services/TaskRunner.cs:line 30 at System.Runtime.CompilerServices.AsyncTaskMethodBuilder1.AsyncStateMachineBox1.ExecutionContextCallback(Object s) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder1.AsyncStateMachineBox1.MoveNext(Thread threadPoolThread) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder1.AsyncStateMachineBox1.MoveNext() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining) at System.Threading.Tasks.Task.RunContinuations(Object continuationObject) at System.Threading.Tasks.Task.FinishContinuations() at System.Threading.Tasks.Task.TrySetResult() at System.Threading.Tasks.Task.DelayPromise.CompleteTimedOut() at System.Threading.Tasks.Task.DelayPromise.TimerCallback(Object state) at System.Threading.TimerQueueTimer.CallCallback(Boolean isThreadPool) at System.Threading.TimerQueueTimer.Fire(Boolean isThreadPool) at System.Threading.TimerQueue.FireNextTimers() at System.Threading.TimerQueue.AppDomainTimerCallback(Int32 id) at System.Threading.UnmanagedThreadPoolWorkItem.System.Threading.IThreadPoolWorkItem.Execute() at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart() at System.Threading.Thread.StartCallback() — End of stack trace from previous location —

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 17 (6 by maintainers)

Most upvoted comments

Ok sounds good, if it breaks again let me know.

Sorry I have been swamped with work and personal things. I will push a fix hopefully soon.