laptop and a wrench

Bogue

"UnboundLocalError: local variable 'resp' referenced before assignment..." when Logging in to Portal for ArcGIS with the ArcGIS API for Python, when Extended Protection is on, in an IWA Environment.

Dernière publication: February 24, 2020 ArcGIS API for Python
Numéro d’ID de bogue BUG-000128804
EnvoiFebruary 19, 2020
Dernière modificationJune 5, 2024
S’applique àArcGIS API for Python
Version trouvée1.7.1
Système d’exploitationWindows OS
Version du système d’exploitation10.0 64 Bit
Version de correction2.0.0
StatutFixed

Solution de contournement

  • There's a setting in the IIS where one can turn the extended protection on or off. When this is off, one is able to login to the portal using the ArcGIS API for Python.
  • Go to the portal's web adapter from IIS. Under the advanced settings of the Windows .Authentication. Turn "Extended Protection" Off (IIS > portal web adapter > double click Authentication > Windows Authentication).
  • Turning it off allows one to login, but we are not certain of the implications of the same.

Étapes pour reproduire

ID de bogue: BUG-000128804

Logiciel:

  • ArcGIS API for Python

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement