Frequent session disconnections from Openfire

We have upgraded Openfire to the version 4.6.0 recently. After the upgrade we are facing couple of issues.

  1. Taking long time to login to Openfire using Pidgin client.
  2. Sessions are getting disconnected from the servers very frequently. Below are the messages from log. What action need to be taken to over come this problem.

warn.log-2:2020.11.14 14:00:36 org.jivesoftware.openfire.nio.ConnectionHandler - Closing connection due to exception in session: (0x0000007E: nio socket, server, /10.20.51.178:56615 => 0.0.0.0/0.0.0.0:5222)
warn.log-3:2020.11.15 00:30:21 org.jivesoftware.openfire.nio.ConnectionHandler - Closing connection due to exception in session: (0x00000086: nio socket, server, /10.20.25.20:49670 => 0.0.0.0/0.0.0.0:5222)

From which version of Openfire did you upgrade from?

We have upgraded it from Openfire 4.1.5 to Openfire 4.6.0

Try disabling stream management. Try launching pidgin in debug mode and see if you can noticing when the hang takes places during the login process. Some timeout may be database or DNS or something else related. Review openfire’s all.log to see if any more details are happening with the terminated sessions.

We have dissabled the Stream Management. We are still facing the issue.