powered by Jive Software

Openfire server constantly crashes

As of last week our openfire server has been crashing every few hours, Which i can restart the server when i remote into the host machine and restart it. cleared the logs this morning and here is the results.

2013.03.25 08:29:53 org.jivesoftware.openfire.net.SocketReader - Closing session due to incorrect hostname in stream header. Host: 192.168.254.42. Connection: org.jivesoftware.openfire.net.SocketConnection@15b4432 socket: Socket[addr=/192.168.254.42,port=57261,localport=5269] session: null

2013.03.25 08:29:53 org.jivesoftware.openfire.net.SocketReader - Closing session due to incorrect hostname in stream header. Host: 192.168.254.42. Connection: org.jivesoftware.openfire.net.SocketConnection@820764 socket: Socket[addr=/192.168.254.42,port=57262,localport=5269] session: null

2013.03.25 10:16:20 org.jivesoftware.openfire.net.SocketReader - Closing session due to incorrect hostname in stream header. Host: 192.168.254.42. Connection: org.jivesoftware.openfire.net.SocketConnection@658001 socket: Socket[addr=/192.168.254.42,port=53539,localport=5269] session: null

2013.03.25 10:16:20 org.jivesoftware.openfire.net.SocketReader - Closing session due to incorrect hostname in stream header. Host: 192.168.254.42. Connection: org.jivesoftware.openfire.net.SocketConnection@13ed0e socket: Socket[addr=/192.168.254.42,port=53540,localport=5269] session: null

2013.03.25 14:19:26 org.jivesoftware.openfire.nio.ConnectionHandler - Closing session due to exception: (SOCKET, R: /192.168.254.215:1677, L: /192.168.254.42:5222, S: 0.0.0.0/0.0.0.0:5222)

org.apache.mina.filter.codec.ProtocolDecoderException: org.jivesoftware.openfire.nio.XMLNotWellFormedException: Character is invalid in: (Hexdump: 17 03 01 00 78 ED D6 C2 38 63 80 48 05 15 49 47 02 BE EB 61 28 AC 2D BD 7A AF 7C 98 C1 B3 D7 37 D0 B9 17 E6 3A 4D C9 A7 25 7F FD 02 7F 87 AC 04 4F D1 7E 3D C1 49 FE EE 44 F6 F8 45 4E 50 78 1C EF 81 7F 0E 2B 9B 8A 1C FF E8 46 51 53 D7 C2 CD 7F C3 97 2B 7D 6F E3 FD 26 78 C5 93 F2 D8 7F 67 66 59 88 B6 76 E5 81 24 A7 DF CA BD 14 54 98 CE D0 FA DD 63 77 EC 6E D2 60 09 0E 33 53)

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

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

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

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

at org.apache.mina.common.IoFilterAdapter.messageReceived(IoFilterAdapter.java:80)

at org.jivesoftware.openfire.plugin.RawPrintFilter.messageReceived(RawPrintFilter. java:66)

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

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

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

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

at org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(Execut orFilter.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: org.jivesoftware.openfire.nio.XMLNotWellFormedException: Character is invalid in:

at org.jivesoftware.openfire.nio.XMLLightweightParser.read(XMLLightweightParser.ja va:208)

at org.jivesoftware.openfire.nio.XMPPDecoder.doDecode(XMPPDecoder.java:41)

at org.apache.mina.filter.codec.CumulativeProtocolDecoder.decode(CumulativeProtoco lDecoder.java:133)

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

I am using 3.8.1 since 3.8 broke openfire and had to use a nightly build i upgraded this morning to the regular build in hopes it resolved the issue but it hasnt.

Hi

Could you solve the problem? I have the same problem…

We’re seeing these errors along with crashes but I can’t confirm the two are related. The crashing is getting bad though. It just started this week. We were on 3.7 and have upgraded to 3.8.1 in hopes that would solve it, but it hasn’t. We’re running in debug mode now hoping to find more information.