Esri / arcgis-python-api

Documentation and samples for ArcGIS API for Python
https://developers.arcgis.com/python/
Apache License 2.0
1.89k stars 1.1k forks source link

arcgis..gisgis.GIS() crashing python when Portal domain has bad intermediate SSL certs #1888

Open ohughes16 opened 2 months ago

ohughes16 commented 2 months ago

Describe the bug We recently had an issue with our domain's intermediate SSL certificates. When instantiating a connection to our Portal using arcgis.gis.GIS(), it would cause the python environment on our server to crash rather than throw any kind of error.

To Reproduce

Expected behavior Any indication of not being able to log in to Portal would have been great rather than crashing the environment entirely.

Platform (please complete the following information):

achapkowski commented 2 months ago

Have you set verify_cert=False to ignore the invalid certificate?