Skip to content

Proxy Settings

Daniel Odievich edited this page Aug 31, 2018 · 14 revisions

If your Controller is behind some sort of proxy, you may need to configure those settings.

.NET Full Framework on Windows

Proxy settings are stored in net471\AppDynamics.Dexter.exe.config.

Default setting is to use Windows system defaults (Internet Explorer\Settings\Connections):

    <system.net>  
        <defaultProxy enabled="true" useDefaultCredentials="true">
            <!--
            This proxy setting is for using whatever is in Internet Explorer
            -->
            <proxy usesystemdefault="true" />
        </defaultProxy>
    </system.net>  

If you want to run DEXTER through Fiddler locally, you can uncomment this:

    <system.net>  
        <defaultProxy enabled="true" useDefaultCredentials="true">
            <!--
            This proxy setting is for local Fiddler debugging
            -->
            <proxy proxyaddress="http://127.0.0.1:8888" />
        </defaultProxy>
    </system.net>

If you want to run DEXTER through real proxy you can uncomment this and edit your proxy settings:

    <system.net>  
        <defaultProxy enabled="true" useDefaultCredentials="true">
            <!--
            This proxy is for the authenticated proxy on your network
            -->
            <proxy proxyaddress="http://youruser:yourpassword@your.proxy.url.com:12345" />
        </defaultProxy>
    </system.net>

.NET Core Framework on Windows on Mac

Use system proxy configuration on macOS https://github.com/dotnet/corefx/issues/26593 is not fixed as of 8/31/2018.

Meanwhile, the workaround is to do this https://stackoverflow.com/questions/49653986/dotnet-core-httpclient-doesnt-respect-proxy-settings-on-mac (links to https://docs.cloudfoundry.org/cf-cli/http-proxy.html) - essentially set "http_proxy" and "https_proxy" environment variables before application startup.

Clone this wiki locally