cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Not a customer? Start a free trial

Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.

AppDynamics customers and established members should click the sign in button to authenticate.

Knowledge Base

How do I configure the browser to use a proxy when needed by the target site using the Synthetic Private Agent?

This is not possible for hosted agents.

 

For private agents

 

Using Chrome or IE10/11:

  • Stop the agent. Log out.
  • Log in as agent_user (password: Appdynamics123).
    • Note you can't do this over RDP; you need local access to the machine.
  • Navigate to Control Panel > Network and Internet > Internet Options > Connections > LAN Settings.
  • Enable "Use a proxy server for your LAN" and fill in the proxy server info.
  • Enable "Bypass proxy server for local addresses"
  • Click "Advanced". Under "Exceptions", add localhost;127.0.0.1
  • Log out. Log back in as Administrator and restart the agent.

 

Using Firefox:

  • Add the following to C:\appdynamics\browsers\firefox\<>\mozilla.cfg

  • Customize the following proxy settings and add to C:\appdynamics\browsers\firefox\<<VERSION>>\mozilla.cfg

    pref("network.proxy.type", 1); // this setting may be there already; if so, replace it

    pref("network.proxy.http", "<PROXY ADDRESS>");

    pref("network.proxy.http_port", <PROXY PORT>);

    pref("network.proxy.no_proxies_on", "localhost, 127.0.0.1, *.server.local");

    pref("network.proxy.share_proxy_settings", true);

 

Note: Test the proxy settings by creating a synthetic job for http://www.whatismyproxy.com and checking the results.

 

  • Here is an example of what the config could look like customized for a specific client. For information on the possible values and the effects of the Network Proxy Type, click here
// EXAMPLE pref("network.proxy.type", 5) 
// A 5 WAS NEEDED INSTEAD OF A 1 WITHOUT QUOTES pref("network.proxy.type", 5);
// EXAMPLE pref("network.proxy.http", "proxy.domain.com");
// ENTER URL OF PROXY ENCLOSED IN QUOTES
pref("network.proxy.http", "PROXY_URL_HERE");
// EXAMPLE pref("network.proxy.http_port", 8080);
// ENTER PORT NUMBER NO QUOTES
pref("network.proxy.http_port", PROXY_PORT_HERE);
// EXAMPLE REMOVED ",*.server.local" FROM PREF pref("network.proxy.no_proxies_on", "localhost, 127.0.0.1");

//UNCHANGED pref("network.proxy.share_proxy_settings", true);
Version history
Last update:
‎10-31-2018 09:25 AM
Updated by:
Labels (1)


Found this article helpful? Click the Thumbs Up button.
Have an additional comment? Post it below.
By replying you agree to the Terms and Conditions of the AppDynamics Community.
0 Kudos
Comments

In this comment:

// EXAMPLE pref("network.proxy.type", 5) 
// A 5 WAS NEEDED INSTEAD OF A 1 WITHOUT QUOTES pref("network.proxy.type", 5);
// EXAMPLE pref("network.proxy.http", "proxy.domain.com");
// ENTER URL OF PROXY ENCLOSED IN QUOTES
pref("network.proxy.http", "PROXY_URL_HERE");
// EXAMPLE pref("network.proxy.http_port", 8080);
// ENTER PORT NUMBER NO QUOTES
pref("network.proxy.http_port", PROXY_PORT_HERE);
// EXAMPLE REMOVED ",*.server.local" FROM PREF pref("network.proxy.no_proxies_on", "localhost, 127.0.0.1");

//UNCHANGED pref("network.proxy.share_proxy_settings", true);

We do not need:

// EXAMPLE pref("network.proxy.http", "proxy.domain.com");  
// ENTER URL OF PROXY ENCLOSED IN QUOTES
pref("network.proxy.http", "PROXY_URL_HERE");

// EXAMPLE pref("network.proxy.http_port", 8080); 
// ENTER PORT NUMBER NO QUOTES
pref("network.proxy.http_port", PROXY_PORT_HERE);

// EXAMPLE REMOVED ",*.server.local" FROM PREF
pref("network.proxy.no_proxies_on", "localhost, 127.0.0.1");

//UNCHANGED
pref("network.proxy.share_proxy_settings", true);

If type is set to 5:

pref("network.proxy.type", 5);

As 5 means - use system proxy settings.