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

failing to download on some movies #37

Open
bleriaf opened this issue May 14, 2024 · 0 comments
Open

failing to download on some movies #37

bleriaf opened this issue May 14, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@bleriaf
Copy link

bleriaf commented May 14, 2024

sometimes, it fails to download some movies with the following error:

plex-downloader | Start download of next element in queue: A Single Shot
plex-downloader | fail: Web.Services.DownloadService[0]
plex-downloader | An error occured while downloading item A Single Shot
plex-downloader | System.Net.Http.HttpIOException: The response ended prematurely, with at least 2660737837 additional bytes expected. (ResponseEnded)
plex-downloader | at System.Net.Http.HttpConnection.ContentLengthReadStream.ReadAsync(Memory1 buffer, CancellationToken cancellationToken) plex-downloader | at Polly.Retry.AsyncRetryEngine.ImplementationAsync[TResult](Func3 action, Context context, CancellationToken cancellationToken, ExceptionPredicates shouldRetryExceptionPredicates, ResultPredicates1 shouldRetryResultPredicates, Func5 onRetryAsync, Int32 permittedRetryCount, IEnumerable1 sleepDurationsEnumerable, Func4 sleepDurationProvider, Boolean continueOnCapturedContext)
plex-downloader | at Polly.AsyncPolicy1.ExecuteAsync(Func3 action, Context context, CancellationToken cancellationToken, Boolean continueOnCapturedContext)
plex-downloader | at Web.Services.DownloadService.CopyToAsync(Stream source, Stream destination, DownloadElement downloadElement, IAsyncPolicy`1 policy, Int32 bufferSize) in /src/Web/Services/DownloadService.cs:line 456
plex-downloader | at Web.Services.DownloadService.DownloadFile(DownloadElement downloadElement) in /src/Web/Services/DownloadService.cs:line 429

it's a better thing to retry when such things happen

@fxsth fxsth added the bug Something isn't working label Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants