Not logged in. · Lost password · Register
Forum: MatriX and XmppDotNet RSS
Avatar
Hari Dudani #1
Member since Nov 2016 · 18 posts
Group memberships: Members
Show profile · Link to this post
Subject: disconnections errors
Hi,

I am using Matrix 2.0 .Net library. I've been having a lot of disconnections with production users.

(1) OnError: ClientSocket Connection request failed.

(2) OnStreamError: error condition SystemShutdown

(3) OnError: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine.
stacktrace: at System.Net.Sockets.NetworkStream.BeginWrite(Byte[] buffer, Int32 offset, Int32 size, AsyncCallback callback, Object state) at Matrix.Net.ClientSocket.Send(Byte[] bData)

(4) The XMPP Stream is inactive

(5) OnError: The write operation failed, see inner exception.
stacktrace: at System.Net.Security._SslStream.ProcessWrite(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security._SslStream.BeginWrite(Byte[] buffer, Int32 offset, Int32 count, AsyncCallback asyncCallback, Object asyncState)  at Matrix.Net.ClientSocket.Send(Byte[] bData)

Thanks,
Sanjeev
Avatar
Alex #2
Member since Feb 2003 · 4449 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
All your errors are due to a lost of a connection to your server.
You have to find out why your server closes the connection or why you loose it.
Avatar
Hari Dudani #3
Member since Nov 2016 · 18 posts
Group memberships: Members
Show profile · Link to this post
Thanks  Alex, I am creating 3 single tone connection with 3 diffrent user at the time of my web application start. It is written in Application_Start event   in Global.asax file. Some time, when IIS restart getting this error. It will resolve, once i restart IIS 2-3 times

Thanks,
Sanjeev
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters: