powered by Jive Software

Problem with Openfire with version more than 4.6.3

Hello one more time, start in 4.6.4 after some minutes after all users are typing to each one, Openfire close all connection with message in console “invalid session/connection”

Follows 3 logs at to moment of shutdown by me to downgrade to 4.6.3.

error.log (4.8 KB)
info.log (25.7 KB)
warn.log (161.2 KB)

Without a way for developers to reproduce these issues, this is going to be hard to solve. The only thing that I can see in these log files that might be related, is:

2021.12.17 08:38:54 org.jivesoftware.openfire.nio.ConnectionHandler - Closing connection due to exception in session: (0x00000123: nio socket, server, null =>
java.io.IOException: Ligação reposta pelo peer
	at sun.nio.ch.FileDispatcherImpl.read0(Native Method) ~[?:1.8.0_292]

This, sadly, doesn’t say much, other than that Openfire thinks that the client abruptly closed its connection to Openfire (without logging off properly).

Everything else that I’m writing here is probably unrelated.

It seems that your database is having issues. Please refer to the vendor of your database to determine what the cause is.

Out of sort memory, consider increasing server sort buffer size

I’m also noticing that you’ve named your XMPP domain equal to an IP address: This is a recipe for disaster.

@RuiSimoes on which Linux distri your openfire is running?

Ubuntu Server 20.04.3 with 24GB RAM
Mysql 8.0.27
Openfire running in a closed environment without external access, with fixed users.

Mysql running with no errors

All Openfire versions prior 4.6.3 (inclusive) run perfectly


maybe a problem with encryption /certificates ?