powered by Jive Software

Error in openfire i can't send/get messages

Hello all, well the name of the topic say the problems, here is a log maybe it helps:

2008.03.10

13:33:54 Admin console: Using RSA certificates but they are not valid for the

hosted domain

2008.03.10

14:30:45 Allowing multiple S2S connections for each domain, without setting a

maximum idle timeout for these connections, is unrecommended! Either set

xmpp.server.session.allowmultiple to ‘false’ or change xmpp.server.session.idle

to a (large) positive value.

2008.03.10

14:31:33 SaslException

javax.security.sasl.SaslException:

PLAIN authentication failed [Caused by javax.security.sasl.SaslException:

PLAIN: user not authorized: cpd]

at

org.jivesoftware.openfire.sasl.SaslServerPlainImpl.evaluateResponse(SaslServerPl ainImpl.java:144)

at

org.jivesoftware.openfire.net.SASLAuthentication.handle(SASLAuthentication.java: 229)

at

org.jivesoftware.openfire.net.StanzaHandler.process(StanzaHandler.java:152)

at

org.jivesoftware.openfire.nio.ConnectionHandler.messageReceived(ConnectionHandle r.java:132)

at

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

at

org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(Abs tractIoFilterChain.java:299)

at

org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilte rChain.java:53)

at

org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived (AbstractIoFilterChain.java:648)

at

org.apache.mina.filter.codec.support.SimpleProtocolDecoderOutput.flush(SimplePro tocolDecoderOutput.java:58)

at

org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFi lter.java:173)

at

org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(Abs tractIoFilterChain.java:299)

at

org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilte rChain.java:53)

at

org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived (AbstractIoFilterChain.java:648)

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

at

org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(Executo rFilter.java:283)

at

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

at

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

at

org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:51)

at

java.lang.Thread.run(Unknown Source)

Caused

by: javax.security.sasl.SaslException: PLAIN: user not authorized: cpd

at

org.jivesoftware.openfire.sasl.SaslServerPlainImpl.evaluateResponse(SaslServerPl ainImpl.java:127)

… 18

more

2008.03.10

14:33:34 SaslException

javax.security.sasl.SaslException:

PLAIN authentication failed [Caused by javax.security.sasl.SaslException:

PLAIN: user not authorized: renato]

at

org.jivesoftware.openfire.sasl.SaslServerPlainImpl.evaluateResponse(SaslServerPl ainImpl.java:144)

at

org.jivesoftware.openfire.net.SASLAuthentication.handle(SASLAuthentication.java: 229)

at

org.jivesoftware.openfire.net.StanzaHandler.process(StanzaHandler.java:152)

at

org.jivesoftware.openfire.nio.ConnectionHandler.messageReceived(ConnectionHandle r.java:132)

at

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

at

org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(Abs tractIoFilterChain.java:299)

at

org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilte rChain.java:53)

at

org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived (AbstractIoFilterChain.java:648)

at

org.apache.mina.filter.codec.support.SimpleProtocolDecoderOutput.flush(SimplePro tocolDecoderOutput.java:58)

at

org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFi lter.java:173)

at

org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(Abs tractIoFilterChain.java:299)

at

org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilte rChain.java:53)

at

org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived (AbstractIoFilterChain.java:648)

at

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

at

org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(Executo rFilter.java:283)

at

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

at

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

at

org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:51)

at

java.lang.Thread.run(Unknown Source)

Caused

by: javax.security.sasl.SaslException: PLAIN: user not authorized: renato

at

org.jivesoftware.openfire.sasl.SaslServerPlainImpl.evaluateResponse(SaslServerPl ainImpl.java:127)

… 18

more

First thing you need to do is make sure the Openfire server has a valid FQDN. Then you need to make sure the self generated certificates match this name. This is critical to proper operation of the server. Right now the very first error says your certificates do not match the name of the server.