Splunk AppDynamics

WARN RegistrationTask - Encountered error during registration. Will retry in 60 seconds. - Node Agent

CommunityUser
Splunk Employee
Splunk Employee

Hello - We are trying to install a Node agent in a Java Machine which starts successfully without issues but we see an error in the machine -agent logs: WARN RegistrationTask - Encountered error during registration. Will retry in 60 seconds.

There is no data in the Controller also to view details.

Let us know for any possible solutions.

Regards,

Prem

Labels (1)
0 Karma

Sahil_Gupta2
Explorer

Hello All,

I saw a similar issue , here is how it was fixed:

Problem: Machine Agent (MA) installed on Windows as a service was not able to connect to AppD SAAS Controller(cSAAS).

Error in MA logFileWARN RegistrationTask - Encountered error during registration. Will retry in 60 seconds.

Good to know: We had to connect to AppD cSAAS via a proxy. 

Troubleshooting

Initial Steps: Check if the telnet / tracert is working. For us that was working well. 

Solution: Add the proxy details in the AppD MA configuration.

How to add proxy details in MA configuration?

Location: MahineAgentHome/Bin/MachineAgentService.vmoptions (If you cannot find this file, create one)

Add below parameter at the start of the file:

-Dappdynamics.http.proxyHost=YourProxyServerName

-Dappdynamics.http.proxyPort=YourProxyPortNumber

Check for more parameters here, click here.

Thanks & Reagrds,

Sahil Gupta

Atyuha_Pal
Contributor

Hi Prem,

Could you please attach the zip file of agent log in debug mode.

Steps to enable debug mode

Goto <machineagent-install-dir>/conf/logging/log4j.xml and change level value to debug from info as show below

Look for

<logger name="com.singularity" additivity="false">

      <level value="info"/>

    <appender-ref ref="FileAppender"/>

</logger>

and change info to debug as show below

<logger name="com.singularity" additivity="false">

      <level value="debug"/>

    <appender-ref ref="FileAppender"/>

</logger>

run it for 10 - 15 min and attach the logs.

Thanks,

Atyuha

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

What is the solution on this issue, as I too am facing the same.

0 Karma

Atyuha_Pal
Contributor

Hi Arun,

Could you please share the log in debug mode.

Thanks,

Atyuha

0 Karma

Sathish_Kumar_N
New Member

Hi SK,

I have attached the log files and I can’t get the total directory.

I am trying to configure URL monitoring. So only I have added the application and tier and node name in controller-info.xml file manually.

There is no proxies involved, Kindly find the controller connectivity  result .

[appd_mon@ip-10-101-1-29 conf]$ curl -v https://nn-dev.saas.appdynamics.com:443/controller/rest/serverstatus
* About to connect() to nn-dev.saas.appdynamics.com port 443 (#0)
* Trying 35.157.174.134...
* Connected to nn-dev.saas.appdynamics.com (35.157.174.134) port 443 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
* CAfile: /etc/pki/tls/certs/ca-bundle.crt
CApath: none
* NSS error -5961 (PR_CONNECT_RESET_ERROR)
* TCP connection reset by peer
* Closing connection 0
curl: (35) TCP connection reset by peer

0 Karma

iamryan
Community Manager
Community Manager

Hello all,

There are a few other community posts that mention this same error. Please have a look at them to see if they help. I have share two below

https://community.appdynamics.com/t5/Controller-SaaS-On-Premises/WARN-RegistrationTask-Encountered-e...

https://community.appdynamics.com/t5/Java-Java-Agent-Installation-JVM/Error-registering-new-server-A...

0 Karma

iamryan
Community Manager
Community Manager

Hi @Sathish Kumar.N,

I wanted to check in to see if you were able to read those posts and if they provided any help?

0 Karma

手塚_隆之
Path Finder

I also experienced the same message on an on - premise environment.


I checked the debug log and it was "CN = localhost".


Because it is different from the host name you are accessing, it seems you can not connect.

So, referring to the following URL, when I rebuilt my self certificate,It worked.

https://docs.appdynamics.com/display/PRO44/Controller+SSL+and+Certificates

1, s1as key delete

2, s1as key regenate

3, restart controller

0 Karma
Get Updates on the Splunk Community!

Get Schooled with Splunk Education: Explore Our Latest Courses

At Splunk Education, we’re dedicated to providing incredible learning experiences that cater to every skill ...

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL  The Splunk AI Assistant for SPL ...

Buttercup Games: Further Dashboarding Techniques (Part 5)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...