Client connection failed exception

.NET library for SMPP protocol
Locked
prog019
Posts: 44
Joined: Mon Mar 02, 2009 2:12 pm

Client connection failed exception

Post by prog019 » Tue Jan 26, 2016 2:18 pm

Dears,

Sometimes I'm getting following exception in my logs:

ERROR: 50: (SmppServer) Client connection failed, Exception: System.ObjectDisposedException: Safe handle has been closed
at System.Runtime.InteropServices.SafeHandle.DangerousAddRef(Boolean& success)
at Microsoft.Win32.Win32Native.SetEvent(SafeWaitHandle handle)
at System.Threading.EventWaitHandle.Set()
at SMPPLib.Common.SmppSocket.OnConnected() in ...\SMPPLib\Common\SmppSocket.cs:line 675
at SMPPLib.Common.SmppSocket.StartConnectionAsServer(TcpClient tcpClient, X509Certificate sslCertificate, SslProtocols enabledSslProtocols) in ...\SMPPLib\Common\SmppSocket.cs:line 310
at SMPPLib.SmppServer.AcceptTcpClientCallback(IAsyncResult ar) in ...\SMPPLib\SmppServer.cs:line 242

Please help to understand and solve the problem
Locked