SAAS - .NET Agent fails to connect DXI - System.IO.IOException:Unexpected handshake data from server

Document ID : KB000095930
Last Modified Date : 28/06/2018
Show Technical Document Details
Issue:
Setting up a new .Net Agent customer was not able to get the agent to talk to the Cloud SAAS EM.

In the logs they got the following errors

[ERROR] [IntroscopeAgent.AppMapOracle] Unable to send environment variables to app map
[WARN] [IntroscopeAgent.ConnectionThread] Failed to connect to the Introscope Enterprise Manager at ######.apm.cloud.ca.com:443,com.wily.isengard.postofficehub.link.net.DefaultSocketFactory (1).
[WARN] [IntroscopeAgent.ConnectionThread] System.IO.IOException: Unexpected handshake data from server
 [WARN] [IntroscopeAgent.ConnectionThread] Failed to connect to the Introscope Enterprise Manager at ######.apm.cloud.ca.com:443,com.wily.isengard.postofficehub.link.net.DefaultSocketFactory (2).
[WARN] [IntroscopeAgent.ConnectionThread] System.IO.IOException: Unexpected handshake data from server
[WARN] [IntroscopeAgent.ConnectionThread] Failed to connect to the Introscope Enterprise Manager at ######.apm.cloud.ca.com:443,com.wily.isengard.postofficehub.link.net.DefaultSocketFactory (3).
[WARN] [IntroscopeAgent.ConnectionThread] System.IO.IOException: Unexpected handshake data from server
Environment:
10.6 - SaaS
Cause:
In the IntroscopeAgent.profile they had set the Parameter agentManager.url.1 incorrectly

They had:
agentManager.url.1=######.apm.cloud.ca.com:443

Should have been
agentManager.url.1=https://######.apm.cloud.ca.com:443
Resolution:
They had:
agentManager.url.1=######.apm.cloud.ca.com:443

Should have been
agentManager.url.1=https://######.apm.cloud.ca.com:443
Additional Information:

"Install the .NET Agent for CA Digital Experience Insights"