Hi all,
I am suffereing the same issues ones that I have migrated to 4.6.6. I have tried with Beta 4.7 but no luck. Same issues. No issues with 4.6.3.
All seems that works properltly but after X minutes all of our clients start appearing as: “Invalid session/connection”
I have no cluster and diferent clients.
I tried to disabled all related with SSL but no luck:
Errors that I can see in logs:
org.jivesoftware.openfire.nio.ConnectionHandler - Closing connection due to exception in session: (0x00001099: nio socket, server, null => 0.0.0.0/0.0.0.0:5222)
javax.net.ssl.SSLHandshakeException: SSL handshake failed.
org.jivesoftware.openfire.nio.ConnectionHandler - Closing connection due to exception in session: (0x00001996: nio socket, server, null => 0.0.0.0/0.0.0.0:5222)
javax.net.ssl.SSLHandshakeException: SSL handshake failed.
But theses errors still happen when the system is working propertly.
The only way to solve is to change something in the client connections config just to trigger a restart ConnectionListener
022.01.04 11:26:04 INFO [Jetty-QTP-AdminConsole-6342]: org.jivesoftware.openfire.spi.ConnectionListener[socket_c2s] - Stopped.
2022.01.04 11:26:04 INFO [Jetty-QTP-AdminConsole-6342]: org.jivesoftware.openfire.spi.ConnectionListener[socket_c2s] - Started.
2022.01.04 11:26:04 INFO [Jetty-QTP-AdminConsole-6342]: org.jivesoftware.openfire.spi.ConnectionListener[socket_c2s] - Done restarting…
Ones I do this, clients start reconnecting again for another X minutes.
Any ideas about what will be the problem?.
Until find any solution is any way to restart ConnectionListener every X minutes?
Thanks,