Hi Support,
I used below command to start up the db agent via company internet which requires proxy , however the agent jar seems not recongnize the proxy
java.exe -jar db-agent.jar -Dhttp.proxyHost=xxxxxx -Dhttp.proxyPort=8080 -Dhttp.proxyUsername=xxxx -Dhttp.proxyPassword=xxxxx
So it always throws below error :
07 Feb 2017 15:06:07,725 INFO [<Default Database Agent>-Scheduler-1] DBAgent:46 - setting agent install dir [C:\Scholes\PRD\dbagent-4.2.7.1]
07 Feb 2017 15:06:07,726 INFO [<Default Database Agent>-Scheduler-1] DBAgent:46 - setting agent type [DB_AGENT]
07 Feb 2017 15:06:07,729 INFO [<Default Database Agent>-Scheduler-1] DBAgent:46 - setting agent application [Database Monitoring]
07 Feb 2017 15:06:07,730 INFO [<Default Database Agent>-Scheduler-1] DBAgent:46 - setting agent tier name [Database Monitoring]
07 Feb 2017 15:06:07,730 INFO [<Default Database Agent>-Scheduler-1] DBAgent:46 - setting agent node name [Database Monitoring]
07 Feb 2017 15:06:07,731 INFO [<Default Database Agent>-Scheduler-1] DBAgent:46 - Sending Registration request
07 Feb 2017 15:06:12,736 ERROR [<Default Database Agent>-Scheduler-1] DBAgent:30 - Fatal transport error while connecting to URL [/controller/instance/UNKNOWN_MACHINE_ID/systemagentregistration]: org.
apache.http.conn.ConnectTimeoutException: Connect to hsbc1test.saas.appdynamics.com:443 [hsbc1test.saas.appdynamics.com/45.64.64.156] failed: connect timed out
07 Feb 2017 15:06:12,737 WARN [<Default Database Agent>-Scheduler-1] DBAgent:62 - Could not connect to the controller/invalid response from controller, cannot get registration information
07 Feb 2017 15:06:32,328 WARN [Thread-0] DBAgent:214 - DB master agent has no delegate.
Any hints to make it work via http proxy as it uses apache http api ?
Hi,
You could use the following properties.
-Dappdynamics.http.proxyHost
-Dappdynamics.http.proxyPort
-Dappdynamics.http.proxyUser
-Dappdynamics.http.proxyPasswordFile
The absolute path to the file containing the password of the user that is authenticated by the proxy host. The password must be the first line of the file.
Proxy authentication via SSL (Controller SSL enabled) is not guaranteed to work. If there are problems you need to try with the Host and Port properties and allow pass through proxy without authentication.
Regards,
Saradhi