cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Administration & Architecture
Explore discussions on Databricks administration, deployment strategies, and architectural best practices. Connect with administrators and architects to optimize your Databricks environment for performance, scalability, and security.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Query has been timed out due to inactivity.

janhouf
New Contributor

Hi,

We're experiencing an issue with SQL Serverless Warehouse when running queries through the dbx-sql-connector in Python. The error we get is: "Query has been timed out due to inactivity."

This happens intermittently, even for queries that should complete quickly.

Has anyone encountered this before or knows how to prevent these timeouts?

There is attached file with the error.

 

Thanks!

1 REPLY 1

ozaaditya
New Contributor II

Possible reasons for this error may include:

  1. The warehouse is busy or waiting for compute resources.
  2. Connection or network issues.

Solutions to try:

  1. Increase the timeout duration and try again.

If the issue persists, please share the error message for further debugging.

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group