Not logged in. · Lost password · Register
Forum: agsXMPP RSS
Avatar
vinodmalani #1
Member since Sep 2007 · 4 posts · Location: India
Group memberships: Members
Show profile · Link to this post
Subject: Authentication Problem
New to openfire/jabber development.

I am not able to authenticate user using miniclient. Using default mechanism to store user credentials for Openfire.

Below is the error description
(Error message from App)

A first chance exception of type 'System.Net.Sockets.SocketException' occurred in System.dll
A first chance exception of type 'System.Net.Sockets.SocketException' occurred in System.dll
OnXmppConnectionStateChanged: Connecting
IPV4
OnXmppConnectionStateChanged: Connected
OnXmppConnectionStateChanged: Securing
Cipher: Rc4 strength 128
Hash: Md5 strength 128
Key exchange: RsaSign strength 1024
Protocol: Tls
Is authenticated: True as server? False
IsSigned: True
Is Encrypted: True
Certificate revocation list checked: True
Remote cert was issued to CN=localhost.localdomain and is valid from 9/10/2007 11:20:16 PM until 8/14/2012 11:20:16 PM.
Can read: True, write True
Can timeout: True
OnXmppConnectionStateChanged: Authenticating
ca68755ad5b7df4ad339e6660039f54c
OnXmppConnectionStateChanged: Disconnected
OnClose



Error message from Openfire:

2007.09.12 16:56:08 SaslException
javax.security.sasl.SaslException: DIGEST-MD5: digest response format violation. Mismatched URI: xmpp/192.168.0.34; expecting: xmpp/localhost.localdomain
at com.sun.security.sasl.digest.DigestMD5Server.validateClientResponse(Unknown Source)
at com.sun.security.sasl.digest.DigestMD5Server.evaluateResponse(Unknown Source)
at org.jivesoftware.openfire.net.SASLAuthentication.handle(SASLAuthentication.java:281)
at org.jivesoftware.openfire.net.StanzaHandler.process(StanzaHandler.java:144)
at org.jivesoftware.openfire.nio.ConnectionHandler.messageReceived(ConnectionHandler.java:132)
at org.apache.mina.common.support.AbstractIoFilterChain$TailFilter.messageReceived(AbstractIoFilterChain.java:703)
at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:362)
at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilterChain.java:54)
at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:800)
at org.apache.mina.filter.codec.support.SimpleProtocolDecoderOutput.flush(SimpleProtocolDecoderOutput.java:62)
at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:200)
at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:362)
at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilterChain.java:54)
at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:800)
at org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorFilter.java:266)
at org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(ExecutorFilter.java:326)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Avatar
Alex #2
Member since Feb 2003 · 4317 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
I think you configured your server wrong.
In your log i see teh Ip adress: 192.168.0.34

Never use XMPP addresses for the server part in a Jabber Id.
Use always domains and it will work.
The xmpp server domain is part of the SASL digest md5 authentcation. So make sure the xmpp domain is configured correct in your server. You will find many threads about this topic here in the forums.

Alex
Avatar
vinodmalani #3
Member since Sep 2007 · 4 posts · Location: India
Group memberships: Members
Show profile · Link to this post
Thanks!!

Will try and let you know soon.

- Vinod
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