Skip to content
This repository was archived by the owner on Mar 31, 2020. It is now read-only.

ArcRest "arcrest.agol.services.FeatureService.createReplica" works on one ArcGIS Online organization but not another #356

@asmyrk

Description

@asmyrk

ArcRest

I'm using the same exact script to create a replica and download a file geodatabase. All works well on one organization, but as soon as I modify to hit a different organization, it fails with the following error.

Runtime error
Traceback (most recent call last):
File "", line 24, in
File "C:\Python27\ArcGIS10.5\lib\site-packages\arcrest\security\security.py", line 1173, in init
urlInfo=urlInfo._replace(netloc= "%s.%s" % (portalSelf.urlKey, portalSelf.customBaseUrl))
File "C:\Python27\ArcGIS10.5\lib\site-packages\arcrest\manageorg_portals.py", line 331, in urlKey
self.__init()
File "C:\Python27\ArcGIS10.5\lib\site-packages\arcrest\manageorg_portals.py", line 235, in __init
proxy_url=self._proxy_url)
File "C:\Python27\ArcGIS10.5\lib\site-packages\arcrest\web_base.py", line 686, in _get
context=ctx)
File "C:\Python27\ArcGIS10.5\Lib\urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "C:\Python27\ArcGIS10.5\Lib\urllib2.py", line 429, in open
response = self._open(req, data)
File "C:\Python27\ArcGIS10.5\Lib\urllib2.py", line 447, in _open
'_open', req)
File "C:\Python27\ArcGIS10.5\Lib\urllib2.py", line 407, in _call_chain
result = func(*args)
File "C:\Python27\ArcGIS10.5\Lib\urllib2.py", line 1241, in https_open
context=self._context)
File "C:\Python27\ArcGIS10.5\Lib\urllib2.py", line 1198, in do_open
raise URLError(err)
URLError: <urlopen error [Errno 11001] getaddrinfo failed>

I can't figure out what's different between these organizations. All settings look the same. I can create replicas manually from these feature services. Is there an ArcGIS Online setting that would cause this issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions