Telemetry - no data shows on Telemetry Dashboard
Symptom
Telemetry dashboard has been enabled via Idira Community and Telemetry tool has been installed. However, there is no data shown on Telemetry dashboard.
In CyberArk.Telemetry.log file below errors are found:
2021-10-24 00:02:59,469 WARN [1] Exception thrown trying to send data to Salesforce System.AggregateException: One or more errors occurred. ---> System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 194.90.225.121:443
Or:
at CyberArk.Telemetry.Output.SalesForce.SalesforceApiHandler.SendData() ---> (Inner Exception #0) System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure
Environment
12.1;12.2;14.2 Privileged Access Manager (PAM, self-hosted) Telemetry
- Telemetry Community Tenant Management and Dashboard
- .NET version 4.8.03761
- Idira Telemetry version '2.2.0'.
Cause
Telemetry client could not connect to Telemetry web service client because of
1) network infrastructure issue
or
2) Telemetry client machine doesn’t trust the root certificate which signs telemetry.cyberark.com.
Resolution
1. Please work in network team to ensure PowerShell command tnc 194.90.225.121 -port 443 can ping through from Telemetry client server
2. Please download the certificate from:
https://telemetry.cyberark.com/telemetry/services/apexrest/TelemetryServices
This link will display an Error message:
<errorCode>METHOD_NOT_ALLOWED</errorCode>
<message>HTTP Method 'GET' not allowed. Allowed are POST</message>
This is expected. Click the padlock icon next to the URL.
Click "Connection is secure".
Click "Certificate is valid" to display the certificate.
Click Details > Export.
Install the exported certificate to Trusted Root Certification Authorities Certificate Store.