Subject: Openfire connection problems
Hi
I am Using agsXMPP2008 sample(Miniclient) to connect my Openfire server,but it shows that wrong usename or wrong password.
when I use the Spark to connect the Openfire with Same Username and Password,it works fine. So,I changed the Client to xeus and NHIM.unfortunately,they doesn't anth the password too. Maybe I do something wrong,Plz correct me!
BTW:
my debug messages:
Plz help me~Thx~
I am Using agsXMPP2008 sample(Miniclient) to connect my Openfire server,but it shows that wrong usename or wrong password.
when I use the Spark to connect the Openfire with Same Username and Password,it works fine. So,I changed the Client to xeus and NHIM.unfortunately,they doesn't anth the password too. Maybe I do something wrong,Plz correct me!
BTW:
my debug messages:
SEND: <stream:stream to='ecall.com.hk' 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="127.0.0.1" version="1.0" xml:lang="en" id="8eb7c70b" >
RECV: <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>PLAIN</mechanism><mechanism>CRAM-MD5</mechanism><mechanism>DIGEST-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: <starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls" />
RECV: <proceed xmlns="urn:ietf:params:xml:ns:xmpp-tls" />
SEND: <stream:stream to='ecall.com.hk' 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="127.0.0.1" version="1.0" xml:lang="en" id="8eb7c70b" >
RECV: <stream:features xmlns:stream="http://etherx.jabber.org/streams"><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>PLAIN</mechanism><mechanism>CRAM-MD5</mechanism><mechanism>DIGEST-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">cmVhbG09IjEyNy4wLjAuMSIsbm9uY2U9IlhkVGgrTWo0azhoaGdMZ2Z4WVp4RVQ5KzFFdTJScFlpR05ESllySnEiLHFvcD0iYXV0aCIsY2hhcnNldD0idXRmLTgiLGFsZ29yaXRobT0ibWQ1LXNlc3Mi</challenge>
SEND: <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dXNlcm5hbWU9IjEzNzU1MTAwODY1IixyZWFsbT0iMTI3LjAuMC4xIixub25jZT0iWGRUaCtNajRrOGhoZ0xnZnhZWnhFVDkrMUV1MlJwWWlHTkRKWXJKcSIsY25vbmNlPSIyYThiNGVmZGNjZDBjZmU4ZTBmYzdhMWQ1ZTFkYTAzZWI5MjU2YWM2NzIxZjU1YmYyYzgwNjE1Y2U1YzhiYTA2IixuYz0wMDAwMDAwMSxxb3A9YXV0aCxkaWdlc3QtdXJpPSJ4bXBwL2VjYWxsLmNvbS5oayIsY2hhcnNldD11dGYtOCxyZXNwb25zZT03NGFkOGU1NmQ0ZDAxMjcwMGViODlkZGFkZGI3MzQ1Zg==</response>
RECV: <failure xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><not-authorized /></failure>
SEND: </stream:stream>
RECV: </stream:stream>
RECV: <stream:stream xmlns:stream="http://etherx.jabber.org/streams" from="127.0.0.1" version="1.0" xml:lang="en" id="8eb7c70b" >
RECV: <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>PLAIN</mechanism><mechanism>CRAM-MD5</mechanism><mechanism>DIGEST-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: <starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls" />
RECV: <proceed xmlns="urn:ietf:params:xml:ns:xmpp-tls" />
SEND: <stream:stream to='ecall.com.hk' 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="127.0.0.1" version="1.0" xml:lang="en" id="8eb7c70b" >
RECV: <stream:features xmlns:stream="http://etherx.jabber.org/streams"><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>PLAIN</mechanism><mechanism>CRAM-MD5</mechanism><mechanism>DIGEST-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">cmVhbG09IjEyNy4wLjAuMSIsbm9uY2U9IlhkVGgrTWo0azhoaGdMZ2Z4WVp4RVQ5KzFFdTJScFlpR05ESllySnEiLHFvcD0iYXV0aCIsY2hhcnNldD0idXRmLTgiLGFsZ29yaXRobT0ibWQ1LXNlc3Mi</challenge>
SEND: <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dXNlcm5hbWU9IjEzNzU1MTAwODY1IixyZWFsbT0iMTI3LjAuMC4xIixub25jZT0iWGRUaCtNajRrOGhoZ0xnZnhZWnhFVDkrMUV1MlJwWWlHTkRKWXJKcSIsY25vbmNlPSIyYThiNGVmZGNjZDBjZmU4ZTBmYzdhMWQ1ZTFkYTAzZWI5MjU2YWM2NzIxZjU1YmYyYzgwNjE1Y2U1YzhiYTA2IixuYz0wMDAwMDAwMSxxb3A9YXV0aCxkaWdlc3QtdXJpPSJ4bXBwL2VjYWxsLmNvbS5oayIsY2hhcnNldD11dGYtOCxyZXNwb25zZT03NGFkOGU1NmQ0ZDAxMjcwMGViODlkZGFkZGI3MzQ1Zg==</response>
RECV: <failure xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><not-authorized /></failure>
SEND: </stream:stream>
RECV: </stream:stream>
Plz help me~Thx~
This post was edited on 2009-02-02, 09:23 by bearstand.