First user authentication error

Hello,

I can’t find my original thread but I have had a weird problem ever since I installed Openfire (was Wildfire when I first got it).

If there’s no one logged into the server and if I try to login (or anyone else), I get an authentication error exactly two times before I can connect. It’s not an error due to the jabber client (Pandion) because I get the error while trying to login to the http administration area as well. I know it sounds weird but I have failed to find out the cause (yes, I have checked the error logs).

Anyone has had this problem before?

Swaroop

And it isn’t the MySql timeout issue.

Hi Swaroop,

I never saw this problem, so I wonder if it helps to enable the debug log to get some information about what’s going on.

LG

Hello,

This is the log when I could successfully log in after the error

2007.12.03 07:23:24 XMPPCallbackHandler: swaroop authorized to swaroop

2007.12.03 07:23:24 DefaultAuthorizationPolicy: Checking authenID realm

2007.12.03 07:23:24 AuthorizationManager: Trying Default Policy.authorize(swaroop , swaroop)

2007.12.03 07:23:24 XMPPCallbackHandler: no username requested, using swaroop

2007.12.03 07:23:24 DefaultAuthorizationMapping: No realm found

2007.12.03 07:23:24 AuthorizationManager: Trying Default Mapping.map(swaroop)

2007.12.03 07:23:24 XMPPCallbackHandler: AuthorizeCallback

2007.12.03 07:23:24 XMPPCallbackHandler: PasswordCallback

2007.12.03 07:23:24 XMPPCallbackHandler: NameCallback: swaroop

2007.12.03 07:23:24 XMPPCallbackHandler: RealmCallback: srv1.rackedhosting.com

This is the part when it gave me an authentication erro. Please note that I logged into the htttp administration panel after the authentication error.

at org.jivesoftware.openfire.net.XMPPCallbackHandler.handle(XMPPCallbackHandler.ja va:75)

Caused by: java.io.IOException: org.jivesoftware.openfire.user.UserNotFoundException

at java.lang.Thread.run(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)

at org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(Execut orFilter.java:284)

at org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorFilter.java :240)

at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceive d(AbstractIoFilterChain.java:648)

at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilt erChain.java:53)

at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(Ab stractIoFilterChain.java:299)

at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecF ilter.java:162)

at org.apache.mina.filter.codec.support.SimpleProtocolDecoderOutput.flush(SimplePr otocolDecoderOutput.java:58)

at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceive d(AbstractIoFilterChain.java:648)

at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilt erChain.java:53)

at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(Ab stractIoFilterChain.java:299)

at org.apache.mina.common.support.AbstractIoFilterChain$TailFilter.messageReceived (AbstractIoFilterChain.java:570)

at org.jivesoftware.openfire.nio.ConnectionHandler.messageReceived(ConnectionHandl er.java:132)

at org.jivesoftware.openfire.net.StanzaHandler.process(StanzaHandler.java:156)

at org.jivesoftware.openfire.net.SASLAuthentication.handle(SASLAuthentication.java :280)

at com.sun.security.sasl.digest.DigestMD5Server.evaluateResponse(Unknown Source)

at com.sun.security.sasl.digest.DigestMD5Server.validateClientResponse(Unknown Source)

javax.security.sasl.SaslException:

DIGEST-MD5: IO error acquiring password [Caused by java.io.IOException:

org.jivesoftware.openfire.user.UserNotFoundException]

2007.12.03 07:21:25 SASLAuthentication: SaslException

2007.12.03 07:21:24 XMPPCallbackHandler: NameCallback: swaroop

2007.12.03 07:21:24 XMPPCallbackHandler: RealmCallback: srv1.rackedhosting.com

2007.12.02 15:36:48 XMPPCallbackHandler: swaroop authorized to swaroop

2007.12.02 15:36:47 DefaultAuthorizationPolicy: Checking authenID realm

2007.12.02 15:36:47 AuthorizationManager: Trying Default Policy.authorize(swaroop , swaroop)

2007.12.02 15:36:47 XMPPCallbackHandler: no username requested, using swaroop

2007.12.02 15:36:47 DefaultAuthorizationMapping: No realm found

2007.12.02 15:36:47 AuthorizationManager: Trying Default Mapping.map(swaroop)

2007.12.02 15:36:47 XMPPCallbackHandler: AuthorizeCallback

2007.12.02 15:36:47 XMPPCallbackHandler: PasswordCallback

2007.12.02 15:36:47 XMPPCallbackHandler: NameCallback: swaroop

2007.12.02 15:36:47 XMPPCallbackHandler: RealmCallback: srv1.rackedhosting.com

Hi,

I sitll face this issue. It could be great if someone could help resolve this