[SR-Users] What does "tls.reload" actually do?

Sebastian Damm sdamm at pascom.net
Tue Aug 24 13:58:05 CEST 2021


Hi,

I noticed a strange behavior on some of our proxy servers, all running Kamailio 5.3.8. After running for some time (weeks), our monitoring system sporadically starts reporting errors. The check connects via tls and registers to an Asterisk behind the proxy server. When this happens, the Kamailio log shows the following line:

ERROR: tls [tls_util.h:42]: tls_err_ret(): TLS accept:error:1409441B:SSL routines:ssl3_read_bytes:tlsv1 alert decrypt error

When restarting Kamailio, the problem goes away only to come back after some weeks uptime again.

On one host, I tried to find something using kamcmd, and I don't know why but I also issued "tls.reload". And from that point, the monitoring system has not reported the system as faulty anymore. I repeated the same thing on other hosts when the problem occured there, all with the same result. "tls.reload" helps. But from the documentation, I don't know why.

Does anybody have an explanation for it?

Regards,
Sebastian




More information about the sr-users mailing list