APM CloudMonitor fails to connect to https

book

Article ID: 140681

calendar_today

Updated On:

Products

CA Application Performance Management Agent (APM / Wily / Introscope) CA Application Performance Management (APM / Wily / Introscope) CA App Synthetic Monitor

Issue/Introduction

After we changed the ASM API endpoints from http to https, it fails to connect with this error:

[WARN] [pool-1-thread-1] [CloudMonitorIntegration.CloudMonitorAgent] Problem while getting global Cloud Monitor data (lists of monitors and checkpoints): com.wily.apm.cloudmonitor.cmconnector.rest.RestConnectionProblem: Problem while connecting to Cloud Monitor: https://api.asm.ca.com/1.6//acct_token?user=<account email>&password=[**redacted**]

 

Cause

The APM Cloud Monitor agent connects to the API as a HTTP client and its trust relationship is built on the truststore of the JRE it is running in.


Environment

Release : 10.1

Component : APM Agents

Resolution

Make sure the agent is running with a recent Java 8 JDK, if it is running with Java 7, which is often true with the supplied Java version, please update the agent so that it will run with Java 8

Additional Information

This is the configuration option where the API URL is specified

 

apmcm.url = https://api.asm.ca.com/1.6

 

API access via HTTP will soon be removed so we advise all customers to update configuration to use HTTPS.

 

Also note that UIM probe cuegtw will require a similar update