laptop and a wrench

Bogue

Unable to connect to ArcGIS Online through a forward proxy using ArcGIS API for Python 2.0.1 with the parameters proxy_host and proxy_port.

ArcGIS API for Python
Numéro d’ID de bogue BUG-000153946
EnvoiNovember 23, 2022
Dernière modificationOctober 8, 2024
S’applique àArcGIS API for Python
Version trouvée2.0.1
Système d’exploitationWindows OS
Version du système d’exploitation10.0 64 Bit
StatutAs Designed

Informations supplémentaires

The proxy_port and proxy_host are deprecated in favor of the proxy parameter and use that parameter instead. It does not work in future releases.

Solution de contournement

Use the proxy argument to configure individual requests to any request method: gis = GIS(url="https://cantechsupport.maps.arcgis.com", username="xxxt", password="xxxx", proxy={'http':'http://127.0.0.1:8888','https':'http://127.0.0.1:8888'}).

Étapes pour reproduire

ID de bogue: BUG-000153946

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