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

Use aamporter behind proxy? #14

Open
fridomac opened this issue Mar 18, 2015 · 4 comments
Open

Use aamporter behind proxy? #14

fridomac opened this issue Mar 18, 2015 · 4 comments

Comments

@fridomac
Copy link

We use a squid proxy to connect to the Internet here at work, and I am trying to use aamporter behind this proxy. When called normally, I only get:

Done caching updates.
Beginning Munki imports..
Done Munki imports.

at the end of the run, nothing is downloaded and no error message comes up.
When connecting through an open connection, everything works normally.

Is there a variable I have to set (proxy is set in System Preferences, .curlrc and .bashrc)?

Bye, Frido.

@timsutton
Copy link
Owner

Try setting http_proxy and https_proxy environment variables. Python's urllib2 module should respect these.

@fridomac
Copy link
Author

Both are set, when I unset them, I get an error message that aamporter can not connect to the adobe servers. Tried it on 2 different machines with 10.10., will try on a Mavericks machine, too.

@fridomac
Copy link
Author

fridomac commented Jan 5, 2016

It´s been awhile, but I tried on different OSes (10.9., 10.10., 10.11), the result is the same. Is there another workaround?

Bye, Frido.

@l2dy
Copy link
Contributor

l2dy commented Apr 8, 2016

I used env http_proxy=http://ip:port ./aamporter.py *.plist and it worked.

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