Jmeter (Script) Monitors fail with an error "Remote host closed connection during handshake."

book

Article ID: 4295

calendar_today

Updated On:

Products

CA Application Synthetic Monitor (ASM) CA App Synthetic Monitor NIMSOFT CLOUD USER EXPERIENCE MONITOR

Issue/Introduction

  Script (Jmeter) Monitors fail with the error "Remote host closed connection during handshake.".

  Checking the monitor details shows an error such as "Non HTTP response code: javax.net.ssl.SSLHandshakeException" or "Non HTTP response message: Remote host closed connection during handshake". 

Other monitors work fine, and no users are reporting problems with accessing the monitored page.

Cause

  This can be caused by a problem with a Jmeter client on the monitoring station negotiating the security protocol to use. 

Environment

  ASM monitor using Jmeter scripts

Resolution

To resolve this issue, adjust the settings of the monitor.

1) Open the monitor settings

2) Click More Options

3) Towards the top is the section Options->    Encryption

4) Change the Encryption setting from Negotiate to TLS 1.2 (or another protocol supported by the site)

5) Save the monitor

 

This will generally resolve protocol negotiation issues