Subject: authentication issue
Have there been any issues with authentication for presence and messaging? It looks like I can authenticate to my jabber server, but every other action fails with a 401 error message -- see debug output below:
<stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" to="jabber.***" version="1.0" >
<stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" from="jabber.***" version="1.0" id="93843e48" >
<stream:features xmlns:stream="http://etherx.jabber.org/streams">
<mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl">
<mechanism>DIGEST-MD5</mechanism>
<mechanism>PLAIN</mechanism>
<mechanism>CRAM-MD5</mechanism>
</mechanisms>
<compression xmlns="http://jabber.org/features/compress">
<method>zlib</method>
</compression>
<bind xmlns="urn:ietf:params:xml:ns:xmpp-bind" />
<session xmlns="urn:ietf:params:xml:ns:xmpp-session" />
</stream:features>
<auth mechanism="DIGEST-MD5" xmlns="urn:ietf:params:xml:ns:xmpp-sasl" />
<challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl"> *** </challenge>
<response xmlns="urn:ietf:params:xml:ns:xmpp-sasl"> ***</response>
<success xmlns="urn:ietf:params:xml:ns:xmpp-sasl"> ***</success>
OnLogin
<presence type="subscribe" to="matrixtester102@jabber.***" id="MX_1" xmlns="jabber:client" />
<message to="matrixtester102@jabber.***" type="chat" xmlns="jabber:client">
<body>hello there</body>
</message>
<stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" to="jabber.***" version="1.0" >
<stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" from="jabber.***" version="1.0" id="93843e48" >
<stream:features xmlns:stream="http://etherx.jabber.org/streams">
<compression xmlns="http://jabber.org/features/compress">
<method>zlib</method>
</compression>
<bind xmlns="urn:ietf:params:xml:ns:xmpp-bind" />
<session xmlns="urn:ietf:params:xml:ns:xmpp-session" />
</stream:features>
<iq id="MX_2" type="set" xmlns="jabber:client">
<bind xmlns="urn:ietf:params:xml:ns:xmpp-bind">
<resource>Matrix Windows Phone</resource>
</bind>
</iq>
<presence type="error" to="jabber.***/93843e48" id="MX_1" xmlns="http://jabber.org/protocol/httpbind">
<error code="401" type="auth">
<not-authorized xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" />
</error>
</presence>
<message to="jabber.***/93843e48" type="error" xmlns="http://jabber.org/protocol/httpbind">
<body>hello there</body>
<error code="401" type="auth">
<not-authorized xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" />
</error>
</message>
<iq type="result" id="MX_2" to="jabber.***/93843e48" xmlns="http://jabber.org/protocol/httpbind">
<bind xmlns="urn:ietf:params:xml:ns:xmpp-bind">
<jid>matrixtester101@jabber.***/Matrix Windows Phone</jid>
</bind>
</iq>
<stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" to="jabber.***" version="1.0" >
<stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" from="jabber.***" version="1.0" id="93843e48" >
<stream:features xmlns:stream="http://etherx.jabber.org/streams">
<mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl">
<mechanism>DIGEST-MD5</mechanism>
<mechanism>PLAIN</mechanism>
<mechanism>CRAM-MD5</mechanism>
</mechanisms>
<compression xmlns="http://jabber.org/features/compress">
<method>zlib</method>
</compression>
<bind xmlns="urn:ietf:params:xml:ns:xmpp-bind" />
<session xmlns="urn:ietf:params:xml:ns:xmpp-session" />
</stream:features>
<auth mechanism="DIGEST-MD5" xmlns="urn:ietf:params:xml:ns:xmpp-sasl" />
<challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl"> *** </challenge>
<response xmlns="urn:ietf:params:xml:ns:xmpp-sasl"> ***</response>
<success xmlns="urn:ietf:params:xml:ns:xmpp-sasl"> ***</success>
OnLogin
<presence type="subscribe" to="matrixtester102@jabber.***" id="MX_1" xmlns="jabber:client" />
<message to="matrixtester102@jabber.***" type="chat" xmlns="jabber:client">
<body>hello there</body>
</message>
<stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" to="jabber.***" version="1.0" >
<stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" from="jabber.***" version="1.0" id="93843e48" >
<stream:features xmlns:stream="http://etherx.jabber.org/streams">
<compression xmlns="http://jabber.org/features/compress">
<method>zlib</method>
</compression>
<bind xmlns="urn:ietf:params:xml:ns:xmpp-bind" />
<session xmlns="urn:ietf:params:xml:ns:xmpp-session" />
</stream:features>
<iq id="MX_2" type="set" xmlns="jabber:client">
<bind xmlns="urn:ietf:params:xml:ns:xmpp-bind">
<resource>Matrix Windows Phone</resource>
</bind>
</iq>
<presence type="error" to="jabber.***/93843e48" id="MX_1" xmlns="http://jabber.org/protocol/httpbind">
<error code="401" type="auth">
<not-authorized xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" />
</error>
</presence>
<message to="jabber.***/93843e48" type="error" xmlns="http://jabber.org/protocol/httpbind">
<body>hello there</body>
<error code="401" type="auth">
<not-authorized xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" />
</error>
</message>
<iq type="result" id="MX_2" to="jabber.***/93843e48" xmlns="http://jabber.org/protocol/httpbind">
<bind xmlns="urn:ietf:params:xml:ns:xmpp-bind">
<jid>matrixtester101@jabber.***/Matrix Windows Phone</jid>
</bind>
</iq>
brent_r
Show profile
Link to this post