- Notifications
You must be signed in to change notification settings - Fork126
Open
Description
Getting the following error when trying to connect to our warehouse:
from databricks import sqlyour_token = '<token>'connection = sql.connect( server_hostname="<>cloud.databricks.com", http_path="/sql/1.0/warehouses/<>", access_token=your_token)MaxRetryError: HTTPSConnectionPool(host='<>.cloud.databricks.com', port=443): Max retries exceeded with url: /sql/1.0/warehouses/<> (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')])")))We have tried:
connection = sql.connect( server_hostname="<>.cloud.databricks.com", http_path="/sql/1.0/warehouses/<>", access_token=your_token, _tls_no_verify=True)and
connection = sql.connect( server_hostname="<>.cloud.databricks.com", http_path="/sql/1.0/warehouses/<>", access_token=your_token, _enable_ssl=False)Metadata
Metadata
Assignees
Labels
No labels