TLS Handshake Error in Syslog

1. Caddy version (caddy version):

v2.1.1 h1:X9k1+ehZPYYrSqBvf/ocUgdLSRIuiNiMo7CvyGUQKeA=

2. How I run Caddy:

Ubuntu 18.04, Google Cloud

a. System environment:

Ubuntu 18.04

b. Command:

N/A

c. Service/unit/compose file:

N/A

d. My complete Caddyfile or JSON config:

paste config here, replacing this text
DO NOT REDACT anything except credentials

3. The problem I’m having:

It’s not a problem as such, however I am getting quite a few TLS Handshake errors for example;

caddy[719]: 2020/08/19 09:45:39 http: TLS handshake error from xx.xx.xx.xx:48587: EOF
caddy[719]: 2020/08/19 09:45:39 http: TLS handshake error from xx.xx.xx.xx:44521: EOF
caddy[719]: 2020/08/19 09:45:40 http: TLS handshake error from xx.xx.xx.xx60234: EOF
caddy[719]: 2020/08/19 09:45:42 http: TLS handshake error from xx.xx.xx.xx:57298: EOF
caddy[719]: 2020/08/19 09:45:42 http: TLS handshake error from xx.xx.xx.xx:42363: EOF

Is there any possible chance we can remove these from syslog at all? It fills it up quickly even though I know my SSL/HTTPS/TLS Certs are working fine.

I don’t even know what’s causing this. With the amount in the logs there isn’t really a reason to have this error even logged unless there is something seriously wrong somewhere?

4. Error messages and/or full log output:

n/a

5. What I already tried:

Rebooting Server
Set up new test server
Updated server
Certs up to date

6. Links to relevant resources:

n/a

Unfortunately it’s not possible to get rid of them. The Golang stdlib emits those, and Caddy has no opportunity to capture them.

They typically come from bots/crawlers failing to connect to your server, and are harmless. Just ignore them.

1 Like

This topic was automatically closed after 30 days. New replies are no longer allowed.