cancel
Showing results for 
Search instead for 
Did you mean: 
Warehousing & Analytics
Engage in discussions on data warehousing, analytics, and BI solutions within the Databricks Community. Share insights, tips, and best practices for leveraging data for informed decision-making.
cancel
Showing results for 
Search instead for 
Did you mean: 

Intermittent connectivity issues between Power BI and Databricks

Malthe
Contributor III

We're experiencing connectivity issues between Power BI (refreshing a dataset) and Databricks.

On the Databricks side, we're using a SQL Warehouse (serverless), which reports queries timing out:

Query has been timed out due to inactivity.

On the Power BI side, we see the connection closing unexpectedly: 

Data source error: DataSource.Error: ODBC: ERROR [HY000] [Microsoft][ThriftExtension] (14) Unexpected response from server during a HTTP connection: connect() failed: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

These are relatively small queries, normally responding in two minutes or less.

What could explain this situation? It's normally working fine and we have made no changes.

Related issues:

2 REPLIES 2

Malthe
Contributor III

For reference, the issue began at 13/12/2025, 02:43 UTC, and ended (last failure) at 19:43 UTC, 17 hours later.

We did nothing to alleviate the issue and the SQL Warehouse seemed to operate normally except when the issue began and concluded when there seems to have been less activity:

Screenshot 2025-12-14 at 10.09.47.pngMicrosoft has not reported any issues on their Power BI status page. Previously, we've been able to resolve a similar issue by switching from a serverless to classic warehouse, suggesting that indeed the issue lies with Databricks.

emma_s
Databricks Employee
Databricks Employee

Hi, 
There are a few things that could cause the issues you've outlined:

  1. Temporary resource scarcity (compute, network bandwidth, or concurrency limits on the warehouse) can lead to queries taking longer than usual or connections being dropped unexpectedly—even for small queries.
  2. The errors reference Thrift/ODBC, suggesting the issue may sometimes be within the gateway (Power BI Gateway) or driver stack, especially if running locally or in a virtualized environment. If Power BI or its Gateway has been restarted, updated, or is over-utilized, driver sessions may drop unexpectedly.
  3. Occasional Azure or AWS cloud maintenance or network events can disrupt serverless Databricks endpoint connectivity. These are typically short-lived but may cause the symptoms you see.

Short-Term Troubleshooting

  • Review Warehouse Event Logs: Look for corresponding error or warning events around query timeout and Power BI access attempts.
  • Monitor Network Health: Use network monitoring tools or test manual ODBC connections from the Power BI host to Databricks to rule out endpoint or internet issues.

Longer-Term Mitigation Steps

  • Increase Client Timeout Settings: In Power BI (and Databricks), raise query and inactivity timeout thresholds to tolerate brief network or resume delays.
  • Schedule Warehouse Warming: If feasible, start the SQL Warehouse ahead of scheduled Power BI refreshes to guarantee readiness.
  • Update Drivers/Gateways: Ensure you have the latest ODBC driver version and that Power BI Gateway is up to date and healthy.
  • Review Regional Status: Check with your cloud provider for any announcements or incidents in the target region.