Monday, December 7, 2015

GENERAL_MSG_CAT_SSL_ERROR]connect to host "" failed: [10054] Connection reset by peer"

"Error -27780: [GENERAL_MSG_CAT_SSL_ERROR]connect to host "" failed: [10054] Connection reset by peer"

 When you are replaying the script in VuGen, sometime you may get the below error.
"Error -27780: [GENERAL_MSG_CAT_SSL_ERROR]connect to host "" failed: [10054] Connection reset by peer"


Application is using SSL version TLSv1, however while running the script from Loadrunner, by default it is sending SSL version SSL2/3. This is the root cause of the problem


To avoid this error, you can follow either one of the steps mentioned below.

a) Include the below statement at the first line of Vuser_init section.


                web_set_sockets_option("SSL_VERSION","TLS"); 

b) In the recording options, Go to Port Mapping -> Options -> Click on "Enable auto SSL detection" and select SSL version as "TLS 1.x". Then Click on Update and save the changes.

Then regenerate the script with the updated settings.

1 comment:

  1. I am still getting the error....it works with 10 users but site getting down when increased to 50 users and getting again below error:
    GENERAL_MSG_CAT_SSL_ERROR]connect to host "" failed: [10054] Connection reset by peer"

    Pls help with another idea....

    ReplyDelete