<?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: JDBC Invalid SessionHandle with dbSQL Warehouse in Get Started Discussions</title>
    <link>https://community.databricks.com/t5/get-started-discussions/jdbc-invalid-sessionhandle-with-dbsql-warehouse/m-p/107817#M9699</link>
    <description>&lt;P&gt;I should have mentioned that we're using&amp;nbsp;&lt;SPAN&gt;AuthMech=3 and in the JDBC docs (&lt;A href="https://docs.databricks.com/en/_extras/documents/Databricks-JDBC-Driver-Install-and-Configuration-Guide.pdf" target="_blank" rel="noopener"&gt;Databricks JDBC Driver Installation and Configuration Guide&lt;/A&gt;) I don't see any relevant timeout settings that would apply in that scenario. Am I missing something?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 30 Jan 2025 13:26:58 GMT</pubDate>
    <dc:creator>pdiamond</dc:creator>
    <dc:date>2025-01-30T13:26:58Z</dc:date>
    <item>
      <title>JDBC Invalid SessionHandle with dbSQL Warehouse</title>
      <link>https://community.databricks.com/t5/get-started-discussions/jdbc-invalid-sessionhandle-with-dbsql-warehouse/m-p/106728#M9697</link>
      <description>&lt;P&gt;Connecting Pentaho Ctools dashboards to Databricks using JDBC to a serverless dbSQL Warehouse, it works fine on the initial load, but then if we leave it idle for awhile and come back we get this error:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[Databricks][JDBCDriver](500593) Communication link failure. Failed to connect to server. Reason: HTTP Response code: 400, Error message: INVALID_STATE: Invalid SessionHandle: SessionHandle&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It seems like maybe we need to set some sort of timeout configuration similar to what is suggested &lt;A href="https://community.databricks.com/t5/community-platform-discussions/facing-issues-with-databricks-jdbc-connectivity-after-idle-time/td-p/38473" target="_self"&gt;here&lt;/A&gt;&amp;nbsp;except I cannot find any documentation about what that would be for dbSQL. Has anyone encountered this?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2025 21:05:51 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/jdbc-invalid-sessionhandle-with-dbsql-warehouse/m-p/106728#M9697</guid>
      <dc:creator>pdiamond</dc:creator>
      <dc:date>2025-01-22T21:05:51Z</dc:date>
    </item>
    <item>
      <title>Re: JDBC Invalid SessionHandle with dbSQL Warehouse</title>
      <link>https://community.databricks.com/t5/get-started-discussions/jdbc-invalid-sessionhandle-with-dbsql-warehouse/m-p/106874#M9698</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/132493"&gt;@pdiamond&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;Connecting Pentaho Ctools dashboards to Databricks using JDBC to a serverless dbSQL Warehouse, it works fine on the initial load, but then if we leave it idle for awhile and come back we get this error:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[Databricks][JDBCDriver](500593) Communication link failure. Failed to connect to server. Reason: HTTP Response code: 400, Error message: INVALID_STATE: Invalid SessionHandle: SessionHandle&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It seems like maybe we need to set some sort of timeout configuration similar to what is suggested &lt;A href="https://community.databricks.com/t5/community-platform-discussions/facing-issues-with-databricks-jdbc-connectivity-after-idle-time/td-p/38473" target="_self"&gt;here&lt;/A&gt;&amp;nbsp;except I cannot find any documentation about what that would be for dbSQL. Has anyone encountered this?&lt;/SPAN&gt;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/132493"&gt;@pdiamond&lt;/a&gt;,&lt;BR /&gt;It sounds like you might need to configure a timeout setting for your JDBC connection to dbSQL Warehouse. While specific documentation for dbSQL isn't readily available, you can try adjusting the connection timeout settings in your JDBC URL or your application's connection pool configuration.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;David Scott&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jan 2025 06:08:27 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/jdbc-invalid-sessionhandle-with-dbsql-warehouse/m-p/106874#M9698</guid>
      <dc:creator>david598scott</dc:creator>
      <dc:date>2025-01-24T06:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: JDBC Invalid SessionHandle with dbSQL Warehouse</title>
      <link>https://community.databricks.com/t5/get-started-discussions/jdbc-invalid-sessionhandle-with-dbsql-warehouse/m-p/107817#M9699</link>
      <description>&lt;P&gt;I should have mentioned that we're using&amp;nbsp;&lt;SPAN&gt;AuthMech=3 and in the JDBC docs (&lt;A href="https://docs.databricks.com/en/_extras/documents/Databricks-JDBC-Driver-Install-and-Configuration-Guide.pdf" target="_blank" rel="noopener"&gt;Databricks JDBC Driver Installation and Configuration Guide&lt;/A&gt;) I don't see any relevant timeout settings that would apply in that scenario. Am I missing something?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2025 13:26:58 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/jdbc-invalid-sessionhandle-with-dbsql-warehouse/m-p/107817#M9699</guid>
      <dc:creator>pdiamond</dc:creator>
      <dc:date>2025-01-30T13:26:58Z</dc:date>
    </item>
  </channel>
</rss>

