Describe the bug

Redis server with SSL / TLS enabled does not keep connections alive. Connection closed by server.

To reproduce

Unchanaged default redis.conf, with the following significant params.

timeout 0
tcp-keepalive 300

requirepass {{ redis_auth_password }}

port 0
tls-port 6379

tls-cert-file {{ server_cert_path }}
tls-key-file {{ server_key_path }}
tls-ca-cert-file {{ ca_cert_path }}

tls-auth-clients yes

Expected behavior

Expected to have connections stay open.

Additional information

Ubuntu 22.04.1

Comment From: Obeyed

It seems I am mistaken. I tried one more time without TLS and without password for Redis, and it still kills the connection from the server. I could swear that I had tried this before and it didn't kill the connection. Most likely some configuration with the server that is killing the connections. Closing this issue.

Redis server v=7.0.12