CONFIG_LIVESTATUS_TCP_TLS changes from on to off, results in: Unhandled exception: 400: Site connection not initiated (EOF occurred in violation of protocol (_ssl.c:1129))

CMK version:
OMD - Open Monitoring Distribution Version 2.1.0p32.cee
OS version:
Rocky Linux release 8.9 (Green Obsidian)
Error message:
Unhandled exception: 400: Site connection not initiated (EOF occurred in violation of protocol (_ssl.c:1129)).
Output of “cmk --debug -vvn hostname”: (If it is a problem with checks or plugins)

We’re experiencing every so often this symptom: with CONFIG_LIVESTATUS_TCP_TLS=on, after applying pending changes the master site loses the connection to https://slave:6557 with the error above. To fix it the steps are:
omd stop && omd config set LIVESTATUS_TCP_TLS on && omd start
Until at some point in the future when it will happen again.
Any hints will be much appreciated, thanks.

Just an update, can it be selinux related? I’ve switched from enforcing to permissive, will keep an eye on it.