Knowledge Base

cancel
Showing results for 
Search instead for 
Did you mean: 

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
Revision #:
10 of 10
Last update:
‎10-31-2018 09:25 AM
Updated by:
 
Labels (1)
0 Kudos