SSL Error access portal using arcgis python api Pro 2.6

1065
1
09-30-2020 05:28 PM
WesleyLiddell1
New Contributor II

Trying to access portal using ArcGIS Python API

Has anyone been experiencing issues when trying to access portal through GIS when using Pro 2.6.x

Since installing this version the syntax below will fail when it previously worked.

from arcgis.gis import GIS

gis = GIS({PortalURL}, {USERNAMME}, {PASSWORD}) 

Error reported is

SSLError: Please set verify_cert=False due to encountered SSL error: HTTPSConnectionPool


If verify_cert=False is included it work fine.

All the servers have CA signed certificates and we see no SSL or certificate trust issues anywhere.

Anyone else experiencing this issue?

0 Kudos
1 Reply
MehdiPira1
Esri Contributor

Hi Wesley Liddell‌,

I had this issue too. It looks like there is a bug in ArcGIS API for Python.

It's been logged as a bug for an SSL connection from the Pro 2.6+ python environment.

BUG-000118241: The Verify_cert parameter is not honored when connec..