Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues connecting through proxy #17

Open
gpalovchik opened this issue Aug 6, 2015 · 2 comments
Open

Issues connecting through proxy #17

gpalovchik opened this issue Aug 6, 2015 · 2 comments

Comments

@gpalovchik
Copy link

Does portalpy implement any more robust handshaking protocols to connect to ArcGIS Online through a proxy? Attempts to use urllib2 have failed. Only pycurl seems to be robust enough. Any suggestions on how to work around this issue are welcome. The base error thrown when trying to connect is, "URLError: <urlopen error [Errno 11004] getaddrinfo failed>".

@slibby
Copy link
Member

slibby commented Aug 6, 2015

@gpalovchik I think you'll find a lot of additional options and some enhanced support for connecting through a proxy here: https://github.com/Esri/ArcREST

@achapkowski will have further ideas.

@MikeMillerGIS
Copy link
Member

ArcRest supports proxys in its security handler, you just need to provide it with your username and password. For portalpy, you may have to set up the proxy in the https environment variable, or manually set it on the urlib2 using proxy handlers, but this takes some work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants