<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: com.microsoft.sqlserver.jdbc.SQLServerException:The driver could not establish a secure connection to SQL Server by using SSL encr. Error: &amp;quot;Unexpected rethrowing&amp;quot; in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/com-microsoft-sqlserver-jdbc-sqlserverexception-the-driver-could/m-p/23686#M16405</link>
    <description>&lt;P&gt;Yes then you are fine. The DBR must be 8.4+ for TLS 1.2&lt;/P&gt;</description>
    <pubDate>Thu, 21 Apr 2022 15:56:12 GMT</pubDate>
    <dc:creator>User16741082858</dc:creator>
    <dc:date>2022-04-21T15:56:12Z</dc:date>
    <item>
      <title>com.microsoft.sqlserver.jdbc.SQLServerException:The driver could not establish a secure connection to SQL Server by using SSL encr. Error: "Unexpected rethrowing"</title>
      <link>https://community.databricks.com/t5/data-engineering/com-microsoft-sqlserver-jdbc-sqlserverexception-the-driver-could/m-p/23680#M16399</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;there is a random error when pushing data from Databricks to a Azure SQL Database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone else also had this problem? Any ideas are appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See stacktrace attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Target: Azure SQL Database, Standard S6: 400 DTUs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Databricks Cluster config:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"spark_version": "9.1.x-scala2.12",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;"spark_conf": {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"spark.driver.extraJavaOptions": "-Dlog4j2.formatMsgNoLookups=true",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"spark.sql.session.timeZone": "UTC",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"spark.driver.maxResultSize": "6g",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"spark.executor.extraJavaOptions": "-Dlog4j2.formatMsgNoLookups=true",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"spark.databricks.io.cache.enabled": "true"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;},&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;"node_type_id": "Standard_E4ds_v4",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;"driver_node_type_id": "Standard_E8ds_v4",&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2022 14:55:48 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/com-microsoft-sqlserver-jdbc-sqlserverexception-the-driver-could/m-p/23680#M16399</guid>
      <dc:creator>Michael_Galli</dc:creator>
      <dc:date>2022-04-05T14:55:48Z</dc:date>
    </item>
    <item>
      <title>Re: com.microsoft.sqlserver.jdbc.SQLServerException:The driver could not establish a secure connection to SQL Server by using SSL encr. Error: "Unexpected rethrowing"</title>
      <link>https://community.databricks.com/t5/data-engineering/com-microsoft-sqlserver-jdbc-sqlserverexception-the-driver-could/m-p/23681#M16400</link>
      <description>&lt;P&gt;This is related to cipher algorithm config occasionally failing during the handshake. As an immediate workaround I'd recommend trying to update to the latest JDBC driver which has a newer JRE which has some&amp;nbsp;TLS cipher suite config updates which might mitigate the issue ( cf&amp;nbsp;&lt;A href="https://java.com/en/configure_crypto.html#TLSCipherSuiteOrder" alt="https://java.com/en/configure_crypto.html#TLSCipherSuiteOrder" target="_blank"&gt;https://java.com/en/configure_crypto.html#TLSCipherSuiteOrder&lt;/A&gt;&amp;nbsp;) and also set the TLS version explicitly to 1.1 in the connection string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the latest version - &lt;A href="https://github.com/microsoft/mssql-jdbc/releases/tag/v10.2.0" alt="https://github.com/microsoft/mssql-jdbc/releases/tag/v10.2.0" target="_blank"&gt;https://github.com/microsoft/mssql-jdbc/releases/tag/v10.2.0&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2022 17:01:29 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/com-microsoft-sqlserver-jdbc-sqlserverexception-the-driver-could/m-p/23681#M16400</guid>
      <dc:creator>User16741082858</dc:creator>
      <dc:date>2022-04-05T17:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: com.microsoft.sqlserver.jdbc.SQLServerException:The driver could not establish a secure connection to SQL Server by using SSL encr. Error: "Unexpected rethrowing"</title>
      <link>https://community.databricks.com/t5/data-engineering/com-microsoft-sqlserver-jdbc-sqlserverexception-the-driver-could/m-p/23682#M16401</link>
      <description>&lt;P&gt;Thx Pearl.. we already use mssql-jdbc 10.2.0 (from Maven library com.microsoft.azure:spark-mssql-connector_2.12:1.2.0)&lt;/P&gt;</description>
      <pubDate>Wed, 06 Apr 2022 08:02:16 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/com-microsoft-sqlserver-jdbc-sqlserverexception-the-driver-could/m-p/23682#M16401</guid>
      <dc:creator>Michael_Galli</dc:creator>
      <dc:date>2022-04-06T08:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: com.microsoft.sqlserver.jdbc.SQLServerException:The driver could not establish a secure connection to SQL Server by using SSL encr. Error: "Unexpected rethrowing"</title>
      <link>https://community.databricks.com/t5/data-engineering/com-microsoft-sqlserver-jdbc-sqlserverexception-the-driver-could/m-p/23683#M16402</link>
      <description>&lt;P&gt;@Pearl Ubaru​&amp;nbsp;&lt;/P&gt;&lt;P&gt;TLS 1.1 is already deprecated.&lt;/P&gt;&lt;P&gt;Are there any concerns from your side to set TLS 1.2 in the connection string?&lt;/P&gt;</description>
      <pubDate>Wed, 20 Apr 2022 06:07:57 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/com-microsoft-sqlserver-jdbc-sqlserverexception-the-driver-could/m-p/23683#M16402</guid>
      <dc:creator>Michael_Galli</dc:creator>
      <dc:date>2022-04-20T06:07:57Z</dc:date>
    </item>
    <item>
      <title>Re: com.microsoft.sqlserver.jdbc.SQLServerException:The driver could not establish a secure connection to SQL Server by using SSL encr. Error: "Unexpected rethrowing"</title>
      <link>https://community.databricks.com/t5/data-engineering/com-microsoft-sqlserver-jdbc-sqlserverexception-the-driver-could/m-p/23684#M16403</link>
      <description>&lt;P&gt;Hi @Michael Galli​. No there should be no concerns. What DBR version are you using?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2022 14:43:11 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/com-microsoft-sqlserver-jdbc-sqlserverexception-the-driver-could/m-p/23684#M16403</guid>
      <dc:creator>User16741082858</dc:creator>
      <dc:date>2022-04-21T14:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: com.microsoft.sqlserver.jdbc.SQLServerException:The driver could not establish a secure connection to SQL Server by using SSL encr. Error: "Unexpected rethrowing"</title>
      <link>https://community.databricks.com/t5/data-engineering/com-microsoft-sqlserver-jdbc-sqlserverexception-the-driver-could/m-p/23685#M16404</link>
      <description>&lt;P&gt;@Pearl Ubaru​&amp;nbsp;&lt;B&gt;DBR 9.1 LTS&lt;/B&gt;, because we are using com.microsoft.azure:spark-mssql-connector_2.12:1.2.0&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2022 14:58:24 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/com-microsoft-sqlserver-jdbc-sqlserverexception-the-driver-could/m-p/23685#M16404</guid>
      <dc:creator>Michael_Galli</dc:creator>
      <dc:date>2022-04-21T14:58:24Z</dc:date>
    </item>
    <item>
      <title>Re: com.microsoft.sqlserver.jdbc.SQLServerException:The driver could not establish a secure connection to SQL Server by using SSL encr. Error: "Unexpected rethrowing"</title>
      <link>https://community.databricks.com/t5/data-engineering/com-microsoft-sqlserver-jdbc-sqlserverexception-the-driver-could/m-p/23686#M16405</link>
      <description>&lt;P&gt;Yes then you are fine. The DBR must be 8.4+ for TLS 1.2&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2022 15:56:12 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/com-microsoft-sqlserver-jdbc-sqlserverexception-the-driver-could/m-p/23686#M16405</guid>
      <dc:creator>User16741082858</dc:creator>
      <dc:date>2022-04-21T15:56:12Z</dc:date>
    </item>
  </channel>
</rss>

