10.5.2 Java agent on Windows getting java.net.SocketException trying to connect to EM

Document ID : KB000073160
Last Modified Date : 19/07/2018
Show Technical Document Details
Issue:
  Using APM to monitor Java on Linux for some time. This is their first attempt to run a Tomcat Java agent on Windows. Agent is starting but not connecting to EM.

3/13/18 10:49:17 AM CDT [WARN] [IntroscopeAgent.ConnectionThread] Failed to connect to the Introscope Enterprise Manager at ##.##.##.##:5001,com.wily.isengard.postofficehub.link.net.HttpTunnelingSocketFactory (The HTTP Tunneling server cannot be reached at: http://##.##.##.###:5001/em/transport/services/IsengardHttpTunnelingService: java.net.SocketException: Software caused connection abort: recv failed).
Environment:
CA APM 10.5.x
Cause:

Agent Profile EM Connection : http://CALabAPM01.ca.test.net:5001

 
Resolution:
After removing the http:// and using default tcp, the agent is now connecting.

Edit the IntroscopeAgent.profile and set agentManager.url.1 parameter.

ex. agentManager.url.1=192.168.101.130:5001