Openfire 4.1.3 Mark the sessions IP as Inavlid after some time

I have openfire server running on CentOS7 and what happens is after some time it automatically turns the active sessions IPs to invalid and no traffic is reachable to the openfire. Although openfire show them connected as seen in screenshot below:

This issue fixes automatically when i restart the server but it pops up again after some time, and when it pops up, i see following SSL exception in logs:

Unsupported record version Unknown-47.115

This issue was originated on v4.1.1 and its now raising same error on v4.1.3. This happened after we migrated openfire to a new server and we are using the same DB that previous openfire uses.

Can anyone guide me with a possible fix for this problem?