Work behind a proxy
The Perfecto Connect executable includes a proxy detection mechanism that identifies when the network connection to the Perfecto Lab is using a network proxy. It automatically uses the proxy settings of your operating system when needed, including settings defined through a Proxy Automatic Configuration (PAC) file. This will be transparent to you in most cases. However, if:
-
Your network employs an authenticated proxy. In this case, you need to supply your proxy's username and password to the Perfecto Connect executable.
When starting a Perfecto Connect session behind an authenticated proxy without supplying the proper credentials, the following error message appears: Proxy requires authentication
Supply the proxy username and password using the outgoingproxyuser and outgoingproxypass parameters in the command line, as shown in the following code snippet.
Copy./perfectoconnect start -c demo.perfectomobile.com -s eyJhbGciOiJSU...qrA --outgoingproxyuser=MYUSER --outgoingproxypass=MYPASS
-
You run on a Linux system and your network is configured to use a PAC file. In this case, you need to define the HTTP_PROXY_PAC_URL environment variable to identify the PAC file location prior to activating the Perfecto Connect binary. For example, if your PAC file resides at http://proxy.mycompany.com/rules.pac, then the elements in the following code snippet would apply.
This is not needed on Windows and Mac machines.
Copy//****** Define the environment variable as:
HTTP_PROXY_PAC_URL=http://proxy.mycompany.com/rules.pac
//****** Activate the binary (will find the Proxy definition in the PAC file)
./perfectoconnect start -c demo.perfectomobile.com -s eyJhbGciOiJSU...qrA …