Update match string

Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
Bryan Frimin
2026-01-16 08:02:37 -08:00
parent d74896fbd3
commit 603e54a9b7

View File

@@ -775,7 +775,11 @@ func (impl *Implm) runTrustCenterServer(
handler := acmeHandler.Handle(trustRouter)
ignoreTLSHandshakeErrors := func(level log.Level, msg string, attrs []log.Attr) bool {
return strings.Contains(msg, "http: TLS handshake error")
return strings.Contains(msg, "tls: no certificates configured") ||
strings.Contains(msg, "client sent an HTTP request to an HTTPS server") ||
strings.Contains(msg, "tls: client offered only unsupported versions") ||
strings.Contains(msg, "EOF") ||
strings.Contains(msg, " i/o timeout")
}
httpServerLogger := l.Named("", log.SkipMatch(ignoreTLSHandshakeErrors))
httpsServer := httpserver.NewServer(