Not logged in. · Lost password · Register
Forum: agsXMPP SDK Support RSS
Avatar
kylixsales #1
Member since Feb 2007 · 7 posts
Group memberships: Members
Show profile · Link to this post
Subject: cannot login WirldFire server?
i already registered a new account named "cityrock",the server is wildfire3.1.1,i use miniclient to connecting server,
but, most of time the cannot to success login , why?
below is the return Debug info:

other question, may you tel me how to catch the Onerror Event?

private sub xmppcon_onerror(s as sender, ex as exception) handles xmpp.onerrorhandler
end sub
is it?


SEND: <stream:stream to='10.66.117.210' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' version='1.0' xml:lang='gb2312'>
RECV: <stream:stream xmlns:stream="http://etherx.jabber.org/streams" version="1.0" from="bigital-soft" xml:lang="gb2312" id="fecfad16" >
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='10.66.117.210' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' version='1.0 xml:lang='gb2312'>
RECV: <stream:stream xmlns:stream="http://etherx.jabber.org/streams" version="1.0" from="bigital-soft" xml:lang="gb2312" id="fecfad16" >
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">cmVhbG09ImJpZ2l0YWwtc29mdCIsbm9uY2U9InNwRUJpQ1FRNHpwMDY5Uit0VmMxVkxPT0p5M3d1TWhEL2txM1dYN0oiLHFvcD0iYXV0aCIsY2hhcnNldD0idXRmLTgiLGFsZ29yaXRobT0ibWQ1LXNlc3Mi</challenge>
SEND: <response xmlns="urn:ietf:params:xml:ns:xmpp-sasl">dXNlcm5hbWU9ImNpdHlyb2NrIixyZWFsbT0iYmlnaXRhbC1zb2Z0Iixub25jZT0ic3BFQmlDUVE0enAwNjlSK3RWYzFWTE9PSnkzd3VNaEQva3EzV1g3SiIsY25vbmNlPSJmODk2YTU4ZDRmOGJmMGJlMGI5OWVkMDRhZjJlNTdiMzI3NWJhZWExYTVhYmE3N2M4OWYwMzQ5MTI5OGJiOTM3IixuYz0wMDAwMDAwMSxxb3A9YXV0aCxkaWdlc3QtdXJpPSJ4bXBwLzEwLjY2LjExNy4yMTAiLGNoYXJzZXQ9dXRmLTgscmVzcG9uc2U9NTY3NjY0NDk5YWE2Yzk3Yzk0ZTdlNjk0OTQ0OTI4YWI=</response>
RECV: <failure xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><not-authorized /></failure>
i Wish Win!
Avatar
Jabberer #2
Member since Feb 2006 · 249 posts
Group memberships: Members
Show profile · Link to this post
the server responds with an not authorized error, which means something is wrong with you account or password.
You should get an OnAuthError event from agsXMPP in this case and not the OnXmppError or OnError Event.
Software Developer
AG-Software
Avatar
kylixsales #3
Member since Feb 2007 · 7 posts
Group memberships: Members
Show profile · Link to this post
but i used other clientSoft such as GIM,Exdous,which was all right, the account is no problem;
how it is a wonder?when i uses same wildfire server and miniclient config in other PC to try login,it's no problem.

below is wildfire server's debug info:
2007.01.08 08:32:15 Connect Socket[addr=/127.0.0.1,port=1718,localport=5222]
2007.01.08 08:32:17 SaslException
javax.security.sasl.SaslException: DIGEST-MD5: digest response format violation. Mismatched URI: xmpp/127.0.0.1; expecting: xmpp/bigital-soft
at com.sun.security.sasl.digest.DigestMD5Server.validateClientResponse(Unknown Source)
at com.sun.security.sasl.digest.DigestMD5Server.evaluateResponse(Unknown Source)
at org.jivesoftware.wildfire.net.SASLAuthentication.handle(SASLAuthentication.java:251)
at org.jivesoftware.wildfire.net.SocketReadingMode.authenticateClient(SocketReadingMode.java:117)
at org.jivesoftware.wildfire.net.BlockingReadingMode.readStream(BlockingReadingMode.java:136)
at org.jivesoftware.wildfire.net.BlockingReadingMode.run(BlockingReadingMode.java:62)
at org.jivesoftware.wildfire.net.SocketReader.run(SocketReader.java:123)
at java.lang.Thread.run(Unknown Source)
2007.01.08 08:33:14 Created new LdapManager() instance, fields:
host: []
port: 389
usernamefield: uid
baseDN:
alternateBaseDN: null
nameField: cn
emailField: mail
adminDN: null
adminPassword: null
searchFilter: null
subTreeSearch:true
ldapDebugEnabled: false
sslEnabled: false
initialContextFactory: com.sun.jndi.ldap.LdapCtxFactory
connectionPoolEnabled: true
autoFollowReferrals: false
groupNameField: cn
groupMemberField: member
groupDescriptionField: description
posixMode: false
groupSearchFilter: null

2007.01.08 08:37:02 Connect Socket[addr=/127.0.0.1,port=1731,localport=5222]
2007.01.08 08:37:02 SaslException
javax.security.sasl.SaslException: DIGEST-MD5: digest response format violation. Mismatched URI: xmpp/127.0.0.1; expecting: xmpp/bigital-soft
at com.sun.security.sasl.digest.DigestMD5Server.validateClientResponse(Unknown Source)
at com.sun.security.sasl.digest.DigestMD5Server.evaluateResponse(Unknown Source)
at org.jivesoftware.wildfire.net.SASLAuthentication.handle(SASLAuthentication.java:251)
at org.jivesoftware.wildfire.net.SocketReadingMode.authenticateClient(SocketReadingMode.java:117)
at org.jivesoftware.wildfire.net.BlockingReadingMode.readStream(BlockingReadingMode.java:136)
at org.jivesoftware.wildfire.net.BlockingReadingMode.run(BlockingReadingMode.java:62)
at org.jivesoftware.wildfire.net.SocketReader.run(SocketReader.java:123)
at java.lang.Thread.run(Unknown Source)

thanks! thanks again Alex and jabberer.
i Wish Win!
Avatar
Alex #4
Member since Feb 2003 · 4245 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
this is weird,
Can you configure your server to a domain name? Using IP's with XMPP is not good. If your sever machine is a normal workstation then you can also use the workstation name as the xmpp domain.
Alexander Gnauck
AG-Software
Avatar
kylixsales #5
Member since Feb 2007 · 7 posts
Group memberships: Members
Show profile · Link to this post
Thanks!Alex
succeeded!how i worshipped you!
i Wish Win!
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 SDK Support RSS