Splunk AppDynamics

Fatal transport error while connecting to URL

CommunityUser
Splunk Employee
Splunk Employee

Hi,
I'm trying to monitor MySQL database on centos 7 using Trial license.
after configured conf/controller-info.xml, after that started  db-agent.jar .But on agent  log file I received below error:

18 Feb 2019 08:21:11,705 INFO [DBAgent-1] RegistrationChannel:63 - setting agent hostname [XXX]
18 Feb 2019 08:21:11,705 INFO [DBAgent-1] RegistrationChannel:67 - setting agent version [Database Agent v4.5.4.0 GA Build Date 2018-10-22]
18 Feb 2019 08:21:11,705 INFO [DBAgent-1] RegistrationChannel:71 - setting agent properties [{dbagent-name=Default Database Agent, dbagent-launch-id=35d74525-0da6-4b89-a56b-1b141ec084a8}]
18 Feb 2019 08:21:11,705 INFO [DBAgent-1] RegistrationChannel:75 - setting agent install dir [/usr/local/appdynamics/appdynamics-mysql-agent]
18 Feb 2019 08:21:11,705 INFO [DBAgent-1] RegistrationChannel:79 - setting agent type [DB_AGENT]
18 Feb 2019 08:21:11,705 INFO [DBAgent-1] RegistrationChannel:93 - setting agent application [Database Monitoring]
18 Feb 2019 08:21:11,705 INFO [DBAgent-1] RegistrationChannel:98 - setting agent tier name [Database Monitoring]
18 Feb 2019 08:21:11,706 INFO [DBAgent-1] RegistrationChannel:103 - setting agent node name [Database Monitoring]
18 Feb 2019 08:21:11,706 INFO [DBAgent-1] RegistrationChannel:46 - Sending Registration request
18 Feb 2019 08:21:11,706 WARN [DBAgent-1] RegistrationChannel:114 - Could not connect to the controller/invalid response from controller, cannot get registration information
18 Feb 2019 08:21:31,706 INFO [DBAgent-1] RegistrationChannel:57 - Controller host [castro2019021706554810.saas.appdynamics.com]; Controller port [443]
18 Feb 2019 08:21:31,707 INFO [DBAgent-1] RegistrationChannel:63 - setting agent hostname [XXX]
18 Feb 2019 08:21:31,707 INFO [DBAgent-1] RegistrationChannel:67 - setting agent version [Database Agent v4.5.4.0 GA Build Date 2018-10-22]
18 Feb 2019 08:21:31,707 INFO [DBAgent-1] RegistrationChannel:71 - setting agent properties [{dbagent-name=Default Database Agent, dbagent-launch-id=35d74525-0da6-4b89-a56b-1b141ec084a8}]
18 Feb 2019 08:21:31,707 INFO [DBAgent-1] RegistrationChannel:75 - setting agent install dir [/usr/local/appdynamics/appdynamics-mysql-agent]
18 Feb 2019 08:21:31,707 INFO [DBAgent-1] RegistrationChannel:79 - setting agent type [DB_AGENT]
18 Feb 2019 08:21:31,707 INFO [DBAgent-1] RegistrationChannel:93 - setting agent application [Database Monitoring]
18 Feb 2019 08:21:31,707 INFO [DBAgent-1] RegistrationChannel:98 - setting agent tier name [Database Monitoring]
18 Feb 2019 08:21:31,707 INFO [DBAgent-1] RegistrationChannel:103 - setting agent node name [Database Monitoring]
18 Feb 2019 08:21:31,707 INFO [DBAgent-1] RegistrationChannel:46 - Sending Registration request
18 Feb 2019 08:21:31,919 ERROR [DBAgent-1] ControllerHttpRequestResponse:30 - Fatal transport error while connecting to URL [/controller/instance/UNKNOWN_MACHINE_ID/systemagentregistration]: org.apache.http.NoHttpResponseException: castro2019021706554810.saas.appdynamics.com:443 failed to respond
18 Feb 2019 08:21:31,919 WARN [DBAgent-1] RegistrationChannel:114 - Could not connect to the controller/invalid response from controller, cannot get registration information

I disabled SSL and also I can telnet ZZZ.saas.appdynamics.com 433.

Best regards

Labels (1)

Mikel_Osinalde_
Path Finder

Hi Mahmoud,

I have been in a very similar situation, and the problem was in the order of the JVM parameters.

You could try with leaving the parameter "-jar db-agent.jar" at the very end of the java command line?

I.e.:

java -Dappdynamics.https.proxyPort=3128 -Dappdynamics.https.proxyHost=proxy.acme.com -Ddbagent.name="acmeDB" -jar db-agent.jar

At least it worked for me.

Best regards,

Mikel.

Umervali_Niyama
Path Finder

The above explanation should work

Get Updates on the Splunk Community!

Developer Spotlight with Brett Adams

In our third Spotlight feature, we're excited to shine a light on Brett—a Splunk consultant, innovative ...

Index This | What can you do to make 55,555 equal 500?

April 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this ...

Say goodbye to manually analyzing phishing and malware threats with Splunk Attack ...

In today’s evolving threat landscape, we understand you’re constantly bombarded with phishing and malware ...