Metatrader 4 crashes with Trading Central indicator

To add comments, please log in or register
traderixi
10
traderixi  
Hello,

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.

Error Message in Windows-Logs:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
  <Provider Name=".NET Runtime" /> 
  <EventID Qualifiers="0">1026</EventID> 
  <Level>2</Level> 
  <Task>0</Task> 
  <Keywords>0x80000000000000</Keywords> 
  <TimeCreated SystemTime="2019-07-26T15:44:48.434470000Z" /> 
  <EventRecordID>9489</EventRecordID> 
  <Channel>Application</Channel> 
  <Computer>DESKTOP-xxxxxx</Computer> 
  <Security /> 
  </System>
- <EventData>
  <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> 
  </EventData>
  </Event>

Best regards,
ixi
To add comments, please log in or register