I would like to share the following problem and solution, if any other has the same problem. It took some time to find out.
Problem is: After installing the Trading Central (TC) plugin and adding it to chart, the Metatrader closed with no error.
What happened? The TC plugin tries to contact "www.google-analytics.com", but the domain was blocked via DNS by a pihole (firewall).
Workaround: I have whitelisted the domain in pihole, but Whitelisting "www.google-analytics.com" permantly is not the solution. I have filed a
bugfix-suggestion as well.
<Data>Anwendung: terminal.exe Frameworkversion: v4.0.30319 Beschreibung: Der Prozess wurde aufgrund einer unbehandelten
Ausnahme beendet. Ausnahmeinformationen: System.Net.WebException bei
System.Net.HttpWebRequest.EndGetRequestStream(System.IAsyncResult, System.Net.TransportContext ByRef) bei
System.Net.Http.HttpClientHandler.GetRequestStreamCallback(System.IAsyncResult) Ausnahmeinformationen:
System.Net.Http.HttpRequestException bei
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task) bei
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)
bei TC.MetaTrader.ExpertAdvisors.Tracking+<GoogleAnalyticsTrackingAsync>d__2.MoveNext() bei
System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__6_1(System.Object) bei
System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(System.Object) bei
System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback,
System.Object, Boolean) bei System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext,
System.Threading.ContextCallback, System.Object, Boolean) bei
System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() bei
System.Threading.ThreadPoolWorkQueue.Dispatch() bei
System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()</Data>
I would like to share the following problem and solution, if any other has the same problem. It took some time to find out.