151 ER_TLS_CONNECT TLS handshake error.
An error occurred during the TLS handshake between the client and server. During the TLS handshake, the client and server negotiate which TLS version and cipher suites will be used, authenticate the identity of the server using the server certificate, and generate session encryption keys.
Ensure that both the client and server support the same TLS versions and cipher suites. Verify that the server certificate is correct.