'Chat has crashed' | BETA 25.4.14.0 | Middle Tier
Posted: Fri Jan 09, 2026 4:29 pm
See unhandled exception I've been been receiving from Chat. I suspect this is similar to the occasional issue I'll get with disconnects in Middle Tier. In this particular instance, chat threw an exception but Open Dental did not. Please let me know if there is anything I can do on my end to keep this from happening.
Code: Select all
Error Encountered - 1/9/2026 4:20:09 PM
Unhandled exception : The underlying connection was closed: A connection that was expected to be kept alive was closed by the server.
System.Net.WebException
at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request)
at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest request)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at OpenDentBusiness.OpenDentalServer.ServiceMain.ProcessRequest(String dtoString) in C:\Development\Versioned\OpenDental\OpenDentBusiness\Web References\OpenDentalServer\Reference.cs:line 78
at DataConnectionBase.QueryMonitor.ProcessMonitoredPayload(Func`2 funcProcessPayload, String inputPayload)
at OpenDentBusiness.RemotingClient.SendAndReceiveRecursive(IOpenDentalServer service, String dtoString, Boolean hasConnectionLost) in C:\Development\Versioned\OpenDental\OpenDentBusiness\Remoting\RemotingClient.cs:line 370
at OpenDentBusiness.RemotingClient.SendAndReceive(DataTransferObject dto, Boolean hasConnectionLost) in C:\Development\Versioned\OpenDental\OpenDentBusiness\Remoting\RemotingClient.cs:line 357
at OpenDentBusiness.RemotingClient.ProcessGetObject[T](DtoGetObject dto, Boolean hasConnectionLost) in C:\Development\Versioned\OpenDental\OpenDentBusiness\Remoting\RemotingClient.cs:line 286
at OpenDentBusiness.Meth.GetObject[T](MethodBase methodBase, Object[] parameters) in C:\Development\Versioned\OpenDental\OpenDentBusiness\Remoting\Meth.cs:line 386
at OpenDentBusiness.ChatMsgs.GetNewSince(Int64 seqCountLast, Int64 userNum) in C:\Development\Versioned\OpenDental\OpenDentBusiness\Data Interface\ChatMsgs.cs:line 32
at OpenDental.FrmChat.dispatcherTimer_Tick(Object sender, EventArgs e) in C:\Development\Versioned\OpenDental\WpfOD\Frms\FrmChat.xaml.cs:line 829
at System.Windows.Threading.DispatcherTimer.FireTick(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
-------------------------------------------
Inner exception: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
System.IO.IOException
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
at System.Net.Security._SslStream.StartFrameHeader(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security._SslStream.StartReading(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security._SslStream.ProcessRead(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.TlsStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead)
-------------------------------------------
Inner exception: An existing connection was forcibly closed by the remote host
System.Net.Sockets.SocketException
at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)