The server selected protocol version TLS10 is not accepted by client preferences [TLS12]¶
You may encounter this error or a similar error when attempting to connect to a dataset:
Connection failed: The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: "The server selected protocol version TLS10 is not accepted by client preferences [TLS12]".
This error can occur when connecting to a database that does not have TLS 1.2 enabled. As of April 2021, OpenJDK disabled TLS 1.0 and TLS 1.1 by default. If you recently encountered this error, it might be due to a recent Java upgrade on your database server.