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

Đang mở
#709 5 bình luận 1 reaction 1 người được giao Xem trên GitHub

@nikhilsuri-db đang làm issue này rồi.

Từ ngày 30/12/2025.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

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

Ngôn ngữ chính
Python
Star
233
Fork
152
Merge trung bình
21 giờ 5 phút
Pull request đã merge (30 ngày)
10

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của databricks/databricks-sql-python

Tất cả issue của databricks/databricks-sql-python

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.