Subject: Unexspected disconnect on jabber.org
Hi Alex,
my app disconnects unexspected short after a successful login on jabber.org.
I tried other ejabbered based server (eg. jwchat.org or 12jabber.com) and my local ejabberd server.
Then I tried tigase based and openfire based servers and my local servers.
All of them behave ok. But with jabber.org I get:
<stream:error xmlns:stream="http://etherx.jabber.org/streams">
<not-authorized xmlns="urn:ietf:params:xml:ns:xmpp-streams" />
</stream:error>
I tied psi and spark against jabber.org to test my accounts, they work,
then I tried the Matrix 1.3.0.2 still the stream error.
Do you have an idea for that bahavior ? Thanks for your help.
Here is some logging:
my app disconnects unexspected short after a successful login on jabber.org.
I tried other ejabbered based server (eg. jwchat.org or 12jabber.com) and my local ejabberd server.
Then I tried tigase based and openfire based servers and my local servers.
All of them behave ok. But with jabber.org I get:
<stream:error xmlns:stream="http://etherx.jabber.org/streams">
<not-authorized xmlns="urn:ietf:params:xml:ns:xmpp-streams" />
</stream:error>
I tied psi and spark against jabber.org to test my accounts, they work,
then I tried the Matrix 1.3.0.2 still the stream error.
Do you have an idea for that bahavior ? Thanks for your help.
Here is some logging:
<?xml version="1.0"?>
<LoggingData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Username>maltin</Username>
<Date>2010-08-12T15:23:14.875+02:00</Date>
<Loggingtext>Open was successful
OnSendXml: ----------------------
<stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" to="jabber.org" version="1.0" >
END OnSendXML ---------------------------------------------
OnReceiveXml: ------------------
<stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" from="jabber.org" id="bcc3d8e67b6ec563" version="1.0" >
END OnReceiveXML ---------------------------------------------
OnReceiveXml: ------------------
<stream:features xmlns:stream="http://etherx.jabber.org/streams">
<starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls" />
<mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl">
<mechanism>CRAM-MD5</mechanism>
<mechanism>LOGIN</mechanism>
<mechanism>PLAIN</mechanism>
<mechanism>DIGEST-MD5</mechanism>
<mechanism>SCRAM-SHA-1</mechanism>
</mechanisms>
<compression xmlns="http://jabber.org/features/compress">
<method>zlib</method>
</compression>
<ver xmlns="urn:xmpp:features:rosterver">
<optional />
</ver>
</stream:features>
END OnReceiveXML ---------------------------------------------
OnSendXml: ----------------------
<auth mechanism="DIGEST-MD5" xmlns="urn:ietf:params:xml:ns:xmpp-sasl" />
END OnSendXML ---------------------------------------------
OnReceiveXml: ------------------
<challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">bm9uY2U9Ik5zclJjak94Yml1VGgyUStVQ2h6c3pWWmxaMUpVaThvN0IxSmI1dXIzNGM9IixyZWFsbT0iamFiYmVyLm9yZyIscW9wPSJhdXRoIixtYXhidWY9MTYzODQsY2hhcnNldD11dGYtOCxhbGdvcml0aG09bWQ1LXNlc3M=</challenge>
END OnReceiveXML ---------------------------------------------
OnSendXml: ----------------------
<response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dXNlcm5hbWU9Im1hbHRpbiIscmVhbG09ImphYmJlci5vcmciLG5vbmNlPSJOc3JSY2pPeGJpdVRoMlErVUNoenN6VlpsWjFKVWk4bzdCMUpiNXVyMzRjPSIsY25vbmNlPSI5NWQwODUyOGZjOWI4N2ZkY2ZhZDk5NGMzMjkzMWE3OTYxMDNlMGYzNDUzMjk1NDZhMTQ5NTZkMTc1YzRmMDJjIixuYz0wMDAwMDAwMSxxb3A9YXV0aCxkaWdlc3QtdXJpPSJ4bXBwL2phYmJlci5vcmciLGNoYXJzZXQ9dXRmLTgscmVzcG9uc2U9MTRkOWJlZjQ5YzhmMjRkMTU1YzFkNGE4NWZhYmM3ZmE=</response>
END OnSendXML ---------------------------------------------
OnReceiveXml: ------------------
<success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cnNwYXV0aD0yZmQ2NjI1N2MxOWVjOTdlZWRhYTg2YzZhNmU2ZDViNw==</success>
END OnReceiveXML ---------------------------------------------
OnLogin: Login is now
OnSendXml: ----------------------
<presence xmlns="jabber:client">
<status>chatty</status>
<priority>5</priority>
</presence>
END OnSendXML ---------------------------------------------
OnSendXml: ----------------------
<presence xmlns="jabber:client">
<show>chat</show>
<status>chatty</status>
<priority>5</priority>
</presence>
END OnSendXML ---------------------------------------------
OnSendXml: ----------------------
<stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" to="jabber.org" version="1.0" >
END OnSendXML ---------------------------------------------
OnReceiveXml: ------------------
<stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" from="jabber.org" id="2da91f05543c57c9" version="1.0" >
END OnReceiveXML ---------------------------------------------
OnReceiveXml: ------------------
<stream:features xmlns:stream="http://etherx.jabber.org/streams">
<bind xmlns="urn:ietf:params:xml:ns:xmpp-bind">
<required />
</bind>
<session xmlns="urn:ietf:params:xml:ns:xmpp-session" />
<compression xmlns="http://jabber.org/features/compress">
<method>zlib</method>
</compression>
<ver xmlns="urn:xmpp:features:rosterver">
<optional />
</ver>
</stream:features>
END OnReceiveXML ---------------------------------------------
OnSendXml: ----------------------
<iq id="MX_1" type="set" xmlns="jabber:client">
<bind xmlns="urn:ietf:params:xml:ns:xmpp-bind">
<resource>easychat</resource>
</bind>
</iq>
END OnSendXML ---------------------------------------------
OnReceiveXml: ------------------
<stream:error xmlns:stream="http://etherx.jabber.org/streams">
<not-authorized xmlns="urn:ietf:params:xml:ns:xmpp-streams" />
</stream:error>
END OnReceiveXML ---------------------------------------------
!! OnStreamError:
OnSendXml: ----------------------
</stream:stream>
END OnSendXML ---------------------------------------------
OnReceiveXml: ------------------
</stream:stream>
END OnReceiveXML ---------------------------------------------
!! OnError: System.IO.IOException: In die Übertragungsverbindung können keine Daten geschrieben werden: Auf das verworfene Objekt kann nicht zugegriffen werden.
Objektname: "System.Net.Sockets.Socket".. ---> System.ObjectDisposedException: Auf das verworfene Objekt kann nicht zugegriffen werden.
Objektname: "System.Net.Sockets.Socket".
bei System.Net.Sockets.Socket.EndSend(IAsyncResult asyncResult, SocketError& errorCode)
bei System.Net.Sockets.Socket.EndSend(IAsyncResult asyncResult)
bei System.Net.Sockets.NetworkStream.EndWrite(IAsyncResult asyncResult)
--- Ende der internen Ausnahmestapelüberwachung ---
bei System.Net.Sockets.NetworkStream.EndWrite(IAsyncResult asyncResult)
bei Matrix.Net.ClientSocket.#=qzVh4ZctyLdVfz1I7zo$lig==(IAsyncResult #=qSPpSJh_NOgCXCpvyRupZdw==) !!
OnClose: Matrix.EventArgs</Loggingtext>
</LoggingData>
<LoggingData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Username>maltin</Username>
<Date>2010-08-12T15:23:14.875+02:00</Date>
<Loggingtext>Open was successful
OnSendXml: ----------------------
<stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" to="jabber.org" version="1.0" >
END OnSendXML ---------------------------------------------
OnReceiveXml: ------------------
<stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" from="jabber.org" id="bcc3d8e67b6ec563" version="1.0" >
END OnReceiveXML ---------------------------------------------
OnReceiveXml: ------------------
<stream:features xmlns:stream="http://etherx.jabber.org/streams">
<starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls" />
<mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl">
<mechanism>CRAM-MD5</mechanism>
<mechanism>LOGIN</mechanism>
<mechanism>PLAIN</mechanism>
<mechanism>DIGEST-MD5</mechanism>
<mechanism>SCRAM-SHA-1</mechanism>
</mechanisms>
<compression xmlns="http://jabber.org/features/compress">
<method>zlib</method>
</compression>
<ver xmlns="urn:xmpp:features:rosterver">
<optional />
</ver>
</stream:features>
END OnReceiveXML ---------------------------------------------
OnSendXml: ----------------------
<auth mechanism="DIGEST-MD5" xmlns="urn:ietf:params:xml:ns:xmpp-sasl" />
END OnSendXML ---------------------------------------------
OnReceiveXml: ------------------
<challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">bm9uY2U9Ik5zclJjak94Yml1VGgyUStVQ2h6c3pWWmxaMUpVaThvN0IxSmI1dXIzNGM9IixyZWFsbT0iamFiYmVyLm9yZyIscW9wPSJhdXRoIixtYXhidWY9MTYzODQsY2hhcnNldD11dGYtOCxhbGdvcml0aG09bWQ1LXNlc3M=</challenge>
END OnReceiveXML ---------------------------------------------
OnSendXml: ----------------------
<response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dXNlcm5hbWU9Im1hbHRpbiIscmVhbG09ImphYmJlci5vcmciLG5vbmNlPSJOc3JSY2pPeGJpdVRoMlErVUNoenN6VlpsWjFKVWk4bzdCMUpiNXVyMzRjPSIsY25vbmNlPSI5NWQwODUyOGZjOWI4N2ZkY2ZhZDk5NGMzMjkzMWE3OTYxMDNlMGYzNDUzMjk1NDZhMTQ5NTZkMTc1YzRmMDJjIixuYz0wMDAwMDAwMSxxb3A9YXV0aCxkaWdlc3QtdXJpPSJ4bXBwL2phYmJlci5vcmciLGNoYXJzZXQ9dXRmLTgscmVzcG9uc2U9MTRkOWJlZjQ5YzhmMjRkMTU1YzFkNGE4NWZhYmM3ZmE=</response>
END OnSendXML ---------------------------------------------
OnReceiveXml: ------------------
<success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cnNwYXV0aD0yZmQ2NjI1N2MxOWVjOTdlZWRhYTg2YzZhNmU2ZDViNw==</success>
END OnReceiveXML ---------------------------------------------
OnLogin: Login is now
OnSendXml: ----------------------
<presence xmlns="jabber:client">
<status>chatty</status>
<priority>5</priority>
</presence>
END OnSendXML ---------------------------------------------
OnSendXml: ----------------------
<presence xmlns="jabber:client">
<show>chat</show>
<status>chatty</status>
<priority>5</priority>
</presence>
END OnSendXML ---------------------------------------------
OnSendXml: ----------------------
<stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" to="jabber.org" version="1.0" >
END OnSendXML ---------------------------------------------
OnReceiveXml: ------------------
<stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" from="jabber.org" id="2da91f05543c57c9" version="1.0" >
END OnReceiveXML ---------------------------------------------
OnReceiveXml: ------------------
<stream:features xmlns:stream="http://etherx.jabber.org/streams">
<bind xmlns="urn:ietf:params:xml:ns:xmpp-bind">
<required />
</bind>
<session xmlns="urn:ietf:params:xml:ns:xmpp-session" />
<compression xmlns="http://jabber.org/features/compress">
<method>zlib</method>
</compression>
<ver xmlns="urn:xmpp:features:rosterver">
<optional />
</ver>
</stream:features>
END OnReceiveXML ---------------------------------------------
OnSendXml: ----------------------
<iq id="MX_1" type="set" xmlns="jabber:client">
<bind xmlns="urn:ietf:params:xml:ns:xmpp-bind">
<resource>easychat</resource>
</bind>
</iq>
END OnSendXML ---------------------------------------------
OnReceiveXml: ------------------
<stream:error xmlns:stream="http://etherx.jabber.org/streams">
<not-authorized xmlns="urn:ietf:params:xml:ns:xmpp-streams" />
</stream:error>
END OnReceiveXML ---------------------------------------------
!! OnStreamError:
OnSendXml: ----------------------
</stream:stream>
END OnSendXML ---------------------------------------------
OnReceiveXml: ------------------
</stream:stream>
END OnReceiveXML ---------------------------------------------
!! OnError: System.IO.IOException: In die Übertragungsverbindung können keine Daten geschrieben werden: Auf das verworfene Objekt kann nicht zugegriffen werden.
Objektname: "System.Net.Sockets.Socket".. ---> System.ObjectDisposedException: Auf das verworfene Objekt kann nicht zugegriffen werden.
Objektname: "System.Net.Sockets.Socket".
bei System.Net.Sockets.Socket.EndSend(IAsyncResult asyncResult, SocketError& errorCode)
bei System.Net.Sockets.Socket.EndSend(IAsyncResult asyncResult)
bei System.Net.Sockets.NetworkStream.EndWrite(IAsyncResult asyncResult)
--- Ende der internen Ausnahmestapelüberwachung ---
bei System.Net.Sockets.NetworkStream.EndWrite(IAsyncResult asyncResult)
bei Matrix.Net.ClientSocket.#=qzVh4ZctyLdVfz1I7zo$lig==(IAsyncResult #=qSPpSJh_NOgCXCpvyRupZdw==) !!
OnClose: Matrix.EventArgs</Loggingtext>
</LoggingData>