Received fatal alert: handshake_failure using recorder

137 views
Skip to first unread message

Magnus Jensen

unread,
Dec 19, 2016, 6:53:41 AM12/19/16
to Gatling User Group

Hi,
I have set up the Gatling recorder to (record) the http-traffic. Added the certificate and the password in the config for the recorder, but when accessing the site (using proxy in the browser), I get the following errror in the log (in IntelliJ)

12:49:34.710 [ERROR] i.g.r.h.h.u.HttpsUserHandler - Handshake failure with mytesturl/91.229.21.247:443
javax.net.ssl.SSLException: Received fatal alert: handshake_failure
at sun.security.ssl.Alerts.getSSLException(Alerts.java:208)
at sun.security.ssl.SSLEngineImpl.fatal(SSLEngineImpl.java:1666)
at sun.security.ssl.SSLEngineImpl.fatal(SSLEngineImpl.java:1634)
at sun.security.ssl.SSLEngineImpl.recvAlert(SSLEngineImpl.java:1800)
at sun.security.ssl.SSLEngineImpl.readRecord(SSLEngineImpl.java:1083)
at sun.security.ssl.SSLEngineImpl.readNetRecord(SSLEngineImpl.java:907)
at sun.security.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:781)
at javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:624)

and the browser just hangs.

Any ideas why?


BR
Magnus

Magnus Jensen

unread,
Dec 19, 2016, 6:57:57 AM12/19/16
to Gatling User Group
BTW: If I add the cert and password into gatling.conf and write the first request "by hand" it works fine. 
Reply all
Reply to author
Forward
0 new messages