<?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: Problem: Databricks Apps timeout when connecting to SQL Warehouses, but same connection works lo in Warehousing &amp; Analytics</title>
    <link>https://community.databricks.com/t5/warehousing-analytics/problem-databricks-apps-timeout-when-connecting-to-sql/m-p/132707#M2253</link>
    <description>&lt;P&gt;It is a silent timeout. No error messages. We have tried both regular ware houses and serverless. The App has access to both ware houses. The ware houses started up.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;"&lt;SPAN&gt;If that's not the issue, you could also confirm that the SQL Warehouse is UC enabled. Or, the networking path between the App and the warehouse might be restricted somehow -- maybe try connecting to a Serverless SQL Warehouse as a test."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;This may be an issue. Let me look into it.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 22 Sep 2025 15:16:48 GMT</pubDate>
    <dc:creator>johnv</dc:creator>
    <dc:date>2025-09-22T15:16:48Z</dc:date>
    <item>
      <title>Problem: Databricks Apps timeout when connecting to SQL Warehouses, but same connection works locall</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/problem-databricks-apps-timeout-when-connecting-to-sql/m-p/132100#M2244</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;Problem:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;Databricks Apps timeout when connecting to SQL Warehouses, but same connection works locally. First Databricks App I've attempted to create.&amp;nbsp;&lt;/SPAN&gt; &lt;SPAN class=""&gt;&lt;SPAN&gt;Symptoms:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;Local Streamlit app works fine with Databricks SQL connector&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;Deployed Databricks App hangs while attempting connection to the data warehouse&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;Same&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;server_hostname&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;http_path&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;App runs as service principal, local runs as user account&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;Technical Details:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL class="lia-list-style-type-circle"&gt;&lt;LI&gt;&lt;SPAN&gt;Using&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;databricks-sql-connector&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;Python package&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;UL class="lia-list-style-type-circle"&gt;&lt;LI&gt;&lt;SPAN&gt;Unity Catalog (&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;makena_dev.default&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;UL class="lia-list-style-type-circle"&gt;&lt;LI&gt;&lt;SPAN&gt;Pro SQL Warehouse (not Serverless)&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;UL class="lia-list-style-type-circle"&gt;&lt;LI&gt;&lt;SPAN&gt;App has "Can Use" warehouse permissions, it also has access to the catalog, schema and specific table&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;UL class="lia-list-style-type-circle"&gt;&lt;LI&gt;&lt;SPAN&gt;Connection timeout after 30-90 seconds&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;One thing I noticed is if I log into the Databricks GUI, it says my catalog is "hive_metastore". I added some diags in the application and it also says "hive_metastore" is catalog when I run locally.&lt;BR /&gt;Feel free to ask additional questions!!!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Sep 2025 11:10:31 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/problem-databricks-apps-timeout-when-connecting-to-sql/m-p/132100#M2244</guid>
      <dc:creator>johnv</dc:creator>
      <dc:date>2025-09-16T11:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problem: Databricks Apps timeout when connecting to SQL Warehouses, but same connection works lo</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/problem-databricks-apps-timeout-when-connecting-to-sql/m-p/132489#M2249</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/184952"&gt;@johnv&lt;/a&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Do you have any error messages you can share, or is it a silent connection timeout? I assume you confirmed that the SQL Warehouse had started up? (they can take several minutes to start up sometimes) &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If that's not the issue, you could also confirm that the SQL Warehouse is UC enabled. Or, the networking path between the App and the warehouse might be restricted somehow -- maybe try connecting to a Serverless SQL Warehouse as a test.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;-James&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Sep 2025 18:04:30 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/problem-databricks-apps-timeout-when-connecting-to-sql/m-p/132489#M2249</guid>
      <dc:creator>jamesl</dc:creator>
      <dc:date>2025-09-18T18:04:30Z</dc:date>
    </item>
    <item>
      <title>Re: Problem: Databricks Apps timeout when connecting to SQL Warehouses, but same connection works lo</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/problem-databricks-apps-timeout-when-connecting-to-sql/m-p/132707#M2253</link>
      <description>&lt;P&gt;It is a silent timeout. No error messages. We have tried both regular ware houses and serverless. The App has access to both ware houses. The ware houses started up.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;"&lt;SPAN&gt;If that's not the issue, you could also confirm that the SQL Warehouse is UC enabled. Or, the networking path between the App and the warehouse might be restricted somehow -- maybe try connecting to a Serverless SQL Warehouse as a test."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;This may be an issue. Let me look into it.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Sep 2025 15:16:48 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/problem-databricks-apps-timeout-when-connecting-to-sql/m-p/132707#M2253</guid>
      <dc:creator>johnv</dc:creator>
      <dc:date>2025-09-22T15:16:48Z</dc:date>
    </item>
  </channel>
</rss>

