Weird TLS handshake error

Running the latest Hugo set up to do the magical SSL thingy (hugo server --tlsAuto with a bunch of other CLI parameters) results in https working fine without issues, BUT… I am getting one or two lines in the log that look like this:

http: TLS handshake error from EOF
http: TLS handshake error from EOF

The ports are random and don’t repeat when I stop the server and restart, and running sudo lsof -i -P -n | grep LISTEN doesn’t show these ports open. It’s always either one or two of these lines after the Press Ctrl+C to stop line of the regular hugo server command and it never repeats later on.

It does not impede my use of gohugo, but I wonder what makes these “handshake errors” coming up?

Do you see the same thing if you add --disableLiveReload to your flags?

Just refresh the browser manually after changing content while testing.

Yes, the same errors are coming up. The ports are very random, but all with 5 digits.