Happens pretty often and I tried to log the few parts of the code that do web requests but can’t find the culprit of this recurring crash… This is the stacktrace that does’t tell me anything about the source…
Please help me find a way to find the source of this:(
System.AggregateException
A Task’s exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread…
stacktrace
System.Net.WebException: Error: NameResolutionFailure
Module “System.Runtime.ExceptionServices.ExceptionDispatchInfo”, in Throw
Module “System.Runtime.CompilerServices.ConfiguredTaskAwaitable1+ConfiguredTaskAwaiter", in GetResult Module "System.Net.WebOperation", in WaitForCompletion Module "System.Runtime.CompilerServices.AsyncTaskMethodBuilder
1”, in Start
Module “System.Net.WebOperation”, in WaitForCompletion
Module “System.Net.ServicePointScheduler”, in StartScheduler
Module “System.Threading.ContextCallback”, in Invoke
Module “System.Threading.ExecutionContext”, in RunInternal
Module “System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner”, in Run
Module “System.Action”, in Invoke
Module “System.Threading.Tasks.AwaitTaskContinuation”, in RunOrScheduleAction
Module “System.Threading.Tasks.Task”, in FinishContinuations
Module “System.Threading.Tasks.Task1", in TrySetResult Module "System.Threading.Tasks.TaskFactory+CompleteOnInvokePromise", in Invoke Module "System.Threading.Tasks.Task", in FinishContinuations Module "System.Threading.Tasks.Task
1”, in TrySetResult
Module “System.Runtime.CompilerServices.AsyncTaskMethodBuilder1", in SetResult Module "System.Net.ServicePointScheduler+AsyncManualResetEvent", in WaitAsync Module "System.Threading.ContextCallback", in Invoke Module "System.Threading.ExecutionContext", in RunInternal Module "System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner", in Run Module "System.Action", in Invoke Module "System.Threading.Tasks.AwaitTaskContinuation", in RunOrScheduleAction Module "System.Threading.Tasks.Task", in FinishContinuations Module "System.Threading.Tasks.Task
1”, in TrySetResult
Module “System.Threading.Tasks.TaskFactory+CompleteOnInvokePromise”, in Invoke
Module “System.Threading.Tasks.Task”, in FinishContinuations
Module “System.Threading.Tasks.Task1", in TrySetResult Module "System.Threading.Tasks.TaskCompletionSource
1”, in TrySetResult
Module “System.Func2", in Invoke Module "System.Threading.Tasks.Task
1”, in InnerInvoke
Module “System.Threading.Tasks.Task”, in Execute
Module “System.Threading.ContextCallback”, in Invoke
Module “System.Threading.ExecutionContext”, in RunInternal
Module “System.Threading.Tasks.Task”, in ExecuteWithThreadLocal
Module “System.Threading.Tasks.Task”, in ExecuteEntry
Module “System.Threading.ThreadPoolWorkQueue”, in Dispatch