<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Troubleshooting Agent Registration Issues ? &amp;quot;Encountered error during registration&amp;quot; in Splunk AppDynamics</title>
    <link>https://community.splunk.com/t5/Splunk-AppDynamics/Troubleshooting-Agent-Registration-Issues-quot-Encountered-error/m-p/726933#M5531</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;Thanks for the response!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I know how to find the global account name, but where exactly do I find the "account name"? (apologies, appdynamics newbie here!)&lt;/P&gt;

&lt;P&gt;Thanks in advance,&lt;/P&gt;
&lt;P&gt;Traiano&lt;/P&gt;</description>
    <pubDate>Tue, 25 Apr 2017 07:23:59 GMT</pubDate>
    <dc:creator>CommunityUser</dc:creator>
    <dc:date>2017-04-25T07:23:59Z</dc:date>
    <item>
      <title>Troubleshooting Agent Registration Issues ? "Encountered error during registration"</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Troubleshooting-Agent-Registration-Issues-quot-Encountered-error/m-p/726926#M5524</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;

&lt;P&gt;There seems to be very little information on the Internet or Appdynamics documentation on troubleshooting agent registration issues.&lt;/P&gt;
&lt;P&gt;I'm trying to register a new server agent on Linux with Appdynamics &amp;nbsp;I get a very obscure registration error when running the agent:&lt;/P&gt;

&lt;P&gt;---&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;[UriConfigPoller] 20 Apr 2017 10:57:21,118 DEBUG UriConfigProvider - Checking uri file:/opt/appdynamics/conf/ to see if it is readable.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;[system-thread-0] 20 Apr 2017 10:57:21,160 DEBUG RegistrationTask - Running registration task&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;[system-thread-0] 20 Apr 2017 10:57:21,168&amp;nbsp; WARN RegistrationTask - Encountered error during registration. Will retry in 60 seconds.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;[system-thread-0] 20 Apr 2017 10:57:21,168 DEBUG RegistrationTask - Encountered error during registration.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;com.appdynamics.voltron.rest.client.NonRestExcepti&lt;WBR /&gt;on: Method: SimMachinesAgentService#registerMachine(SimMachine&lt;WBR /&gt;MinimalDto) - Result: 401 Unauthorized - content:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;---&lt;/P&gt;

&lt;P&gt;The agent I'm using was generated from the Appdynamics enterprise dashboard and uploaded to the linux server.&lt;/P&gt;

&lt;P&gt;Things I've checked:&lt;/P&gt;

&lt;P&gt;- Network connectivity: packet flow at tcp level is fine between agent and server.&lt;/P&gt;
&lt;P&gt;- Licensing: Licensing is valid&lt;/P&gt;
&lt;P&gt;- hostname/unique agent id: as a test , set manually using the result of &amp;nbsp;"hostname" command.&lt;/P&gt;

&lt;P&gt;There seem to be no other appdynamics guides on how to troubleshoot this in further detail. Past forum posts seem to yield low quality answers.&lt;/P&gt;


&lt;P&gt;More complete debug log dump as follows:&lt;/P&gt;

&lt;P&gt;----&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;[UriConfigPoller] 20 Apr 2017 10:56:51,117 DEBUG UriConfigProvider - Checking uri file:/opt/appdynamics/conf/logging/log4j.xml to see if it is readable.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;[UriConfigPoller] 20 Apr 2017 10:56:51,117 DEBUG UriConfigProvider - Checking uri file:/opt/appdynamics/conf/logging/ to see if it is readable.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;[UriConfigPoller] 20 Apr 2017 10:56:51,117 DEBUG UriConfigProvider - Checking uri file:/opt/appdynamics/conf/controller-info.xml to see if it is readable.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;[UriConfigPoller] 20 Apr 2017 10:56:51,117 DEBUG UriConfigProvider - Checking uri file:/opt/appdynamics/conf/ to see if it is readable.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;[UriConfigPoller] 20 Apr 2017 10:57:21,117 DEBUG UriConfigProvider - Checking uri file:/opt/appdynamics/conf/logging/log4j.xml to see if it is readable.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;[UriConfigPoller] 20 Apr 2017 10:57:21,118 DEBUG UriConfigProvider - Checking uri file:/opt/appdynamics/conf/logging/ to see if it is readable.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;[UriConfigPoller] 20 Apr 2017 10:57:21,118 DEBUG UriConfigProvider - Checking uri file:/opt/appdynamics/conf/controller-info.xml to see if it is readable.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;[UriConfigPoller] 20 Apr 2017 10:57:21,118 DEBUG UriConfigProvider - Checking uri file:/opt/appdynamics/conf/ to see if it is readable.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;[system-thread-0] 20 Apr 2017 10:57:21,160 DEBUG RegistrationTask - Running registration task&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;[system-thread-0] 20 Apr 2017 10:57:21,168&amp;nbsp; WARN RegistrationTask - Encountered error during registration. Will retry in 60 seconds.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;[system-thread-0] 20 Apr 2017 10:57:21,168 DEBUG RegistrationTask - Encountered error during registration.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;com.appdynamics.voltron.rest.client.NonRestExcepti&lt;WBR /&gt;on: Method: SimMachinesAgentService#registerMachine(SimMachine&lt;WBR /&gt;MinimalDto) - Result: 401 Unauthorized - content:&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.appdynamics.voltron.rest.client.VoltronErrorDe&lt;WBR /&gt;coder.decode(VoltronErrorDecoder.java:62)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at feign.SynchronousMethodHandler.executeAndDecode(Sy&lt;WBR /&gt;nchronousMethodHandler.java:126)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at feign.SynchronousMethodHandler.invoke(SynchronousM&lt;WBR /&gt;ethodHandler.java:74)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at feign.ReflectiveFeign$FeignInvocationHandler.invok&lt;WBR /&gt;e(ReflectiveFeign.java:97)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.sun.proxy.$Proxy80.registerMachine(Unknown Source)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.appdynamics.agent.sim.registration.Registratio&lt;WBR /&gt;nTask.run(RegistrationTask.java:124)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.util.concurrent.Executors$RunnableAdapter.cal&lt;WBR /&gt;l(Executors.java:511)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.util.concurrent.FutureTask.runAndReset(Future&lt;WBR /&gt;Task.java:308)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.util.concurrent.ScheduledThreadPoolExecutor$S&lt;WBR /&gt;cheduledFutureTask.access$301(ScheduledThreadPoolE&lt;WBR /&gt;xecutor.java:180)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.util.concurrent.ScheduledThreadPoolExecutor$S&lt;WBR /&gt;cheduledFutureTask.run(ScheduledThreadPoolExecutor&lt;WBR /&gt;.java:294)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.util.concurrent.ThreadPoolExecutor.runWorker(&lt;WBR /&gt;ThreadPoolExecutor.java:1142)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.util.concurrent.ThreadPoolExecutor$Worker.run&lt;WBR /&gt;(ThreadPoolExecutor.java:617)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.lang.Thread.run(Thread.java:745)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;[UriConfigPoller] 20 Apr 2017 10:57:51,118 DEBUG UriConfigProvider - Checking uri file:/opt/appdynamics/conf/logging/log4j.xml to see if it is readable.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;[UriConfigPoller] 20 Apr 2017 10:57:51,118 DEBUG UriConfigProvider - Checking uri file:/opt/appdynamics/conf/logging/ to see if it is readable.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;[UriConfigPoller] 20 Apr 2017 10:57:51,118 DEBUG UriConfigProvider - Checking uri file:/opt/appdynamics/conf/controller-info.xml to see if it is readable.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;[UriConfigPoller] 20 Apr 2017 10:57:51,118 DEBUG UriConfigProvider - Checking uri file:/opt/appdynamics/conf/ to see if it is readable.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;[UriConfigPoller] 20 Apr 2017 10:58:21,119 DEBUG UriConfigProvider - Checking uri file:/opt/appdynamics/conf/logging/log4j.xml to see if it is readable.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;[UriConfigPoller] 20 Apr 2017 10:58:21,119 DEBUG UriConfigProvider - Checking uri file:/opt/appdynamics/conf/logging/ to see if it is readable.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;[UriConfigPoller] 20 Apr 2017 10:58:21,119 DEBUG UriConfigProvider - Checking uri file:/opt/appdynamics/conf/controller-info.xml to see if it is readable.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;[UriConfigPoller] 20 Apr 2017 10:58:21,119 DEBUG UriConfigProvider - Checking uri file:/opt/appdynamics/conf/ to see if it is readable.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;[system-thread-0] 20 Apr 2017 10:58:21,160 DEBUG RegistrationTask - Running registration task&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;[system-thread-0] 20 Apr 2017 10:58:21,169&amp;nbsp; WARN RegistrationTask - Encountered error during registration. Will retry in 60 seconds.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;[system-thread-0] 20 Apr 2017 10:58:21,169 DEBUG RegistrationTask - Encountered error during registration.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;com.appdynamics.voltron.rest.client.NonRestExcepti&lt;WBR /&gt;on: Method: SimMachinesAgentService#registerMachine(SimMachine&lt;WBR /&gt;MinimalDto) - Result: 401 Unauthorized - content:&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.appdynamics.voltron.rest.client.VoltronErrorDe&lt;WBR /&gt;coder.decode(VoltronErrorDecoder.java:62)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at feign.SynchronousMethodHandler.executeAndDecode(Sy&lt;WBR /&gt;nchronousMethodHandler.java:126)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at feign.SynchronousMethodHandler.invoke(SynchronousM&lt;WBR /&gt;ethodHandler.java:74)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at feign.ReflectiveFeign$FeignInvocationHandler.invok&lt;WBR /&gt;e(ReflectiveFeign.java:97)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.sun.proxy.$Proxy80.registerMachine(Unknown Source)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.appdynamics.agent.sim.registration.Registratio&lt;WBR /&gt;nTask.run(RegistrationTask.java:124)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.util.concurrent.Executors$RunnableAdapter.cal&lt;WBR /&gt;l(Executors.java:511)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.util.concurrent.FutureTask.runAndReset(Future&lt;WBR /&gt;Task.java:308)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.util.concurrent.ScheduledThreadPoolExecutor$S&lt;WBR /&gt;cheduledFutureTask.access$301(ScheduledThreadPoolE&lt;WBR /&gt;xecutor.java:180)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.util.concurrent.ScheduledThreadPoolExecutor$S&lt;WBR /&gt;cheduledFutureTask.run(ScheduledThreadPoolExecutor&lt;WBR /&gt;.java:294)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.util.concurrent.ThreadPoolExecutor.runWorker(&lt;WBR /&gt;ThreadPoolExecutor.java:1142)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.util.concurrent.ThreadPoolExecutor$Worker.run&lt;WBR /&gt;(ThreadPoolExecutor.java:617)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.lang.Thread.run(Thread.java:745)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;---&lt;/P&gt;

&lt;P&gt;Troubleshooting notes:&lt;/P&gt;

&lt;P&gt;Trying to register a new agent with the controller fails, even though I am using a superuser account to generate the agent zip file and I have more than 50 agent licenses (i've also disabled SIM on the agent side):&lt;/P&gt;

&lt;P&gt;Logs on the agent show:&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;[system-thread-0] 22 Apr 2017 14:19:06,786&amp;nbsp; WARN RegistrationTask - Encountered error during registration. Will retry in 60 seconds.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;[system-thread-0] 22 Apr 2017 14:19:06,786 DEBUG RegistrationTask - Encountered error during registration.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;com.appdynamics.voltron.rest.client.NonRestExcepti&lt;WBR /&gt;on: Method: SimMachinesAgentService#registerMachine(SimMachine&lt;WBR /&gt;MinimalDto) - Result: 401 Unauthorized - content:&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.appdynamics.voltron.rest.client.VoltronErrorDe&lt;WBR /&gt;coder.decode(VoltronErrorDecoder.java:62)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at feign.SynchronousMethodHandler.executeAndDecode(Sy&lt;WBR /&gt;nchronousMethodHandler.java:126)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at feign.SynchronousMethodHandler.invoke(SynchronousM&lt;WBR /&gt;ethodHandler.java:74)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at feign.ReflectiveFeign$FeignInvocationHandler.invok&lt;WBR /&gt;e(ReflectiveFeign.java:97)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.sun.proxy.$Proxy80.registerMachine(Unknown Source)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.appdynamics.agent.sim.registration.Registratio&lt;WBR /&gt;nTask.run(RegistrationTask.java:124)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.util.concurrent.Executors$RunnableAdapter.cal&lt;WBR /&gt;l(Executors.java:511)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.util.concurrent.FutureTask.runAndReset(Future&lt;WBR /&gt;Task.java:308)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.util.concurrent.ScheduledThreadPoolExecutor$S&lt;WBR /&gt;cheduledFutureTask.access$301(ScheduledThreadPoolE&lt;WBR /&gt;xecutor.java:180)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.util.concurrent.ScheduledThreadPoolExecutor$S&lt;WBR /&gt;cheduledFutureTask.run(ScheduledThreadPoolExecutor&lt;WBR /&gt;.java:294)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.util.concurrent.ThreadPoolExecutor.runWorker(&lt;WBR /&gt;ThreadPoolExecutor.java:1142)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.util.concurrent.ThreadPoolExecutor$Worker.run&lt;WBR /&gt;(ThreadPoolExecutor.java:617)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.lang.Thread.run(Thread.java:745)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;---&lt;/SPAN&gt;&lt;/P&gt;


&lt;P&gt;&lt;SPAN&gt;NOTE: registration also fails&amp;nbsp;if SSL is turned off and non-https port is used to connect to the controller.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Additional data point, in the controller logs I see these entries, suggesting some kind of authentication error between agent and controller:&lt;/P&gt;

&lt;P&gt;---&lt;/P&gt;

&lt;P&gt;[#|2017-04-22T14:50:57.556+0000|INFO|glassfish 4.1|com.singularity.ee.controller.auth.AuthRealm|_&lt;WBR /&gt;ThreadID=55;_ThreadName=http-listener-1(4);_TimeMi&lt;WBR /&gt;llis=1492872657556;_LevelValue=800;|Invalid account singularity-agent@customer1_&lt;SPAN&gt;xyxyxyxyxyxyxyxyxyxyxyxyxy&lt;/SPAN&gt;|#]&lt;/P&gt;
&lt;P&gt;[#|2017-04-22T14:50:57.556+0000|INFO|glassfish 4.1|javax.enterprise.system.core.security|_ThreadI&lt;WBR /&gt;D=55;_ThreadName=http-listener-1(4);_TimeMillis=14&lt;WBR /&gt;92872657556;_LevelValue=800;_MessageID=NCLS-SECURI&lt;WBR /&gt;TY-05046;|Audit: &lt;BR /&gt;Authentication refused for [singularity-agent@customer1_xyxyxyxyxyxyxyxyxyxyx&lt;WBR /&gt;yxyxy].|#]&lt;/P&gt;
&lt;P&gt;[#|2017-04-22T14:50:57.556+0000|INFO|glassfish 4.1|javax.enterprise.system.core.security.com.sun.&lt;WBR /&gt;enterprise.security.jmac.callback|_ThreadID=55;_Th&lt;WBR /&gt;readName=http-listener-1(4);_TimeMillis=1492872657&lt;WBR /&gt;556;_LevelValue=800;|jmac.loginfail|#]&lt;/P&gt;
&lt;P&gt;----&lt;/P&gt;

&lt;P&gt;However, this agent was built through the UI and there is no indication of a user or credentials that may be needed ..&lt;/P&gt;</description>
      <pubDate>Sat, 22 Apr 2017 15:51:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Troubleshooting-Agent-Registration-Issues-quot-Encountered-error/m-p/726926#M5524</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2017-04-22T15:51:08Z</dc:date>
    </item>
    <item>
      <title>Re: Troubleshooting Agent Registration Issues ? "Encountered error during registration"</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Troubleshooting-Agent-Registration-Issues-quot-Encountered-error/m-p/726927#M5525</link>
      <description>&lt;P&gt;Dear Traiano&lt;/P&gt;
&lt;P&gt;Sorry for the poor experience you had with that forum. If you are a paid customer and want to drive this through support, you can use the AppDynamics portal to log a ticket.&lt;/P&gt;

&lt;P&gt;However, i may have an idea for your problem. Just a confirmation: is that 4.3?&lt;/P&gt;
&lt;P&gt;If yes, on 4.3, when generating the Machine Agent using the Getting Started Wizard, the account name used is the Global Account Name, instead of the Account Name. So you need to change that in the controller-info.xml file.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Let us know&lt;/P&gt;
&lt;P&gt;Best&lt;/P&gt;
&lt;P&gt;JB&lt;/P&gt;</description>
      <pubDate>Sun, 23 Apr 2017 08:00:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Troubleshooting-Agent-Registration-Issues-quot-Encountered-error/m-p/726927#M5525</guid>
      <dc:creator>Jean-Baptiste_M</dc:creator>
      <dc:date>2017-04-23T08:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: Troubleshooting Agent Registration Issues ? "Encountered error during registration"</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Troubleshooting-Agent-Registration-Issues-quot-Encountered-error/m-p/726928#M5526</link>
      <description>&lt;P&gt;Hi JB&lt;/P&gt;

&lt;P&gt;Thanks for your response.&lt;/P&gt;

&lt;P&gt;We're using a licensed version of&amp;nbsp;&lt;SPAN&gt;AppDynamics Version 4.3.0.3, build 147.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I've confirmed we're using the global account name in&amp;nbsp;controller-info.xml.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I've also confirmed we're using the corresponding license key.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;However the issue persists. How would I troubleshoot this issue further?&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;Thanks in advance,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Traiano&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 23 Apr 2017 08:43:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Troubleshooting-Agent-Registration-Issues-quot-Encountered-error/m-p/726928#M5526</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2017-04-23T08:43:14Z</dc:date>
    </item>
    <item>
      <title>Re: Troubleshooting Agent Registration Issues ? "Encountered error during registration"</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Troubleshooting-Agent-Registration-Issues-quot-Encountered-error/m-p/726929#M5527</link>
      <description>&lt;P&gt;Any response yet? Surely this can't be a difficult issue to resolve?&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2017 07:14:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Troubleshooting-Agent-Registration-Issues-quot-Encountered-error/m-p/726929#M5527</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2017-04-24T07:14:14Z</dc:date>
    </item>
    <item>
      <title>Re: Troubleshooting Agent Registration Issues ? "Encountered error during registration"</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Troubleshooting-Agent-Registration-Issues-quot-Encountered-error/m-p/726930#M5528</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;You said :&amp;nbsp;&lt;SPAN&gt;(i've also disabled SIM on the agent side): meaning the SIM enabled is set to false in the controller-info.xml right?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;What's your controller version?&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;Have you checked the license screen? Have you reached any limit in term of license tokens?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;If you want to get proper attention, maybe you should open a ticket to our support on the portal.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;JB&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2017 07:18:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Troubleshooting-Agent-Registration-Issues-quot-Encountered-error/m-p/726930#M5528</guid>
      <dc:creator>Jean-Baptiste_M</dc:creator>
      <dc:date>2017-04-24T07:18:13Z</dc:date>
    </item>
    <item>
      <title>Re: Troubleshooting Agent Registration Issues ? "Encountered error during registration"</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Troubleshooting-Agent-Registration-Issues-quot-Encountered-error/m-p/726931#M5529</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;Correct. Here is the specific line: &amp;nbsp;&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;sim&lt;/SPAN&gt;&lt;SPAN&gt;-enabled&amp;gt;false&amp;lt;/&lt;/SPAN&gt;&lt;SPAN&gt;sim&lt;/SPAN&gt;&lt;SPAN&gt;-enabled&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;As mentioned before, version is: &amp;nbsp;&lt;SPAN&gt;AppDynamics Version 4.3.0.3, build 147&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Attached screenshot of licensing output.&lt;/P&gt;

&lt;P&gt;If it's necessary to run this through support, ok, I'll do that. I thought community support would be sufficient to resolve this kind of problem.&lt;/P&gt;

&lt;P&gt;thanks,&lt;/P&gt;
&lt;P&gt;Traiano&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2017 07:00:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Troubleshooting-Agent-Registration-Issues-quot-Encountered-error/m-p/726931#M5529</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2017-04-25T07:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: Troubleshooting Agent Registration Issues ? "Encountered error during registration"</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Troubleshooting-Agent-Registration-Issues-quot-Encountered-error/m-p/726932#M5530</link>
      <description>&lt;P&gt;... Sorry I've just connected the dot..&lt;/P&gt;

&lt;P&gt;You need to just put the account name, not the global account name in the controller-info.xml file. There's a recent identified bug on this.&lt;/P&gt;

&lt;P&gt;Let me know&lt;/P&gt;
&lt;P&gt;JB&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2017 07:20:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Troubleshooting-Agent-Registration-Issues-quot-Encountered-error/m-p/726932#M5530</guid>
      <dc:creator>Jean-Baptiste_M</dc:creator>
      <dc:date>2017-04-25T07:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: Troubleshooting Agent Registration Issues ? "Encountered error during registration"</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Troubleshooting-Agent-Registration-Issues-quot-Encountered-error/m-p/726933#M5531</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;Thanks for the response!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I know how to find the global account name, but where exactly do I find the "account name"? (apologies, appdynamics newbie here!)&lt;/P&gt;

&lt;P&gt;Thanks in advance,&lt;/P&gt;
&lt;P&gt;Traiano&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2017 07:23:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Troubleshooting-Agent-Registration-Issues-quot-Encountered-error/m-p/726933#M5531</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2017-04-25T07:23:59Z</dc:date>
    </item>
    <item>
      <title>Re: Troubleshooting Agent Registration Issues ? "Encountered error during registration"</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Troubleshooting-Agent-Registration-Issues-quot-Encountered-error/m-p/726934#M5532</link>
      <description>&lt;P&gt;Ok, this seems to work. There are other issues now, but I'll report them through the support portal.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2017 07:44:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Troubleshooting-Agent-Registration-Issues-quot-Encountered-error/m-p/726934#M5532</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2017-04-25T07:44:28Z</dc:date>
    </item>
    <item>
      <title>Re: Troubleshooting Agent Registration Issues ? "Encountered error during registration"</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Troubleshooting-Agent-Registration-Issues-quot-Encountered-error/m-p/726935#M5533</link>
      <description>Click on the wheel on the right upper corner, then licenses you should see&lt;BR /&gt;the name there.&lt;BR /&gt;Take me a screenshot I can tell you&lt;BR /&gt;JB&lt;BR /&gt;</description>
      <pubDate>Tue, 25 Apr 2017 08:10:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Troubleshooting-Agent-Registration-Issues-quot-Encountered-error/m-p/726935#M5533</guid>
      <dc:creator>Jean-Baptiste_M</dc:creator>
      <dc:date>2017-04-25T08:10:24Z</dc:date>
    </item>
  </channel>
</rss>

