Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After a download reaches 800MB, the download stops and its status changes to finished #561

Open
elliotjm64 opened this issue Aug 8, 2024 · 6 comments

Comments

@elliotjm64
Copy link

What version are you using?
2.0.81
Wat OS are you running?
UnRaid 6.12.9
Are you using Docker or as a service?
Docker
Which debrid provider are you using?
AllDebrid
Which downloader are you using?
Internal
Please attach a log file here with the log setting set to debug
at RdtClient.Service.Middleware.AuthorizeMiddleware.Invoke(HttpContext context) in /appserver/server/RdtClient.Service/Middleware/AuthorizeMiddleware.cs:line 15
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.g__Awaited|10_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
2024-08-08 12:45:55.751 -04:00 [WRN] Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager: No XML encryptor configured. Key {c009c1cd-e778-4c95-92ed-b2d8a298b59d} may be persisted to storage in unencrypted form.
2024-08-08 12:45:55.928 -04:00 [WRN] RdtClient.Service.BackgroundServices.Startup: Starting host on version 2.0.81.0
2024-08-08 12:51:49.776 -04:00 [ERR] RdtClient.Service.Services.Downloaders.InternalDownloader: The operation was canceled.
System.Threading.Tasks.TaskCanceledException: The operation was canceled.
---> System.Threading.Tasks.TaskCanceledException: The operation was canceled.
---> System.IO.IOException: Unable to read data from the transport connection: Operation canceled.
---> System.Net.Sockets.SocketException (125): Operation canceled
--- End of inner exception stack trace ---
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16 token)
at System.Net.Security.SslStream.EnsureFullTlsFrameAsync[TIOAdapter](CancellationToken cancellationToken, Int32 estimatedSize)
at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder1.StateMachineBox1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
at System.Net.Security.SslStream.ReadAsyncInternal[TIOAdapter](Memory1 buffer, CancellationToken cancellationToken) at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
at System.Net.Http.HttpConnection.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
--- End of inner exception stack trace ---
at System.Net.Http.HttpConnection.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
--- End of inner exception stack trace ---
at System.Net.Http.HttpClient.HandleFailure(Exception e, Boolean telemetryStarted, HttpResponseMessage response, CancellationTokenSource cts, CancellationToken cancellationToken, CancellationTokenSource pendingRequestsCts)
at System.Net.Http.HttpClient.g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
at DownloaderNET.Downloader.Download(Int64 thread, Chunk chunk, CancellationToken cancellationToken)
2024-08-08 12:51:49.787 -04:00 [ERR] RdtClient.Service.Services.Downloaders.InternalDownloader: The operation was canceled.
System.OperationCanceledException: The operation was canceled.
at System.Threading.CancellationToken.ThrowOperationCanceledException()
at DownloaderNET.Downloader.<>c__DisplayClass20_0.<b__0>d.MoveNext()

@draiko913
Copy link

draiko913 commented Aug 19, 2024

For what it's worth. I'm see the same behavior on my RDTClient instance also stopping at 800 MB. Running 2.0.81 on Docker through an LXC on Proxmox. Also using Alldebrid as my provider.

@brian-sumpter
Copy link

Same issue here - stopping at ~800 mb using AllDebrid. When I switch over to my RealDebrid account, the issue goes away and everything works fine, so this is specific to AllDebrid. Running standalone installs (no Docker) on a Raspberry Pi 4.

@rogerfar
Copy link
Owner

rogerfar commented Sep 3, 2024

Try using the bezzad downloader or Aria2.

@brian-sumpter
Copy link

All downloaders behave the same; this seems to be related to AllDebrid specifically, as switching to RealDebrid resolves the issue entirely.

@rogerfar
Copy link
Owner

rogerfar commented Sep 4, 2024

Thats very odd, does it also happen when you download it with the browser or something like curl?

@elliotjm64
Copy link
Author

I use JDownloader2 linked to AllDebrid and that works normally, downloading files from AllDebrid in my browser works too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants