Infrastructure (Server, Network, Database)

cancel
Showing results for 
Search instead for 
Did you mean: 

Kubernetes cluster agent can not connect - 404

Daniel.Oliver
New Member

Kubernetes cluster agent can not connect - 404

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" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><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: {}

 

 

Kubernetes cluster agent can not connect - 404
1 REPLY 1
Nawaz Ali.Mohammad
AppDynamics Team

Re: Kubernetes cluster agent can not connect - 404

Hello Daniel,

 

Can you confirm the steps at https://docs.appdynamics.com/display/PRO45/Deploy+the+AppDynamics+Operator+on+Kubernetes were followed? 

If pod securities are in place then follow "Cluster Agent Pods Are Not Created When Security Policy Is Enabled" at https://docs.appdynamics.com/display/PRO21/Troubleshoot+the+Cluster+Agent

For cluster agent pod ensure the steps as listed at https://docs.appdynamics.com/display/PRO45/Deploy+the+Cluster+Agent+on+Kubernetes is followed.