Not logged in. · Lost password · Register
Forum: agsXMPP RSS
Mini Client Error
Avatar
hans #1
Member since Jun 2007 · 2 posts
Group memberships: Members
Show profile · Link to this post
Subject: Mini Client Error
Hi,i cann't login localhost,but i use spark is successed!
Avatar
Alex #2
Member since Feb 2003 · 4449 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Hello,

Please post your XML log. And if possible also the logs from Spark.

Alex
Avatar
hans #3
Member since Jun 2007 · 2 posts
Group memberships: Members
Show profile · Link to this post
Subject: Mini Client Error
Alex,

   Fisrt i appreciate you.
   my question:
   1 : i use the spack,it can login my server,it's ip is 211.147.225.70,
   2 : but i use miniclient login ,JID : hans@211.147.225.70, but cann't login, if JID is hans@domain, it is ok. why?

 Debug:
 
  SEND: <stream:stream to=211.147.225.70' 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="hans2003" version="1.0" xml:lang="en" id="dd4e7106" >
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>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: <compress xmlns="http://jabber.org/protocol/compress"><method>zlib</method></compress>
RECV: <compressed xmlns="http://jabber.org/protocol/compress" />
SEND: <stream:stream to='192.168.1.2' 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="hans2003" version="1.0" xml:lang="en" id="dd4e7106" >
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><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">cmVhbG09ImhhbnMyMDAzIixub25jZT0ialppRUx2UkFMcHZWVFBvZ0xGNjRTWFNod0FRQlY4ck41d29JVG9ybCIscW9wPSJhdXRoIixjaGFyc2V0PXV0Zi04LGFsZ29yaXRobT1tZDUtc2Vzcw==</challenge>
SEND: <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dXNlcm5hbWU9InRlc3QiLHJlYWxtPSJoYW5zMjAwMyIsbm9uY2U9ImpaaUVMdlJBTHB2VlRQb2dMRjY0U1hTaHdBUUJWOHJONXdvSVRvcmwiLGNub25jZT0iNWM5Y2UzMmJlNTIxY2EwMjA0NWIxMjVlMGI1Mjk2NTEwYjA4ZTE5ZDA0OTM5NTBiYzdlZjA4NThlMmNlMTQyMiIsbmM9MDAwMDAwMDEscW9wPWF1dGgsZGlnZXN0LXVyaT0ieG1wcC8xOTIuMTY4LjEuMiIsY2hhcnNldD11dGYtOCxyZXNwb25zZT00NGI0ZGJmNDBjMGRhN2Q5MjM2ZWQ2MjY1NjJhY2M2NA==</response>
RECV: <failure xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><not-authorized /></failure>
SEND: </stream:stream>
Avatar
Jabberer #4
Member since Feb 2006 · 249 posts
Group memberships: Members
Show profile · Link to this post
yes this is possible and was discussed several times here in the this forum before.

Let me repeat:
The xmpp server domain is part of the SASL authentication in XMPP. When the server is configured to a domain and you use IP-Addresses in your Jid the authentication fails. And vice versa.
If other clients connect well to your server then they propably use the old jabber style authentication and not the SASL authentication.

if you server is configured to a domain then you must use this domain in yor Jids, if it's configured to an IP-Address then you must use IP-Addresses in your Jids.
Software Developer
AG-Software
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