laptop and a wrench

Bug

"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.

Zuletzt veröffentlicht: February 24, 2020 ArcGIS API for Python
Bug-ID-Nummer BUG-000128804
EingereichtFebruary 19, 2020
Zuletzt geändertJune 5, 2024
Gilt fürArcGIS API for Python
Gefunden in Version1.7.1
BetriebssystemWindows OS
Betriebssystemversion10.0 64 Bit
Behoben in Version2.0.0
StatusFixed

Workaround

  • 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.

Schritte zur Reproduzierung

Bug-ID: BUG-000128804

Software:

  • ArcGIS API for Python

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln