Skip to main content
NetApp Knowledge Base

Workload Security Agent is not configured due to failure of HTTP GET with error null

Views:
206
Visibility:
Public
Votes:
0
Category:
data-infrastructure-insights
Specialty:
ds_dii
Last Updated:

Applies to

  • Cloud Insights
  • Workload Security
  • No proxy and firewall configuration

Issue

  • Workload Security Agent is not listed in Workload Security > Collectors > Agents even after installation completes
  • Agent service (cloudsecure-agent.service) is up and running
  • agent.log indicates agent configuration fails by Failed to retrieve the result for http request GET:/rest/v1/agents/login/<UUID> in 60 sec with error null/java.net.UnknownHostException

[INFO] [prod] [<UUID>] [<UUID>] [agent-ActorSystemImpl] - Cloudsecure agent is starting..
[INFO] [prod] [<UUID>] [<UUID>] [agent-KeyStoreUtil] - Keystore properties file exists.. taking no further action.
[INFO] [prod] [<UUID>] [<UUID>] [agent-KeyStoreUtil] - Reading keystore password from file...
[ERROR] [prod] [<UUID>] [<UUID>] [agent-CommunicationManager] - Request failed for GET /rest/v1/agents/login/<UUID>, reason: [Failed to retrieve the result for http request GET:/rest/v1/agents/login/<UUID> in 60 sec with error null], retrying again.
[ERROR] [prod] [<UUID>] [<UUID>] [agent-CommunicationManager] - Request failed for GET /rest/v1/agents/login/<UUID>, reason: [Failed to retrieve the result for http request GET:/rest/v1/agents/login/<UUID> in 60 sec with error null], retrying again.
..
[ERROR] [prod] [<UUID>] [<UUID>] [agent-ActorSystemImpl] - Failed to configure agent. Reason: Failed to retrieve the result for http request GET:/rest/v1/agents/login/<UUID> in 60 sec with error null

...

[ERROR] [prod] [<UUID>] [<UUID>] [agent-CommandProcessor] - Failed to get commands with param isRestart=false from saas layer, reason: Failed to get agent commands from CloudSecure service. Reason - Failed to retrieve the result for http request GET:/rest/v1/agents/<UUID>/commands with error java.net.UnknownHostException: <tenant_URL>.cs01-eu-1.cloudinsights.netapp.com

...

with error java.net.UnknownHostException: agentlogin.cs01-eu-1.cloudinsights.netapp.com

[ERROR] [prod] [agent uuid] [collector uuid] [agent-LogStreamingActor] - Failed to stream 128 log messages to https://xxxx.cs01-eu-1.cloudinsights.netapp.com:443/rest/v1/log-receiver/logs with error: Tcp command [Connect(xxxx.cs01-eu-1.cloudinsights.netapp.com/<unresolved>:443,None,List(),Some(10 seconds),true)] failed because of java.net.UnknownHostException: xxxx.cs01-eu-1.cloudinsights.netapp.com

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.