HaveIBeenPwned / PwnedPasswordsDownloader

A tool to download all Pwned Passwords hash ranges and save them offline so they can be used without a dependency on the k-anonymity API
BSD 3-Clause "New" or "Revised" License
701 stars 55 forks source link

error during download #46

Open frank3427 opened 1 year ago

frank3427 commented 1 year ago

I upgraded to the latest version

using the following haveibeenpwned-downloader.exe -n l:\pwnedpasswords -o -p 64

I seen the following during the download process

Failed request #1 while fetching . Exception message: The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing..-------------------------------------- 21% --:--:-- - TaskCanceledException: The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing. TimeoutException: The operation was canceled. . at void HandleFailure(Exception e, bool telemetryStarted, HttpResponseMessage response, CancellationTokenSource cts, CancellationToken cancellationToken, CancellationTokenSource pendingRequestsCts) at async Task g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, bool disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken) at void MoveNext() in Program.cs:191 at async Task ImplementationAsync(Func<Context, CancellationToken, Task> action, Context context, CancellationToken cancellationToken, ExceptionPredicates shouldRetryExceptionPredicates, ResultPredicates shouldRetryResultPredicates, Func<DelegateResult, TimeSpan, int, Context, Task> onRetryAsync, int permittedRetryCount, IEnumerable sleepDurationsEnumerable, Func<int, DelegateResult, Context, TimeSpan> sleepDurationProvider, bool continueOnCapturedContext)

RonnyTNL commented 10 months ago

I had the same errors show up on my downloads;

Failed request #1 while fetching . Exception message: The request was canceled due to the configured HttpClient.Timeout
of 100 seconds elapsing..--------------------------------------  14% --:--:-- -
TaskCanceledException: The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing.
     TimeoutException: The operation was canceled.
     .
  at void HandleFailure(Exception e, bool telemetryStarted, HttpResponseMessage response, CancellationTokenSource cts,
     CancellationToken cancellationToken, CancellationTokenSource pendingRequestsCts)
  at async Task<HttpResponseMessage> <SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption
     completionOption, CancellationTokenSource cts, bool disposeCts, CancellationTokenSource pendingRequestsCts,
     CancellationToken originalCancellationToken)
  at void MoveNext() in Program.cs:191
  at async Task<TResult> ImplementationAsync<TResult>(Func<Context, CancellationToken, Task<TResult>> action, Context
     context, CancellationToken cancellationToken, ExceptionPredicates shouldRetryExceptionPredicates,
     ResultPredicates<TResult> shouldRetryResultPredicates, Func<DelegateResult<TResult>, TimeSpan, int, Context, Task>
     onRetryAsync, int permittedRetryCount, IEnumerable<TimeSpan> sleepDurationsEnumerable, Func<int,
     DelegateResult<TResult>, Context, TimeSpan> sleepDurationProvider, bool continueOnCapturedContext)
Failed request #1 while fetching . Exception message: The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing..
TaskCanceledException: The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing.
     TimeoutException: The operation was canceled.
     .
  at void HandleFailure(Exception e, bool telemetryStarted, HttpResponseMessage response, CancellationTokenSource cts, CancellationToken cancellationToken, CancellationTokenSource pendingRequestsCts)
  at async Task<HttpResponseMessage> <SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, bool disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken
     originalCancellationToken)
  at void MoveNext() in Program.cs:191
  at async Task<TResult> ImplementationAsync<TResult>(Func<Context, CancellationToken, Task<TResult>> action, Context context, CancellationToken cancellationToken, ExceptionPredicates shouldRetryExceptionPredicates,
     ResultPredicates<TResult> shouldRetryResultPredicates, Func<DelegateResult<TResult>, TimeSpan, int, Context, Task> onRetryAsync, int permittedRetryCount, IEnumerable<TimeSpan> sleepDurationsEnumerable, Func<int,
     DelegateResult<TResult>, Context, TimeSpan> sleepDurationProvider, bool continueOnCapturedContext)
Failed request #1 while fetching . Exception message: The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing..
TaskCanceledException: The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing.
     TimeoutException: The operation was canceled.
     .
  at void HandleFailure(Exception e, bool telemetryStarted, HttpResponseMessage response, CancellationTokenSource cts, CancellationToken cancellationToken, CancellationTokenSource pendingRequestsCts)
  at async Task<HttpResponseMessage> <SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, bool disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken
     originalCancellationToken)
  at void MoveNext() in Program.cs:191
  at async Task<TResult> ImplementationAsync<TResult>(Func<Context, CancellationToken, Task<TResult>> action, Context context, CancellationToken cancellationToken, ExceptionPredicates shouldRetryExceptionPredicates,
     ResultPredicates<TResult> shouldRetryResultPredicates, Func<DelegateResult<TResult>, TimeSpan, int, Context, Task> onRetryAsync, int permittedRetryCount, IEnumerable<TimeSpan> sleepDurationsEnumerable, Func<int,
     DelegateResult<TResult>, Context, TimeSpan> sleepDurationProvider, bool continueOnCapturedContext)