cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Getting error:- SimMachinesAgentService#registerMachine(SimMachineMinimalDto) - Result: 401 Unauthorized - content

Amit.Bisht
Builder

Hello Team,

We have deployed machine agent as an  side car(different container within a pod) for  apache in OSE. It's working for most of the pod but for one pod we are getting below error.

 

code-external-site-ui-sit-50-gm9np==> [system-thread-0] 23 Jan 2024 08:22:14,654 DEBUG RegistrationTask - Encountered error during registration.
com.appdynamics.voltron.rest.client.NonRestException: Method: SimMachinesAgentService#registerMachine(SimMachineMinimalDto) - Result: 401 Unauthorized - content:
 
at com.appdynamics.voltron.rest.client.VoltronErrorDecoder.decode(VoltronErrorDecoder.java:62) ~[rest-client-1.1.0.245.jar:?]
at feign.SynchronousMethodHandler.executeAndDecode(SynchronousMethodHandler.java:156) ~[feign-core-10.7.4.jar:?]
at feign.SynchronousMethodHandler.invoke(SynchronousMethodHandler.java:80) ~[feign-core-10.7.4.jar:?]
at feign.ReflectiveFeign$FeignInvocationHandler.invoke(ReflectiveFeign.java:100) ~[feign-core-10.7.4.jar:?]
at com.sun.proxy.$Proxy114.registerMachine(Unknown Source) ~[?:?]
at com.appdynamics.agent.sim.registration.RegistrationTask.run(RegistrationTask.java:147) [machineagent.jar:Machine Agent v23.9.1.3731 GA compatible with 4.4.1.0 Build Date 2023-09-20 05:14:38]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
at java.lang.Thread.run(Thread.java:834) [?:?]
code-external-site-ui-sit-50-gm9np==> [system-thread-0] 23 Jan 2024 08:22:17,189 DEBUG GlobalTagsConfigsDecider - Global tags enabled: false
code-external-site-ui-sit-50-gm9np==> [system-thread-0] 23 Jan 2024 08:22:17,189 DEBUG RegistrationTask - Running registration task
code-external-site-ui-sit-50-gm9np==> [system-thread-0] 23 Jan 2024 08:22:17,256  WARN RegistrationTask - Encountered error during registration. Will retry in 60 seconds.
code-external-site-ui-sit-50-gm9np==> [system-thread-0] 23 Jan 2024 08:22:17,256 DEBUG RegistrationTask - Encountered error during registration.
 
We have cross-verified and everything looks good from the configuration end. 
 
Kindly help us with your suggestions.
5 REPLIES 5

Ryan.Paredez
Community Manager

Hi @Amit.Bisht,

I searched for your error and found a few existing posts that mention it. Please take a look and see if you can find a solution or a lead in them.

https://community.appdynamics.com/t5/forums/searchpage/tab/message?filter=location&q=%22Result:%2040...

 


Thanks,

Ryan, Cisco AppDynamics Community Manager




Found something helpful? Click the Accept as Solution button to help others find answers faster.

Liked something? Click the Thumbs Up button.



Check out Observabiity in Action

new deep dive videos weekly in the Knowledge Base.

@Ryan.Paredez  Thanks for your reply. I have gone thought all the post. They are mentioning about the incorrect configuration, could be possible reason of the error. The configuration look good from our side i.e. same config is working other PODS.

I have opened the support case and we are working on it.

 

Regards,

Amit Singh Bisht

 

 

Ryan.Paredez
Community Manager

Hi @Amit.Bisht,

Thanks for letting me know! Could you come back here and share the outcome with the Support case? 


Thanks,

Ryan, Cisco AppDynamics Community Manager




Found something helpful? Click the Accept as Solution button to help others find answers faster.

Liked something? Click the Thumbs Up button.



Check out Observabiity in Action

new deep dive videos weekly in the Knowledge Base.

Hello Ryan,

The error was related to the stale connection. After clearing the  clearing the stale nodes from controller end it got resolved.

Ryan.Paredez
Community Manager

Hi @Amit.Bisht,

Thank you so much for following up with a solution to your issue. We love to see that here in the community!


Thanks,

Ryan, Cisco AppDynamics Community Manager




Found something helpful? Click the Accept as Solution button to help others find answers faster.

Liked something? Click the Thumbs Up button.



Check out Observabiity in Action

new deep dive videos weekly in the Knowledge Base.