Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
crypto/tls: Dial returns io.EOF #19874
If the server closes the connection before handshake completes, net/tls returns a non-descriptive error "EOF".
Also locally go version go1.8 darwin/amd64
What did you expect to see?
A more descriptive error similar to other errors from net/tls.
What did you see instead?
Of course there is nothing that can be done, the closing of underlying connection is fatal, but is it possible to improve the error?