Not logged in. · Lost password · Register
Forum: agsXMPP RSS
Can't authenticate
Avatar
bkaine #1
Member since May 2008 · 2 posts · Location: Winston-Salem, NC
Group memberships: Members
Show profile · Link to this post
Subject: MiniClient & Openfire
I am trying to test XMPP funcitionality to no avail...

I am using the MiniClientVB sample with the following client information:

txtJid.text = 'bkaine@im.flowauto.com'
txtPassword.text = '12345'

I am receiving the following in debug on MiniClient:

SEND: <stream:stream to='im.flowauto.com' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' version='1.0' xml:lang='en'>
RECV: <stream:stream xmlns:stream="http://etherx.jabber.org/streams" from="im" version="1.0" xml:lang="en" id="3f3fee02" >
RECV: <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>ANONYMOUS</mechanism><mechanism>CRAM-MD5</mechanism></mechanisms><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression><auth xmlns="http://jabber.org/features/iq-auth" /><register xmlns="http://jabber.org/features/iq-register" /></stream:features>
SEND: <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="DIGEST-MD5" />
RECV: <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cmVhbG09ImltLmZsb3dhdXRvLmNvbSIsbm9uY2U9ImlQZDNTRkp1cFJFcHh5cDFkQTdtSnUrYTlDcFlPdmJiNGVUNEs5OUYiLHFvcD0iYXV0aCIsY2hhcnNldD11dGYtOCxhbGdvcml0aG09bWQ1LXNlc3M=</challenge>
SEND: <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dXNlcm5hbWU9ImJrYWluZSIscmVhbG09ImltLmZsb3dhdXRvLmNvbSIsbm9uY2U9ImlQZDNTRkp1cFJFcHh5cDFkQTdtSnUrYTlDcFlPdmJiNGVUNEs5OUYiLGNub25jZT0iMDc2NDcxMWZkNmRlZDI5MTQ0ZjYyZTVhNmEzMDMzYzE5YmJhZDJiMDc2MGFlN2JkY2Y4MjU5NTY0MThiNmNkNiIsbmM9MDAwMDAwMDEscW9wPWF1dGgsZGlnZXN0LXVyaT0ieG1wcC9pbS5mbG93YXV0by5jb20iLGNoYXJzZXQ9dXRmLTgscmVzcG9uc2U9MWU5NTUzNDFhNzQ0NThmZmU3MGUzMmNmM2E4ZDhhZjY=</response>
RECV: <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cnNwYXV0aD1lM2MxMThiNzFmOTgzOTYxZDYxOGVkMzQ3ZWYzMTI5Yw==</success>
SEND: <stream:stream to='im.flowauto.com' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' version='1.0' xml:lang='en'>
RECV: <stream:stream xmlns:stream="http://etherx.jabber.org/streams" from="im" version="1.0" xml:lang="en" id="3f3fee02" >
RECV: <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>
SEND: <iq id="agsXMPP_1" type="set" to="im.flowauto.com"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource>MiniClient</resource></bind></iq>
RECV: <iq xmlns="jabber:client" from="im.flowauto.com" to="im/3f3fee02" type="error" id="agsXMPP_1"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource>MiniClient</resource></bind><error code="400" type="modify"><bad-request xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error></iq>


And I am receiving the following in the 'Warn' log of OpenFire:

2008.05.05 14:08:47 User tried to authenticate with this server using an unknown receipient:
<iq id="agsXMPP_2" type="set" to="im.flowauto.com" from="im/d3beca3a">
<bind xmlns="urn:ietf:params:xml:ns:xmpp-bind">
<resource>Home</resource>
</bind>
</iq>

My thought is that something is configured incorrectly on OpenFire but I have not idea what it is...
Avatar
Alex #2
Member since Feb 2003 · 4449 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
according to your log authentication succeeded.

I don't think the Openfire error log blongs to posted xml log, because you try to bind the resource MiniClient and it tells you that it s unable to bind the resource Home.

Alex
Avatar
bkaine #3
Member since May 2008 · 2 posts · Location: Winston-Salem, NC
Group memberships: Members
Show profile · Link to this post
I just copied and pasted the wrong block.

I was trying different things, resource included just to make sure I was interpreting results correctly.

2008.05.05 14:10:43 User tried to authenticate with this server using an unknown receipient:
<iq id="agsXMPP_1" type="set" to="im.flowauto.com" from="im/3f3fee02">
<bind xmlns="urn:ietf:params:xml:ns:xmpp-bind">
<resource>MiniClient</resource>
</bind>
</iq>

According to the way I read the debug log it failed

RECV: <iq xmlns="jabber:client" from="im.flowauto.com" to="im/3f3fee02" type="error" id="agsXMPP_1"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource>MiniClient</resource></bind><error code="400" type="modify"><bad-request xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error></iq>
Avatar
Alex #4
Member since Feb 2003 · 4449 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
we have not seen such Openfire problems before.
Which Openfire version are you running on your server?
Is the server public? Can you create an test account for me?

Alex
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:
Forum: agsXMPP RSS