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
When connecting to a remote server with an invalid tls cert, I should be told that the cert is the problem #1564
When you connect to a remote node using an invalid tls cert, the connection attempt will timeout after 20 seconds. The error message that the user sees is a generic "could not connect before the deadline" message, which doesn't help users identify the problem.
Users having trouble diagnosing connection issues
Intercept grpc and stop early if a bad tls handshake is encountered.