Select to view content in your preferred language

ArcGIS API For Python in Databricks Error

48
0
3 hours ago
CamGillespie
New Contributor

I'm trying to get ArcGIS API For Python in Databricks working with my organization's instance of Databricks on Azure.

I realize that this is an error on the Databricks side to do with TLS/SSL configuration, but wondering if anyone has experienced something similar.

Reproduction of Notebook cell and error as I'm not sure how to post screenshots. I've tried the argument verify_cert=False and get the same error.

gis = GIS('https://myorg.maps.arcgis.com', username='username', password=password_agol)

#error
SSLError: Please set verify_cert=False due to encountered SSL error: HTTPSConnectionPool(host='myorg.maps.arcgis.com', port=443): Max retries exceeded with url: /sharing/rest/oauth2/authorize?response_type=code&client_id=pythonapi&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&state=mrwMds94TvRtzEJIWz0urbwjweZS6x&expiration=20160&allow_verification=false&style=dark&locale=en-US (Caused by SSLError(SSLEOFError(8, '[SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1000)')))

 @NicholasGiner1@HalleMartinucci - thanks for the original blog post on this 🙂 https://www.esri.com/arcgis-blog/products/api-python/announcements/new-use-the-arcgis-api-for-python... 

0 Kudos
0 Replies