<p>I'm getting lots of TLS handshake errors in my pods:</p>
<pre><code>2023/04/19 05:06:38 http: TLS handshake error from 10.21.152.134:36134: EOF
</code></pre>
<p>as a result of a known issue introduced in go 1.17:</p>
<pre><code>https://github.com/kubernetes/kubernetes/issues/109022
https://github.com/golang/go/issues/50984
https://github.com/golang/go/issues/32406
</code></pre>
<p>Is there a way at least to suppress the logs?
Thanks!</p>

Tzvika Avni
<p>As this is a known issue, EOF errors seem to be related to a <a href="https://github.com/golang/go/issues/50984" rel="nofollow noreferrer">Go bug</a> and appear on <a href="https://github.com/kubernetes/kubernetes/issues/109022" rel="nofollow noreferrer">Kubernetes 1.23 and 1.24</a>  . This is not affecting any functional issues and these are generated from core kubernetes. We need to wait until a fix is suggested by kubernetes.   Can you try this work around to disable the TLS Handshake errors by following this <a href="https://kubernetes.github.io/ingress-nginx/user-guide/tls/#server-side-https-enforcement-through-redirect" rel="nofollow noreferrer">doc</a> .</p>
<blockquote>
<p>This can be disabled  using ssl-redirect: &quot;false&quot; in the NGINX config
map, or per-Ingress with the nginx.ingress.kubernetes.io/ssl-redirect:
&quot;false&quot; annotation in the particular resource.</p>
</blockquote>
<p>Refer to this <a href="https://stackoverflow.com/a/34889113/19230181">SO</a> by Sathya for a workaround and <a href="https://github.com/kyverno/kyverno/issues/6287" rel="nofollow noreferrer">Gitlink</a> for any updates on the logs or Error disabling.</p>
