Note that there are some explanatory texts on larger screens.

plurals
  1. POWCF Net.tcp service randomly faults
    primarykey
    data
    text
    <p>This code is slightly modified and almost taken straight from examples off the internet of getting a net.tcp duplex service running with a publish / subscribe mechanism. This works great for awhile but clients randomly fault the channel being used to communicate. Some clients are still good for communication 24 - 48 hours before faulting. Question: Does anyone know why the socket is randomly being aborted or even how to find out what exactly is causing exception in the error logs? </p> <pre><code> using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.ServiceModel; using System.ServiceModel.Web; using System.Text; namespace WcfService1 { [ServiceContract(CallbackContract = typeof(IClientCallBack))] interface IService { //The Alert Server Function called by the Client [OperationContract(IsOneWay = true)] void SubscribeToBeNotifiedServer(string EmpID); [OperationContract(IsOneWay = true)] void UpdatePricingServer(string ReservationID, string CustomerID); [OperationContract(IsOneWay = true)] void SendMessageToNotifyOther(string From, string To, string Message); } [ServiceContract] public interface IClientCallBack { [OperationContract()] [FaultContract(typeof(InvalidOperationException))] void UpdatePricingClient(string FromReservationID, string CustomerID ); //The Alert Server Function called by the Client [OperationContract(IsOneWay = true)] void SubscribeToBeNotifiedClient(); [OperationContract()] [FaultContract(typeof(InvalidOperationException))] void ReceiveMessage(string From, string Message); } [ServiceBehavior( ConcurrencyMode = ConcurrencyMode.Reentrant,UseSynchronizationContext = false, InstanceContextMode = InstanceContextMode.Single, IncludeExceptionDetailInFaults=true )] [CallbackBehavior(UseSynchronizationContext = false)] class Service1 : IService { public Service1() { } public void SubscribeToBeNotifiedServer(string EmpID) { var added = OperationContext.Current.GetCallbackChannel&lt;IClientCallBack&gt;(); var st = OperationContext.Current.InstanceContext.State; var asdf1 = OperationContext.Current.Host.State; if (!subscribers.Select(x =&gt; x.CallBackInformation).Contains(added)) { subscribers.Add(new ClientInfo(added, OperationContext.Current, EmpID)); OperationContext.Current.Channel.Faulted += new EventHandler(Channel_Faulted); } } private static readonly List&lt;ClientInfo&gt; subscribers = new List&lt;ClientInfo&gt;(); public void UpdatePricingServer(string ReservationID, string CustomerID) { try { List&lt;ClientInfo&gt; Remove = new List&lt;ClientInfo&gt;(); Action&lt;ClientInfo&gt; invoke = delegate(ClientInfo callback) { //I wrapped this in its own thread as the entire thread gets torn down if there is an exception // when you call the client. This is true even if its in a try catch the entire thread dies. System.Threading.Thread mythread = new System.Threading.Thread((System.Threading.ThreadStart)delegate() { try { var test = (ICommunicationObject)callback.CallBackInformation; if (test.State == CommunicationState.Opened &amp;&amp; callback.InstanceContext.Host.State == CommunicationState.Opened) { callback.CallBackInformation.UpdatePricingClient(ReservationID, CustomerID); } else { Remove.Add(callback); } } catch (FaultException&lt;InvalidOperationException&gt; exception) { } catch (FaultException exception) { } catch (CommunicationException exception) { } }); mythread.Start(); }; subscribers.ForEach(invoke); foreach (var temp1 in Remove) { subscribers.Remove(temp1); } } catch (Exception ex) { } } public void SendMessageToNotifyOther(string From, string To, string Message) { try { List&lt;ClientInfo&gt; Remove = new List&lt;ClientInfo&gt;(); Action&lt;ClientInfo&gt; invoke = delegate(ClientInfo callback) { //I wrapped this in its own thread as the entire thread gets torn down if there is an exception // when you call the client. This is true even if its in a try catch the entire thread dies. System.Threading.Thread mythread = new System.Threading.Thread((System.Threading.ThreadStart)delegate() { try { var test = (ICommunicationObject)callback.CallBackInformation; if (test.State == CommunicationState.Opened &amp;&amp; callback.InstanceContext.Host.State == CommunicationState.Opened) { if (callback.EmployeeID == To) { callback.CallBackInformation.ReceiveMessage(From, Message); } } else { Remove.Add(callback); } } catch (FaultException&lt;InvalidOperationException&gt; exception) { } catch (FaultException exception) { } catch (CommunicationException exception) { } }); mythread.Start(); }; subscribers.ForEach(invoke); foreach (var temp1 in Remove) { subscribers.Remove(temp1); } } catch (Exception ex) { } } #region IService Members void Channel_Faulted(object sender, EventArgs e) { ICommunicationObject myobj = (ICommunicationObject)sender; myobj.Abort(); myobj.Close(); } void InstanceContext_Closing(object sender, EventArgs e) { try { subscribers.Remove(subscribers.Where(x =&gt; x.CallBackInformation == sender).FirstOrDefault()); } catch { } } void Channel_Closed(object sender, EventArgs e) { try { subscribers.Remove(subscribers.Where(x =&gt; x.CallBackInformation == sender).FirstOrDefault()); } catch { } } void InstanceContext_Closed(object sender, EventArgs e) { try { subscribers.Remove(subscribers.Where(x =&gt; x.CallBackInformation == sender).FirstOrDefault()); } catch { } } void InstanceContext_Faulted(object sender, EventArgs e) { try { subscribers.Remove(subscribers.Where(x =&gt; x.CallBackInformation == sender).FirstOrDefault()); } catch { } } #endregion } public class ClientInfo { IClientCallBack client; OperationContext context; public ClientInfo(IClientCallBack clientcall, OperationContext Instance, string EmpID) { this.client = clientcall; this.context = Instance; this.EmployeeID = EmpID; } public IClientCallBack CallBackInformation { get { return client; } set { this.client = value; } } public OperationContext InstanceContext { get { return context; } set { this.context = value; } } public string EmployeeID; } } </code></pre> <p>Here is the web.config of the Server</p> <pre><code> &lt;?xml version="1.0"?&gt; &lt;configuration&gt; &lt;system.web&gt; &lt;compilation debug="true" targetFramework="4.0" /&gt; &lt;customErrors mode="Off"&gt; &lt;/customErrors&gt; &lt;/system.web&gt; &lt;system.serviceModel&gt; &lt;!--WcfService1.IService--&gt; &lt;services&gt; &lt;service behaviorConfiguration="MyBehavior" name="WcfService1.Service1"&gt; &lt;endpoint address="" binding="netTcpBinding" bindingConfiguration="portSharingBinding" name="MyServiceEndpoint" contract="WcfService1.IService"&gt; &lt;identity&gt; &lt;!--&lt;dns value="localhost:808" /&gt;--&gt; &lt;/identity&gt; &lt;/endpoint&gt; &lt;endpoint address="/mex" kind="mexEndpoint" binding="mexTcpBinding" contract="IMetadataExchange" /&gt; &lt;host&gt; &lt;baseAddresses&gt; &lt;!--&lt;add baseAddress="net.tcp://iiswatso/MnetTcp/Service1.svc" /&gt;--&gt; &lt;add baseAddress="net.tcp://localhost/WcfService/Service1.svc" /&gt; &lt;/baseAddresses&gt; &lt;/host&gt; &lt;/service&gt; &lt;/services&gt; &lt;behaviors&gt; &lt;serviceBehaviors&gt; &lt;behavior name="MyBehavior" &gt; &lt;serviceTimeouts /&gt; &lt;serviceMetadata httpGetEnabled="false" /&gt; &lt;serviceDebug includeExceptionDetailInFaults="true" /&gt; &lt;/behavior&gt; &lt;/serviceBehaviors&gt; &lt;/behaviors&gt; &lt;bindings&gt; &lt;netTcpBinding&gt; &lt;binding name="portSharingBinding" portSharingEnabled="true" openTimeout="infinite" closeTimeout="infinite" receiveTimeout="infinite" sendTimeout="infinite" &gt; &lt;reliableSession inactivityTimeout="infinite" ordered="True" enabled="true" /&gt; &lt;security mode="None"&gt;&lt;/security&gt; &lt;/binding&gt; &lt;/netTcpBinding&gt; &lt;/bindings&gt; &lt;/system.serviceModel&gt; &lt;system.webServer&gt; &lt;/system.webServer&gt; &lt;system.diagnostics&gt; &lt;trace autoflush="true"&gt;&lt;/trace&gt; &lt;sources&gt; &lt;source name="System.ServiceModel" switchValue="Information, ActivityTracing" propagateActivity="true"&gt; &lt;listeners&gt; &lt;add name="traceListener" type="System.Diagnostics.XmlWriterTraceListener" initializeData="c:\log\Server3.svclog" /&gt; &lt;/listeners&gt; &lt;/source&gt; &lt;/sources&gt; &lt;/system.diagnostics&gt; &lt;/configuration&gt; </code></pre> <p>Here is the tracing log for the server:</p> <pre><code> &lt;E2ETraceEvent xmlns="http://schemas.microsoft.com/2004/06/E2ETraceEvent"&gt; &lt;System xmlns="http://schemas.microsoft.com/2004/06/windows/eventlog/system"&gt; &lt;EventID&gt;131075&lt;/EventID&gt; &lt;Type&gt;3&lt;/Type&gt; &lt;SubType Name="Error"&gt;0&lt;/SubType&gt; &lt;Level&gt;2&lt;/Level&gt; &lt;TimeCreated SystemTime="2012-05-30T18:11:10.9002453Z" /&gt; &lt;Source Name="System.ServiceModel" /&gt; &lt;Correlation ActivityID="{00000000-0000-0000-0000-000000000000}" /&gt; &lt;Execution ProcessName="Meridian Reservation System.vshost" ProcessID="10676" ThreadID="21" /&gt; &lt;Channel /&gt; &lt;Computer&gt;JIMMY-PC&lt;/Computer&gt; &lt;/System&gt; &lt;ApplicationData&gt; &lt;TraceData&gt; &lt;DataItem&gt; &lt;TraceRecord xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord" Severity="Error"&gt; &lt;TraceIdentifier&gt;http://msdn.microsoft.com/en-US/library/System.ServiceModel.Diagnostics.ThrowingException.aspx&lt;/TraceIdentifier&gt; &lt;Description&gt;Throwing an exception.&lt;/Description&gt; &lt;AppDomain&gt;Meridian Reservation System.vshost.exe&lt;/AppDomain&gt; &lt;Exception&gt; &lt;ExceptionType&gt;System.ServiceModel.CommunicationException, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089&lt;/ExceptionType&gt; &lt;Message&gt;The socket connection was aborted. This could be caused by an error processing your message or a receive timeout being exceeded by the remote host, or an underlying network resource issue. Local socket timeout was '10675199.02:48:05.4775807'.&lt;/Message&gt; &lt;StackTrace&gt; at System.ServiceModel.Channels.SocketConnection.BeginReadCore(Int32 offset, Int32 size, TimeSpan timeout, WaitCallback callback, Object state) at System.ServiceModel.Channels.SocketConnection.BeginRead(Int32 offset, Int32 size, TimeSpan timeout, WaitCallback callback, Object state) at System.ServiceModel.Channels.DelegatingConnection.BeginRead(Int32 offset, Int32 size, TimeSpan timeout, WaitCallback callback, Object state) at System.ServiceModel.Channels.SessionConnectionReader.BeginReceive(TimeSpan timeout, WaitCallback callback, Object state) at System.ServiceModel.Channels.SynchronizedMessageSource.ReceiveAsyncResult.PerformOperation(TimeSpan timeout) at System.ServiceModel.Channels.SynchronizedMessageSource.SynchronizedAsyncResult`1..ctor(SynchronizedMessageSource syncSource, TimeSpan timeout, AsyncCallback callback, Object state) at System.ServiceModel.Channels.SynchronizedMessageSource.ReceiveAsyncResult..ctor(SynchronizedMessageSource syncSource, TimeSpan timeout, AsyncCallback callback, Object state) at System.ServiceModel.Channels.SynchronizedMessageSource.BeginReceive(TimeSpan timeout, AsyncCallback callback, Object state) at System.ServiceModel.Channels.FramingDuplexSessionChannel.BeginReceive(TimeSpan timeout, AsyncCallback callback, Object state) at System.ServiceModel.Channels.FramingDuplexSessionChannel.TryReceiveAsyncResult..ctor(FramingDuplexSessionChannel channel, TimeSpan timeout, AsyncCallback callback, Object state) at System.ServiceModel.Channels.FramingDuplexSessionChannel.BeginTryReceive(TimeSpan timeout, AsyncCallback callback, Object state) at System.ServiceModel.Channels.ClientReliableChannelBinder`1.DuplexClientReliableChannelBinder`1.OnBeginTryReceive(TDuplexChannel channel, TimeSpan timeout, AsyncCallback callback, Object state) at System.ServiceModel.Channels.ReliableChannelBinder`1.TryReceiveAsyncResult.BeginInput(ReliableChannelBinder`1 binder, TChannel channel, TimeSpan timeout, AsyncCallback callback, Object state) at System.ServiceModel.Channels.ReliableChannelBinder`1.InputAsyncResult`1.CompleteTryGetChannel(IAsyncResult result, Boolean&amp;amp; complete) at System.ServiceModel.Channels.ReliableChannelBinder`1.InputAsyncResult`1.Start() at System.ServiceModel.Channels.ReliableChannelBinder`1.TryReceiveAsyncResult..ctor(ReliableChannelBinder`1 binder, TimeSpan timeout, MaskingMode maskingMode, AsyncCallback callback, Object state) at System.ServiceModel.Channels.ReliableChannelBinder`1.BeginTryReceive(TimeSpan timeout, MaskingMode maskingMode, AsyncCallback callback, Object state) at System.ServiceModel.Channels.ReliableChannelBinder`1.BeginTryReceive(TimeSpan timeout, AsyncCallback callback, Object state) at System.ServiceModel.Channels.ReliableDuplexSessionChannel.StartReceiving(Boolean canBlock) at System.ServiceModel.Channels.ReliableDuplexSessionChannel.HandleReceiveComplete(IAsyncResult result) at System.ServiceModel.Channels.ReliableDuplexSessionChannel.OnReceiveCompletedStatic(IAsyncResult result) at System.Runtime.Fx.AsyncThunk.UnhandledExceptionFrame(IAsyncResult result) at System.Runtime.AsyncResult.Complete(Boolean completedSynchronously) at System.Runtime.AsyncResult.Complete(Boolean completedSynchronously, Exception exception) at System.ServiceModel.Channels.ReliableChannelBinder`1.InputAsyncResult`1.OnInputComplete(IAsyncResult result) at System.ServiceModel.Channels.ReliableChannelBinder`1.InputAsyncResult`1.OnInputCompleteStatic(IAsyncResult result) at System.Runtime.Fx.AsyncThunk.UnhandledExceptionFrame(IAsyncResult result) at System.Runtime.AsyncResult.Complete(Boolean completedSynchronously) at System.Runtime.AsyncResult.Complete(Boolean completedSynchronously, Exception exception) at System.ServiceModel.Channels.FramingDuplexSessionChannel.TryReceiveAsyncResult.OnReceive(IAsyncResult result) at System.Runtime.Fx.AsyncThunk.UnhandledExceptionFrame(IAsyncResult result) at System.Runtime.AsyncResult.Complete(Boolean completedSynchronously) at System.Runtime.AsyncResult.Complete(Boolean completedSynchronously, Exception exception) at System.ServiceModel.Channels.SynchronizedMessageSource.SynchronizedAsyncResult`1.CompleteWithUnlock(Boolean synchronous, Exception exception) at System.ServiceModel.Channels.SynchronizedMessageSource.ReceiveAsyncResult.OnReceiveComplete(Object state) at System.ServiceModel.Channels.SessionConnectionReader.OnAsyncReadComplete(Object state) at System.ServiceModel.Channels.SocketConnection.FinishRead() at System.ServiceModel.Channels.SocketConnection.AsyncReadCallback(Boolean haveResult, Int32 error, Int32 bytesRead) at System.ServiceModel.Channels.OverlappedContext.CompleteCallback(UInt32 error, UInt32 numBytes, NativeOverlapped* nativeOverlapped) at System.Runtime.Fx.IOCompletionThunk.UnhandledExceptionFrame(UInt32 error, UInt32 bytesRead, NativeOverlapped* nativeOverlapped) at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP) &lt;/StackTrace&gt; &lt;ExceptionString&gt;System.ServiceModel.CommunicationException: The socket connection was aborted. This could be caused by an error processing your message or a receive timeout being exceeded by the remote host, or an underlying network resource issue. Local socket timeout was '10675199.02:48:05.4775807'. ---&amp;gt; System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host --- End of inner exception stack trace ---&lt;/ExceptionString&gt; &lt;InnerException&gt; &lt;ExceptionType&gt;System.Net.Sockets.SocketException, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089&lt;/ExceptionType&gt; &lt;Message&gt;An existing connection was forcibly closed by the remote host&lt;/Message&gt; &lt;StackTrace&gt; at System.ServiceModel.Channels.SocketConnection.BeginReadCore(Int32 offset, Int32 size, TimeSpan timeout, WaitCallback callback, Object state) at System.ServiceModel.Channels.SocketConnection.BeginRead(Int32 offset, Int32 size, TimeSpan timeout, WaitCallback callback, Object state) at System.ServiceModel.Channels.DelegatingConnection.BeginRead(Int32 offset, Int32 size, TimeSpan timeout, WaitCallback callback, Object state) at System.ServiceModel.Channels.SessionConnectionReader.BeginReceive(TimeSpan timeout, WaitCallback callback, Object state) at System.ServiceModel.Channels.SynchronizedMessageSource.ReceiveAsyncResult.PerformOperation(TimeSpan timeout) at System.ServiceModel.Channels.SynchronizedMessageSource.SynchronizedAsyncResult`1..ctor(SynchronizedMessageSource syncSource, TimeSpan timeout, AsyncCallback callback, Object state) at System.ServiceModel.Channels.SynchronizedMessageSource.ReceiveAsyncResult..ctor(SynchronizedMessageSource syncSource, TimeSpan timeout, AsyncCallback callback, Object state) at System.ServiceModel.Channels.SynchronizedMessageSource.BeginReceive(TimeSpan timeout, AsyncCallback callback, Object state) at System.ServiceModel.Channels.FramingDuplexSessionChannel.BeginReceive(TimeSpan timeout, AsyncCallback callback, Object state) at System.ServiceModel.Channels.FramingDuplexSessionChannel.TryReceiveAsyncResult..ctor(FramingDuplexSessionChannel channel, TimeSpan timeout, AsyncCallback callback, Object state) at System.ServiceModel.Channels.FramingDuplexSessionChannel.BeginTryReceive(TimeSpan timeout, AsyncCallback callback, Object state) at System.ServiceModel.Channels.ClientReliableChannelBinder`1.DuplexClientReliableChannelBinder`1.OnBeginTryReceive(TDuplexChannel channel, TimeSpan timeout, AsyncCallback callback, Object state) at System.ServiceModel.Channels.ReliableChannelBinder`1.TryReceiveAsyncResult.BeginInput(ReliableChannelBinder`1 binder, TChannel channel, TimeSpan timeout, AsyncCallback callback, Object state) at System.ServiceModel.Channels.ReliableChannelBinder`1.InputAsyncResult`1.CompleteTryGetChannel(IAsyncResult result, Boolean&amp;amp; complete) at System.ServiceModel.Channels.ReliableChannelBinder`1.InputAsyncResult`1.Start() at System.ServiceModel.Channels.ReliableChannelBinder`1.TryReceiveAsyncResult..ctor(ReliableChannelBinder`1 binder, TimeSpan timeout, MaskingMode maskingMode, AsyncCallback callback, Object state) at System.ServiceModel.Channels.ReliableChannelBinder`1.BeginTryReceive(TimeSpan timeout, MaskingMode maskingMode, AsyncCallback callback, Object state) at System.ServiceModel.Channels.ReliableChannelBinder`1.BeginTryReceive(TimeSpan timeout, AsyncCallback callback, Object state) at System.ServiceModel.Channels.ReliableDuplexSessionChannel.StartReceiving(Boolean canBlock) at System.ServiceModel.Channels.ReliableDuplexSessionChannel.HandleReceiveComplete(IAsyncResult result) at System.ServiceModel.Channels.ReliableDuplexSessionChannel.OnReceiveCompletedStatic(IAsyncResult result) at System.Runtime.Fx.AsyncThunk.UnhandledExceptionFrame(IAsyncResult result) at System.Runtime.AsyncResult.Complete(Boolean completedSynchronously) at System.Runtime.AsyncResult.Complete(Boolean completedSynchronously, Exception exception) at System.ServiceModel.Channels.ReliableChannelBinder`1.InputAsyncResult`1.OnInputComplete(IAsyncResult result) at System.ServiceModel.Channels.ReliableChannelBinder`1.InputAsyncResult`1.OnInputCompleteStatic(IAsyncResult result) at System.Runtime.Fx.AsyncThunk.UnhandledExceptionFrame(IAsyncResult result) at System.Runtime.AsyncResult.Complete(Boolean completedSynchronously) at System.Runtime.AsyncResult.Complete(Boolean completedSynchronously, Exception exception) at System.ServiceModel.Channels.FramingDuplexSessionChannel.TryReceiveAsyncResult.OnReceive(IAsyncResult result) at System.Runtime.Fx.AsyncThunk.UnhandledExceptionFrame(IAsyncResult result) at System.Runtime.AsyncResult.Complete(Boolean completedSynchronously) at System.Runtime.AsyncResult.Complete(Boolean completedSynchronously, Exception exception) at System.ServiceModel.Channels.SynchronizedMessageSource.SynchronizedAsyncResult`1.CompleteWithUnlock(Boolean synchronous, Exception exception) at System.ServiceModel.Channels.SynchronizedMessageSource.ReceiveAsyncResult.OnReceiveComplete(Object state) at System.ServiceModel.Channels.SessionConnectionReader.OnAsyncReadComplete(Object state) at System.ServiceModel.Channels.SocketConnection.FinishRead() at System.ServiceModel.Channels.SocketConnection.AsyncReadCallback(Boolean haveResult, Int32 error, Int32 bytesRead) at System.ServiceModel.Channels.OverlappedContext.CompleteCallback(UInt32 error, UInt32 numBytes, NativeOverlapped* nativeOverlapped) at System.Runtime.Fx.IOCompletionThunk.UnhandledExceptionFrame(UInt32 error, UInt32 bytesRead, NativeOverlapped* nativeOverlapped) at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP) &lt;/StackTrace&gt; &lt;ExceptionString&gt;System.Net.Sockets.SocketException (0x80004005): An existing connection was forcibly closed by the remote host&lt;/ExceptionString&gt; &lt;NativeErrorCode&gt;2746&lt;/NativeErrorCode&gt; &lt;/InnerException&gt; &lt;/Exception&gt; &lt;/TraceRecord&gt; &lt;/DataItem&gt; &lt;/TraceData&gt; &lt;/ApplicationData&gt; &lt;/E2ETraceEvent&gt; </code></pre> <p>Tracing for the client:</p> <pre><code> &lt;E2ETraceEvent xmlns="http://schemas.microsoft.com/2004/06/E2ETraceEvent"&gt; &lt;System xmlns="http://schemas.microsoft.com/2004/06/windows/eventlog/system"&gt; &lt;EventID&gt;131075&lt;/EventID&gt; &lt;Type&gt;3&lt;/Type&gt; &lt;SubType Name="Error"&gt;0&lt;/SubType&gt; &lt;Level&gt;2&lt;/Level&gt; &lt;TimeCreated SystemTime="2012-05-30T18:11:02.2488000Z" /&gt; &lt;Source Name="System.ServiceModel" /&gt; &lt;Correlation ActivityID="{54830e63-b315-4f74-9455-d9ba50c655c0}" /&gt; &lt;Execution ProcessName="w3wp" ProcessID="2716" ThreadID="6" /&gt; &lt;Channel /&gt; &lt;Computer&gt;IISWATSO&lt;/Computer&gt; &lt;/System&gt; &lt;ApplicationData&gt; &lt;TraceData&gt; &lt;DataItem&gt; &lt;TraceRecord xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord" Severity="Error"&gt; &lt;TraceIdentifier&gt;http://msdn.microsoft.com/en-US/library/System.ServiceModel.Diagnostics.ThrowingException.aspx&lt;/TraceIdentifier&gt; &lt;Description&gt;Throwing an exception.&lt;/Description&gt; &lt;AppDomain&gt;/LM/W3SVC/3/ROOT/MNetTcp-1-129828750305652000&lt;/AppDomain&gt; &lt;Exception&gt; &lt;ExceptionType&gt;System.ServiceModel.CommunicationException, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089&lt;/ExceptionType&gt; &lt;Message&gt;The socket connection was aborted. This could be caused by an error processing your message or a receive timeout being exceeded by the remote host, or an underlying network resource issue. Local socket timeout was '10675199.02:48:05.4775807'.&lt;/Message&gt; &lt;StackTrace&gt; at System.ServiceModel.Channels.SocketConnection.EndRead() at System.ServiceModel.Channels.TracingConnection.EndRead() at System.ServiceModel.Channels.SessionConnectionReader.OnAsyncReadComplete(Object state) at System.ServiceModel.Channels.TracingConnection.TracingConnectionState.ExecuteCallback() at System.ServiceModel.Channels.SocketConnection.AsyncReadCallback(Boolean haveResult, Int32 error, Int32 bytesRead) at System.Runtime.Fx.IOCompletionThunk.UnhandledExceptionFrame(UInt32 error, UInt32 bytesRead, NativeOverlapped* nativeOverlapped) at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP) &lt;/StackTrace&gt; &lt;ExceptionString&gt;System.ServiceModel.CommunicationException: The socket connection was aborted. This could be caused by an error processing your message or a receive timeout being exceeded by the remote host, or an underlying network resource issue. Local socket timeout was '10675199.02:48:05.4775807'. ---&amp;gt; System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host --- End of inner exception stack trace ---&lt;/ExceptionString&gt; &lt;InnerException&gt; &lt;ExceptionType&gt;System.Net.Sockets.SocketException, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089&lt;/ExceptionType&gt; &lt;Message&gt;An existing connection was forcibly closed by the remote host&lt;/Message&gt; &lt;StackTrace&gt; at System.ServiceModel.Channels.SocketConnection.EndRead() at System.ServiceModel.Channels.TracingConnection.EndRead() at System.ServiceModel.Channels.SessionConnectionReader.OnAsyncReadComplete(Object state) at System.ServiceModel.Channels.TracingConnection.TracingConnectionState.ExecuteCallback() at System.ServiceModel.Channels.SocketConnection.AsyncReadCallback(Boolean haveResult, Int32 error, Int32 bytesRead) at System.Runtime.Fx.IOCompletionThunk.UnhandledExceptionFrame(UInt32 error, UInt32 bytesRead, NativeOverlapped* nativeOverlapped) at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, Nativ </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload