Hello all,
I remote into a machine and there is a proxy in use. I cannot access AGOL via the ArcGIS API for Python.
I try:
from arcgis.gis import GIS
agol = GIS("home")
or
agol = GIS(url="", username="", password="")
but I consistently get the following error.
ConnectionError: A connection error has occurred: HTTPSConnectionPool(host='xxx.maps.arcgis.com', port=443): Max retries exceeded with url: /sharing/rest/portals/self (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x000001B61ED92730>: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond'))
Note, I can access just fine without the proxy from my laptop, but I must complete work on the remote machine that has the proxy. So accessing AGOL is not the issue, it is overcoming the proxy.
Any ideas?
Cheers,
~ learn.finaldraftmapping.com