laptop and a wrench

Bug

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
Bug ID Number BUG-000153946
SubmittedNovember 23, 2022
Last ModifiedOctober 8, 2024
Applies toArcGIS API for Python
Version found2.0.1
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusAs Designed

Additional Information

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.

Workaround

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'}).

Steps to Reproduce

Bug ID: BUG-000153946

Software:

  • ArcGIS API for Python

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options