How to use a proxy server

 

Since Avocode 2.4.0 you can set your proxy in settings. Simply press cmd+comma (ctrl+comma on Windows/Linux) and set the Proxy Server Address:

If your proxy requires authentication, you will need to put your username and password into the url like this: "http://username:password@yourproxy.com:3128"

Guide for Plugins (environment variables)

Avocode Sketch & Photoshop plugins respect proxy server configuration set by HTTP_PROXY and HTTPS_PROXY environment variables. To use your proxy, you will need to set both of these variables to your proxy server address.

In the howto below, replace "http://yourproxy.com:3128" with the address to your proxy server. Note that values of both HTTP_PROXY and HTTPS_PROXY must be the same.

If your proxy requires authentication, you will need to your username and password into both HTTP(S)_PROXY variables before the domain like this: "http://username:password@yourproxy.com:3128"

Windows

  1. On Windows 8 press windows key and type "environment", select Edit environment variables for your account:

    On Windows 7 yous can find this in Control panel, see this document

  2. Create New user variable HTTP_PROXY, value will be your proxy url.

  3. Create a second variable HTTPS_PROXY - the value should be the same 

  4. Confirm your changes by pressing OK

These changes will work permanently until you delete these variables.

OS X

You will need to run these commands in Terminal to set both env variables:

launchctl setenv HTTP_PROXY http://yourproxy.com:3128
launchctl setenv HTTPS_PROXY http://yourproxy.com:3128

To make the change work permanently (even after reboot), add both lines to /etc/launchd.conf - this doesn't work on Yosemite though, you would need to create a custom apple script

Linux

You can run this command before launching Avocode in terminal:

export HTTP_PROXY=http://yourproxy.com:3128 HTTPS_PROXY=http://yourproxy.com:3128

To make the change permanent, you will need to change your ~/.profile (for bash) or other files depending on your terminal. See this stack exchange answer for more info.

 

Powered by Zendesk