1
XMPP Login block Socket and port Third party
Problem reported by carlos camara - 3/16/2023 at 9:33 AM
Submitted
Hi am using third party chat as pidgin or astra chat and both of them at the end of day is blocking the port 5222 or service XMPP, os every day a need to restart service XMPP so it can work i found this in log 
] </stream:stream>
[2023.03.16] 12:12:37.699 ERROR: System.ObjectDisposedException: Cannot access a disposed object.
[2023.03.16] Object name: 'System.Net.Sockets.Socket'.
[2023.03.16]    at System.Net.Sockets.Socket.EndSend(IAsyncResult asyncResult, SocketError& errorCode)
[2023.03.16]    at System.Net.Sockets.Socket.EndSend(IAsyncResult asyncResult)
[2023.03.16]    at MailService.Protocols.XMPP.Core.XmppSocketConnection.SendCallback(IAsyncResult ar)
[2023.03.16] 12:12:53.340 SENT: [xxx@xxx.com/Client] </stream:stream>

So i will like to know what can i do/ or if this a common problem

1 Reply

Reply to Thread
0
carlos camara Replied
<stream:error xmlns="http://etherx.jabber.org/streams"><host-unknown xmlns="urn:ietf:params:xml:ns:xmpp-streams" /></stream:error>
[2023.03.16] 11:32:41.366 ERROR: System.Exception: Client requested a domain we do not serve
[2023.03.16] 11:32:41.366 SENT: </stream:stream>
[2023.03.16] 11:32:41.366 CLIENT FAILED TO CONNECT: con_9
[2023.03.16] 11:32:53.241 RECV: <?xml version='1.0'?><stream:stream xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client' xml:lang='en-US' to='' version='1.0'><starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
[2023.03.16] 11:32:53.241 SENT: <?xml version='1.0'?><stream:stream from='' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' xml:lang='en' id='xmpp_618002' version='1.0'>
[2023.03.16] 11:32:53.241 SENT: <stream:features>  <auth xmlns='http://jabber.org/features/iq-auth'/>    <mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>    <mechanism>DIGEST-MD5</mechanism>    <mechanism>PLAIN</mechanism>    <mechanism>OAUTHBEARER</mechanism>  </mechanisms></stream:features>
[2023.03.16] 11:32:53.241 SENT: <stream:error xmlns="http://etherx.jabber.org/streams"><host-unknown xmlns="urn:ietf:params:xml:ns:xmpp-streams" /></stream:error>
[2023.03.16] 11:32:53.241 ERROR: System.Exception: Client requested a domain we do not serve
[2023.03.16] 11:32:53.241 SENT: </stream:stream>
[2023.03.16] 11:32:53.241 CLIENT FAILED TO CONNECT: con_10
[2023.03.16] 11:32:53.241 SENT: <proceed xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
[2023.03.16] 11:32:53.241 ERROR: System.ObjectDisposedException: Cannot access a disposed object.
[2023.03.16] Object name: 'System.Net.Sockets.Socket'.
[2023.03.16]    at System.Net.Sockets.Socket.get_LocalEndPoint()
[2023.03.16]    at MailService.Protocols.XMPP.Core.XmppServer.OnSSLConnection(XmppServerConnectionBase con, String sessId)
[2023.03.16]    at MailService.Protocols.XMPP.Core.XmppServerConnectionBase.streamParser_OnStreamElement(Object sender, Node e)

Reply to Thread