ERROR:databricks.sql.common.unified_http_client:HTTP request error: Retry request would exceed Retry policy max retry duration of 300 seconds

Offen
#709 5 Kommentare 1 Reaktion 1 zugewiesene Person Auf GitHub ansehen

@nikhilsuri-db arbeitet bereits daran.

Seit 30.12.2025.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Beschreibung

engineer-bot

My Code:

conn = sql.connect(server_hostname = server_hostname, http_path = http_path, access_token = access_token, _tls_no_verify=True)
cursor = conn.cursor()
select_sql="select * from tableA"
cursor.execute(select_sql)

Then console show error as follows:

cursor.execute(select_sql) start : 2025-11-18 09:11:09

**2025-11-18 09:12:18,717 WARNING:urllib3.connectionpool:Retrying (DatabricksRetryPolicy(total=9, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7f3cb45eb610>, 'Connection to dbstoragejjgoq3xz6zawu.blob.core.windows.net timed out. (connect timeout=60)')': /jobs/8235627411498389/sql/2025-11-18/01/results_2025-11-18T01:11:13Z_4c427180-1208-4c20-924a-f36a81468ec2?sig=&se=&sv=&spr=&sp=&sr=

2025-11-18 09:13:26,777 WARNING:urllib3.connectionpool:Retrying (DatabricksRetryPolicy(total=8, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7f3cb45eaf10>, 'Connection to dbstoragejjgoq3xz6zawu.blob.core.windows.net timed out. (connect timeout=60)')': /jobs/8235627411498389/sql/2025-11-18/01/results_2025-11-18T01:11:13Z_4c427180-1208-4c20-924a-f36a81468ec2?sig=&se=&sv=&spr=&sp=&sr=**

And Finally Got this error:

2025-11-18 09:19:18,996 ERROR:databricks.sql.common.unified_http_client:HTTP request error: Retry request would exceed Retry policy max retry duration of 300 seconds

May I ask, what are the possible solutions to fix this kind of error?

urllib3 v2.2.3
databricks-sql-python v4.1.4

Vorherrschende Sprache
Python
Sterne
233
Forks
152
Ø Merge
21 Std. 5 Min.
Gemergte PRs (30 T.)
10

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus databricks/databricks-sql-python

Alle Issues in databricks/databricks-sql-python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.