timsutton / aamporter

Utility to batch download Adobe Creative Suite/Cloud updates and optionally import them into a Munki repository.
MIT License
86 stars 14 forks source link

Use aamporter behind proxy? #14

Open fridomac opened 9 years ago

fridomac commented 9 years ago

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 commented 9 years ago

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

fridomac commented 9 years ago

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 commented 8 years ago

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 commented 8 years ago

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