Local Storage Eiger Proxy Settings


Proxy connection settings have changed with the release of Local Storage Eiger 2.0.

These settings are passed to the Local Storage Eiger application at runtime, either through application command line arguments or inherited from the system's environment variables.

The different command line settings are now: proxy-url, proxy-user, proxy-password and pac-script.

Proxy URL

Set the proxy connection address to URL:

--proxy-url=URL

proxy-url must follow these rules:

proxyRules = schemeProxies[";"<schemeProxies>]
schemeProxies = [<urlScheme>"="]<proxyURIList>
urlScheme = "http" | "https" | "ftp" | "socks"
proxyURIList = <proxyURL>[","<proxyURIList>]
proxyURL = [<proxyScheme>"://"]<proxyHost>[":"<proxyPort>]

Proxy User

Set proxy authentication username to NAME:

--proxy-user=NAME 

Proxy Password

Set proxy authentication to PASSWORD:

--proxy-password=PASSWORD

Pac Script

If a pacScript is specified, it takes precedence over proxy_url.

Set URL or file path associated with the PAC file:

--pac-script=URL
or
--pac-script=/PATH/TO/SCRIPT
 

How to Set Command Line Arguments for a Windows Application

You can set command line arguments on a Windows machine by editing the Local Storage Eiger Windows shortcut.

 

  1. Right-click on the Eiger shortcut on your desktop.
    mceclip1.png
  2. In the Target field, add command line arguments after the executable path, as in the following example:
"C:\Users\user\appData\Local\Eiger-Local-Storage\Markforged Eiger Local Storage.exe" --proxy-url=http://your.proxy.url:80

 

 

How to Set Environment Variables

 

If any command line arguments are missing, the following environment variables will be used in their places:

  • PROXY_USER
  • PROXY_PASSWORD
  • PAC_SCRIPT
  • PROXY_URL or HTTPS_PROXY or HTTP_PROXY (fail in that order)

Windows

Windows 10 and Windows 8

  1. Open Advanced System Settings: Control Panel > System > Advanced System Settings.
  2. Click Environment Variables...
  3. In the section System Variables, select the environment variable you wish to edit; click Edit. If the environment variable does not exist, click New.
  4. In the Edit System Variable (or New System Variable) window, specify the value of the variable. Click OK. Close all remaining windows by clicking OK.
  5. Reopen the command prompt window and run your Java code.

Windows 7

  1. Open Advanced System Settings: Control Panel > System and Security > System > Advanced System Settings.
  2. Click Environment Variables...
  3. In the section System Variables, select the environment variable you wish to edit; click Edit. If the environment variable does not exist, click New.
  4. In the Edit System Variable (or New System Variable) window, specify the value of the variable. Click OK. Close all remaining windows by clicking OK.
  5. Reopen the command prompt window and run your Java code.

OS X

To set the PROXY_URL environment variable to my_proxy_url (using the Bash shell), open a terminal window, edit your .bash_profile, and add the following line:

export PROXY_URL=my_proxy_url

The other environment variables can be set in the same way.