Share via

Databricks Libraries Installation SSL Error

Balwant Singh 55 Reputation points
2024-10-09T06:16:35.06+00:00

HELP ME TO SOLVE THIS ERROR- PLEASE ELABORATE IN DETAIL...

Library installation attempted on the driver node of cluster 0606-104958-63c5i7so and failed. Please refer to the following error message to fix the library or contact Databricks support. Error code: DRIVER_LIBRARY_INSTALLATION_FAILURE. Error message: org.apache.spark.SparkException: Process List(/bin/su, libraries, -c, bash /local_disk0/.ephemeral_nfs/cluster_libraries/python/python_start_clusterwide.sh /local_disk0/.ephemeral_nfs/cluster_libraries/python/bin/pip install 'great-expectations' --disable-pip-version-check) exited with code 1.   WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:992)'))': /packages/05/f8/beb300ec886bc4e7ff1fe50272b49f37dda9d21747be13b55893062ae1f7/great_expectations-1.1.0-py3-none-any.whl   WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:992)'))': /packages/05/f8/beb300ec886bc4e7ff1fe50272b49f37dda9d21747be13b55893062ae1f7/great_expectations-1.1.0-py3-none-any.whl   WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:992)'))': /packages/05/f8/beb300ec886bc4e7ff1fe50272b49f37dda9d21747be13b55893062ae1f7/great_expectations-1.1.0-py3-none-any.whl   WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:992)'))': /packages/05/f8/beb300ec886bc4e7ff1fe50272b49f37dda9d21747be13b55893062ae1f7/great_expectations-1.1.0-py3-none-any.whl   WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:992)'))': /packages/05/f8/beb300ec886bc4e7ff1fe50272b49f37dda9d21747be13b55893062ae1f7/great_expectations-1.1.0-py3-none-any.whl ERROR: Could not install packages due to an OSError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Max retries exceeded with url: /packages/05/f8/beb300ec886bc4e7ff1fe50272b49f37dda9d21747be13b55893062ae1f7/great_expectations-1.1.0-py3-none-any.whl (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:992)'))) i want to look into this error when we face this error i want to troubleshoot the environment and run them clear

Azure Databricks
Azure Databricks

An Apache Spark-based analytics platform optimized for Azure.


1 answer

Sort by: Most helpful
  1. Vidhya Sagar Karthikeyan 396 Reputation points Microsoft Employee
    2025-01-08T13:39:22.7666667+00:00

    @Anonymous I have seen the same in different customers. All these customers have onething in common , where they had an appliance in between Databricks and Internet which intercepts the traffic to do its job. When that happened the actual SSL certificate thumbprint is lost resulting in similar error. I'm not sure how secure your environment and what level of control you have. We can try couple of things.

    • Talk to your networking team and ask them to whitelist these URL's in their appliance so that its not intercepted
    • Add a custom route to your subnet to route this traffic directly to the Azure internet instead of the appliance.
    • Last and fast approach is to download manually from the URL and upload to the workspace storage. You can then install the library from the workspace storage.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.