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

Kubernetes cluster agent can not connect - 404

New Member

I have this in the logs for the K8s cluster agent.


[INFO]: 2021-03-09 15:23:14 - agentregistrationmodule.go:119 - Initial Agent registration
[ERROR]: 2021-03-09 15:23:14 - agentregistrationmodule.go:131 - Failed to send agent registration request: Status: 404 Not Found, Body: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" ""><html xmlns=""><head><title>AppDynamics - Error report</title><style type="text/css"><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 404 - Not Found</h1><hr/><p><b>type</b> Status report</p><p><b>message</b>Not Found</p><p><b>description</b>The requested resource is not available.</p><hr/><h3>AppDynamics</h3></body></html>
[ERROR]: 2021-03-09 15:23:14 - agentregistrationmodule.go:132 - clusterId: -1
[ERROR]: 2021-03-09 15:23:14 - agentregistrationmodule.go:134 - Registration properties: {}




Nawaz Ali.Mohammad
AppDynamics Team

Hello Daniel,


Can you confirm the steps at were followed? 

If pod securities are in place then follow "Cluster Agent Pods Are Not Created When Security Policy Is Enabled" at

For cluster agent pod ensure the steps as listed at is followed.