tpill90 / battlenet-lancache-prefill

CLI tool to automatically prefill a Lancache with Battle.Net games
https://tpill90.github.io/battlenet-lancache-prefill/
MIT License
72 stars 10 forks source link

prefill wow issue #83

Closed jbollom closed 1 year ago

jbollom commented 1 year ago

root@lancache:/scripts/BattleNetPrefill-1.5.0-linux-x64# ./BattleNetPrefill prefill --products wow [1:12:21 AM] Prefilling 1 products

[1:12:21 AM] Detected Lancache server at level3.blizzard.com [192.168.1.243] [1:12:21 AM] Starting World Of Warcraft System.IO.IOException: The response ended prematurely. at async ValueTask System.Net.Http.HttpConnection.FillAsync(bool ) at async Task System.Net.Http.HttpConnection.CopyToContentLengthAsync(Stream , bool , ulong , int , CancellationToken ) at async Task System.Net.Http.HttpConnection.ContentLengthReadStream.CompleteCopyToAsync(Task , CancellationToken ) at async Task<byte[[]]> BattleNetPrefill.Web.CdnRequestManager.GetRequestAsBytesAsync(Request request, ProgressTask task) at async Task<byte[[]]> BattleNetPrefill.Web.CdnRequestManager.GetRequestAsBytesAsync(Request request, ProgressTask task) at async Task<byte[[]]> BattleNetPrefill.Web.CdnRequestManager.GetRequestAsBytesAsync(Request request, ProgressTask task) at void BattleNetPrefill.Web.CdnRequestManager.<>cDisplayClass18_0.<b0>d.MoveNext() at async Task Polly.Retry.AsyncRetryEngine.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) at async Task Polly.AsyncPolicy.ExecuteAsync(Func<Context, CancellationToken, Task> action, Context context, CancellationToken cancellationToken, bool continueOnCapturedContext) at async Task<byte[[]]> BattleNetPrefill.Web.CdnRequestManager.GetRequestAsBytesAsync(RootFolder rootPath, MD5Hash hash, bool isIndex, bool writeToDevNull, long? startBytes, long? endBytes) at async Task<Dictionary<MD5Hash, ArchiveIndexEntry>> BattleNetPrefill.Handlers.ArchiveIndexHandler.ProcessArchiveAsync(CDNConfigFile cdnConfig, int start, int finish) at async Task BattleNetPrefill.Handlers.ArchiveIndexHandler.BuildArchiveIndexesAsync(CDNConfigFile cdnConfig) at void BattleNetPrefill.TactProductHandler.<>cDisplayClass4_0.<b0>d.MoveNext() at void Spectre.Console.Status.<>cDisplayClass16_0.<b0>d.MoveNext() in Status.cs:79 at void Spectre.Console.Status.<>cDisplayClass17_0`1.<b0>d.MoveNext() in Status.cs:120 at void Spectre.Console.Progress.<>c__DisplayClass28_0`1.<b__0>d.MoveNext() in Progress.cs:133 at async Task Spectre.Console.Internal.DefaultExclusivityMode.RunAsync(Func<Task> func) in DefaultExclusivityMode.cs:40 at async Task Spectre.Console.Progress.StartAsync(Func<ProgressContext, Task> action) in Progress.cs:116 at async Task Spectre.Console.Status.StartAsync(string status, Func<StatusContext, Task> func) in Status.cs:117 at async Task Spectre.Console.Status.StartAsync(string status, Func<StatusContext, Task> action) in Status.cs:77 at async Task BattleNetPrefill.TactProductHandler.ProcessProductAsync(bool skipDiskCache, bool forcePrefill) at async ValueTask BattleNetPrefill.CliCommands.PrefillCommand.ExecuteAsync(IConsole console)

tpill90 commented 1 year ago

@jbollom is this issue still happening? Closing this for the time being until more info is provided.