The APM Web Server Agent is unable to collect Metrics - Errors include 'No appropriate protocol' and 'Could be due to unsupported protocol or cipherSuite being used'

Document ID : KB000008688
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

The APM Web Server Agent is unable to collect Metrics.

For CA APM for Web Servers Agent 9.7 the following error is seen in the log files:

 [ERROR] [WebServerMonitor] Could not get metrics from server : https://mywebserver:443/server-status 

javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate) 

 

When using version 10.5.1 the following error is seen in the logs:

[ERROR] [WebServerMonitor] Could not get metrics from server : https://mywebserver:443/server-status Could be due to unsupported protocol or cipherSuite being used 

javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure

Environment:
CA APM for Web Servers Agent 9.7 and above monitoring a Web Server expecting a TLS connection.
Cause:

The default protocol for connecting to the web server is SSL. If your web server is expecting a TLS connection and you haven't specified this in the configuration file, then you will see the above errors.

Resolution:

Add the Protocol="TLS" parameter to the Web Server definition in the WebServerConfig.xml file. For example:

<WebServer Type="Apache:IBM_HTTP_SERVER" Enabled="true" ServerURL="https://mywebserver:443/server-status" Protocol="TLS" 

DisplayName="IB-mywebserver-was" RefreshFrequencyInSeconds="15" Mode="Permissive"/>

Additional Information: