Read: connection reset by peer

2018-05-29T16:22:17.387011804Z 2018/05/29 16:22:17 http: TLS handshake error from xxx.xxx.xxx.xxx:53272: read tcp xxx.xxx.xxx.xxx:443->xxx.xxx.xxx.xxx:53272: read: connection reset by peer

Because caddy runs behind slb, slb does a health check on caddy using the tcp protocol but this error has occurred

Looks like the client cut the connection (connection reset by peer) in the middle of the TLS handshake. Try an openssl s_client -servername example.com -connect xxx.xxx.xxx.xxx:443 and see if Caddy’s misbehaving somehow, otherwise it’s worth investigating on the client’s end.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.