We have enabled Host access application with DX APM SaaS Java Agent v21.6, the agent is unable to connect to cloud proxy. From agent logs I see the below error.
[VERBOSE] [IntroscopeAgent.Agent] Loaded Socket Factory Class: com.wily.isengard.client.transport.websocket.WebSocketFactory
[VERBOSE] [IntroscopeAgent.Agent] Loaded Socket Factory Class: com.wily.isengard.client.transport.websocket.SSLWebSocketFactory
[ERROR] [IntroscopeAgent.Agent] An error occurred while trying to connect to the Introscope Enterprise Manager.
[VERBOSE] [IntroscopeAgent.Agent]
java.lang.IllegalArgumentException: key can't be empty
at java.lang.System.checkKey(System.java:841)
at java.lang.System.getProperty(System.java:714)
at com.wily.util.properties.IndexedProperties.getProperty(IndexedProperties.java:514)
at com.wily.util.properties.IndexedProperties$2.getValue(IndexedProperties.java:240)
at java.util.Hashtable.putAll(Hashtable.java:524)
at com.wily.util.properties.MultiPropertyKeyAdapter.<init>(MultiPropertyKeyAdapter.java:53)
at com.wily.introscope.agent.enterprise.FailoverPolicyFactory.translateToIsengardProperties(FailoverPolicyFactory.java:441)
at com.wily.introscope.agent.enterprise.FailoverPolicyFactory.<init>(FailoverPolicyFactory.java:128)
at com.wily.introscope.agent.enterprise.FailoverPolicyFactory.<init>(FailoverPolicyFactory.java:96)
at com.wily.introscope.agent.enterprise.EnterpriseAgent.getIsengardFailoverPolicy(EnterpriseAgent.java:1370)
at com.wily.introscope.agent.enterprise.EnterpriseAgent.initIsengard(EnterpriseAgent.java:785)
at com.wily.introscope.agent.enterprise.EnterpriseAgent.access$2(EnterpriseAgent.java:777)
at com.wily.introscope.agent.enterprise.EnterpriseAgent$InitIsengardService.doStartService(EnterpriseAgent.java:765)
at com.wily.introscope.agent.service.ASimpleService.IAgentService_startService(ASimpleService.java:39)
at com.wily.introscope.agent.service.ServiceAdministrator$ServiceInitializer.startService(ServiceAdministrator.java:554)
at com.wily.introscope.agent.service.ServiceAdministrator.registerServiceSync(ServiceAdministrator.java:316)
at com.wily.introscope.agent.enterprise.EnterpriseAgent.startIsengard(EnterpriseAgent.java:428)
at com.wily.introscope.agent.enterprise.EnterpriseAgent.doPostAgentNamingInitialization(EnterpriseAgent.java:475)
at com.wily.introscope.agent.ACommonAgent.setAgentName(ACommonAgent.java:1463)
at com.wily.introscope.agent.enterprise.EnterpriseAgentNamingPolicy.setAgentName(EnterpriseAgentNamingPolicy.java:226)
at com.wily.introscope.agent.enterprise.EnterpriseAgentNamingPolicy.access$5(EnterpriseAgentNamingPolicy.java:195)
at com.wily.introscope.agent.enterprise.EnterpriseAgentNamingPolicy$InitialAgentNamingBehavior.ITimestampedRunnable_execute(EnterpriseAgentNamingPolicy.java:62
1)
at com.wily.util.heartbeat.IntervalHeartbeat$BehaviorNode.execute(IntervalHeartbeat.java:972)
at com.wily.util.heartbeat.IntervalHeartbeat.executeNextBehaviorAndCalculateSleepTime(IntervalHeartbeat.java:491)
at com.wily.util.heartbeat.IntervalHeartbeat.access$2(IntervalHeartbeat.java:445)
at com.wily.util.heartbeat.IntervalHeartbeat$HeartbeatRunnable.run(IntervalHeartbeat.java:668)
at java.lang.Thread.run(Thread.java:748)
Release : SAAS
Component :
Misconfiguration
Identified that the Agent autonaming property was the culprit and disabled the same.
--------------------------------------------
# Changing this property requires restarting the Monitored Process
introscope.agent.agentAutoNamingEnabled=false
--------------------------------------------
Agent is reporting fine to DX APM SaaS.