Page 1 of 1

Client connection failed exception

Posted: Tue Jan 26, 2016 2:18 pm
by prog019
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