<?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: Getting [08S01/500593] Can't connect to database - [Databricks][JDBCDriver](500593) Communicatio in Get Started Discussions</title>
    <link>https://community.databricks.com/t5/get-started-discussions/getting-08s01-500593-can-t-connect-to-database-databricks/m-p/135713#M10891</link>
    <description>&lt;P&gt;sorry for responding back couple of months...tried all the options...both Authmech=11 and 3 ,ss1=1,transportMode=http and&amp;nbsp;httpPath in the connection string...&lt;/P&gt;&lt;P&gt;Still getting&amp;nbsp;ERROR: [08S01/500593] Can't connect to database - [Databricks][JDBCDriver](500593) Communication link failure. Failed to connect to server. Reason: HTTP Response code: 401, Error message: Invalid Authorization&lt;/P&gt;&lt;P&gt;I am using User as Token and Password as tokenkey&lt;/P&gt;&lt;P&gt;While I am able to connect using Telnet...But getting the above-mentioned error connecting Databricks using JDBC driver.&lt;/P&gt;&lt;P&gt;any help would be appreciated.&lt;/P&gt;</description>
    <pubDate>Wed, 22 Oct 2025 14:39:31 GMT</pubDate>
    <dc:creator>Saubhik</dc:creator>
    <dc:date>2025-10-22T14:39:31Z</dc:date>
    <item>
      <title>Getting [08S01/500593] Can't connect to database - [Databricks][JDBCDriver](500593) Communication</title>
      <link>https://community.databricks.com/t5/get-started-discussions/getting-08s01-500593-can-t-connect-to-database-databricks/m-p/127146#M10453</link>
      <description>&lt;P&gt;I am getting below error connecting a databricks instance using JDBC driver .&lt;/P&gt;&lt;P&gt;ERROR: [08S01/500593] Can't connect to database - [Databricks][JDBCDriver](500593) Communication link failure. Failed to connect to server. Reason: HTTP Response code: 401, Error message: Invalid Authorization .&lt;/P&gt;&lt;P&gt;Is there anything setup/Network policy that we need to complete in Databricks to enable inbound requests?&lt;/P&gt;&lt;P&gt;We are able to connect databricks instance using DBeaver?&lt;/P&gt;</description>
      <pubDate>Fri, 01 Aug 2025 03:52:51 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/getting-08s01-500593-can-t-connect-to-database-databricks/m-p/127146#M10453</guid>
      <dc:creator>Saubhik</dc:creator>
      <dc:date>2025-08-01T03:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: Getting [08S01/500593] Can't connect to database - [Databricks][JDBCDriver](500593) Communicatio</title>
      <link>https://community.databricks.com/t5/get-started-discussions/getting-08s01-500593-can-t-connect-to-database-databricks/m-p/127154#M10455</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/156074"&gt;@Saubhik&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;You're trying to connect DBeaver to Databricks? If so, yes it is possible. Here's a detailed guide how to do that.&lt;/P&gt;&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/dev-tools/dbeaver" target="_blank" rel="noopener"&gt;DBeaver integration with Azure Databricks - Azure Databricks | Microsoft Learn&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It doesn't look like a network issue. JDBC client is able to reach Databricks. At first glance it looks like authentication issue. What type of authentication do you use in configuration?&lt;/P&gt;</description>
      <pubDate>Fri, 01 Aug 2025 06:56:39 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/getting-08s01-500593-can-t-connect-to-database-databricks/m-p/127154#M10455</guid>
      <dc:creator>szymon_dybczak</dc:creator>
      <dc:date>2025-08-01T06:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: Getting [08S01/500593] Can't connect to database - [Databricks][JDBCDriver](500593) Communicatio</title>
      <link>https://community.databricks.com/t5/get-started-discussions/getting-08s01-500593-can-t-connect-to-database-databricks/m-p/127155#M10456</link>
      <description>&lt;P&gt;Dbeaver is fine..We are able to access..&lt;/P&gt;&lt;P&gt;But not able to connect Databricks instance from JDBC driver.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Getting below error while tesing the connection...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ERROR: [08S01/500593] Can't connect to database - [Databricks][JDBCDriver](500593) Communication link failure. Failed to connect to server. Reason: HTTP Response code: 401, Error message: Invalid Authorization .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We are passing host, port, user ID(token), token pwd,&amp;nbsp;transportMode=http;ssl=1;AuthMech=3;httpPath=/sql/1.0 as configuration option...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is there anyting we are missing?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Aug 2025 07:49:40 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/getting-08s01-500593-can-t-connect-to-database-databricks/m-p/127155#M10456</guid>
      <dc:creator>Saubhik</dc:creator>
      <dc:date>2025-08-01T07:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: Getting [08S01/500593] Can't connect to database - [Databricks][JDBCDriver](500593) Communicatio</title>
      <link>https://community.databricks.com/t5/get-started-discussions/getting-08s01-500593-can-t-connect-to-database-databricks/m-p/127159#M10457</link>
      <description>&lt;P&gt;You need to provide us more details. The Databricks JDBC driver support following authentication types. Which one do you use?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="szymon_dybczak_0-1754035092668.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/18673iC3E80CA0F1C28FFB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="szymon_dybczak_0-1754035092668.png" alt="szymon_dybczak_0-1754035092668.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I think you have misconfigured something. For example, you're using&amp;nbsp;&lt;STRONG&gt;AuthMech=3,&amp;nbsp;&lt;/STRONG&gt;but no authentication types from below documentation are using that type of AuthMech (they use AuthMech=11).&amp;nbsp;&lt;BR /&gt;Here's an example of jdbc url from documentation&amp;nbsp; for OAuth 2.0 authentication type:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;jdbc:databricks://&amp;lt;server-hostname&amp;gt;:443;httpPath=&amp;lt;http-path&amp;gt;;AuthMech=11;Auth_Flow=0;Auth_AccessToken=&amp;lt;oauth-token&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/integrations/jdbc/authentication" target="_blank"&gt;Authentication settings for the Databricks JDBC Driver - Azure Databricks | Microsoft Learn&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Aug 2025 08:10:04 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/getting-08s01-500593-can-t-connect-to-database-databricks/m-p/127159#M10457</guid>
      <dc:creator>szymon_dybczak</dc:creator>
      <dc:date>2025-08-01T08:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: Getting [08S01/500593] Can't connect to database - [Databricks][JDBCDriver](500593) Communicatio</title>
      <link>https://community.databricks.com/t5/get-started-discussions/getting-08s01-500593-can-t-connect-to-database-databricks/m-p/135713#M10891</link>
      <description>&lt;P&gt;sorry for responding back couple of months...tried all the options...both Authmech=11 and 3 ,ss1=1,transportMode=http and&amp;nbsp;httpPath in the connection string...&lt;/P&gt;&lt;P&gt;Still getting&amp;nbsp;ERROR: [08S01/500593] Can't connect to database - [Databricks][JDBCDriver](500593) Communication link failure. Failed to connect to server. Reason: HTTP Response code: 401, Error message: Invalid Authorization&lt;/P&gt;&lt;P&gt;I am using User as Token and Password as tokenkey&lt;/P&gt;&lt;P&gt;While I am able to connect using Telnet...But getting the above-mentioned error connecting Databricks using JDBC driver.&lt;/P&gt;&lt;P&gt;any help would be appreciated.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Oct 2025 14:39:31 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/getting-08s01-500593-can-t-connect-to-database-databricks/m-p/135713#M10891</guid>
      <dc:creator>Saubhik</dc:creator>
      <dc:date>2025-10-22T14:39:31Z</dc:date>
    </item>
    <item>
      <title>Re: Getting [08S01/500593] Can't connect to database - [Databricks][JDBCDriver](500593) Communicatio</title>
      <link>https://community.databricks.com/t5/get-started-discussions/getting-08s01-500593-can-t-connect-to-database-databricks/m-p/135721#M10892</link>
      <description>&lt;P&gt;Hi Saubhik,&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Try copying the cacerts file to JDK (Eg: ~\OpenJDK&amp;lt;version&amp;gt;\lib\security) this will help ssl on connectivity which might related to 401 error.&lt;/LI&gt;&lt;LI&gt;Set PATH (Eg: PATH=~\OpenJDK&amp;lt;version&amp;gt;\bin;%PATH%)&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;LI&gt;Then try this jdbc format :&lt;BR /&gt;- jdbc:databricks://&amp;lt;hostname&amp;gt;:443/default;transportMode=http;ssl=1;httpPath=&amp;lt;Full path for sql protocal&amp;gt;;AuthMech=3;UID=token;PWD=&lt;/LI&gt;&lt;LI&gt;Set correct Java home if you have multiple versions (Eg: set JAVA_HOME=~\OpenJDK&amp;lt;version&amp;gt;)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Oct 2025 15:02:40 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/getting-08s01-500593-can-t-connect-to-database-databricks/m-p/135721#M10892</guid>
      <dc:creator>Chiran-Gajula</dc:creator>
      <dc:date>2025-10-22T15:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: Getting [08S01/500593] Can't connect to database - [Databricks][JDBCDriver](500593) Communicatio</title>
      <link>https://community.databricks.com/t5/get-started-discussions/getting-08s01-500593-can-t-connect-to-database-databricks/m-p/135753#M10893</link>
      <description>&lt;P&gt;I am trying to connect Databricks from Mainframe z/OS using JDBC driver and using below IBM Java version&amp;nbsp;&lt;/P&gt;&lt;P&gt;java version "11.0.26" 2025-01-21&lt;BR /&gt;IBM Semeru Runtime Certified Edition for z/OS 11.0.26.0 (build 11.0.26+4)&lt;BR /&gt;IBM J9 VM 11.0.26.0 (build z/OS-Release-11.0.26.0-b01, JRE 11 z/OS s390x-64-Bit Compressed References 20250204_344 (JIT enabled, AOT enabled)&lt;BR /&gt;OpenJ9 - 91e0d2a511b&lt;BR /&gt;OMR - 004424d5d94&lt;BR /&gt;IBM - 4e0e2df&lt;BR /&gt;JCL - 1cfe84b6cc2 based on jdk-11.0.26+4)&lt;/P&gt;&lt;P&gt;tried Auth_mech=3; Auth_flow=0; UID=token and Token value in connection string..&lt;/P&gt;&lt;P&gt;getting below error while connecting:&lt;/P&gt;&lt;P&gt;WARN - connect: SQL State08S01, code 500593&lt;BR /&gt;ERROR: [08S01/500593] Can't connect to database - [Databricks][JDBCDriver](500593) Communication link failure. Failed to connect to server. Reason: HTTP Response code: 401, Error message: Invalid Authorization.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Oct 2025 17:18:02 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/getting-08s01-500593-can-t-connect-to-database-databricks/m-p/135753#M10893</guid>
      <dc:creator>Saubhik</dc:creator>
      <dc:date>2025-10-22T17:18:02Z</dc:date>
    </item>
  </channel>
</rss>

