"Error -27778: SSL protocol error when attempting to connect with host" in load runner

Recently i had some issues with SSL protocol error,while running the scripts in controller i am facing the "Error -27778: SSL protocol error when attempting to connect with host",so finally i got rid of that by using the below steps in the script

Keep the below code at the start of of script

use web_set_sockets_option("SSL_VERSION", "TLS");
    web_set_sockets_option("SSL_VERSION", "1");

This forces the SSL connection to the server to use version 1 of the SSL protocol rather than letting the server suggest a version during the connection handshake.

We had same issue on vugen 11.50 with new patch also then  we enabled the below setting
Run-Time Settings -> Preferences -> Select "WinInet Replay Engine instead of Sockets (Windows Only)."

7 comments:

Abinitio said...

Thanks for publishing so much knowledge of Load runner and asking for so little in return. We are providing online training classes. HADOOP ONLINE TRAINING

Upendra said...

to eliminate this intermittent SSL and “not a socket” errors that occurs when replaying the LoadRunner scenario in the controller or VuGen.

Modify your script(s) to include the following statements, these statement should be at the beginning of the script(s)

Vusert_int()

// Or

Action()

{

web_set_sockets_option("SSL_VERSION", "3");

web_set_sockets_option("MAX_CONNECTIONS_PER_HOST","1");
The first line web_set_sockets_option("SSL_VERSION", "3"); forces the SSL connection to use SSL version 3 instead of letting the server suggest a version during the connection handshake.

The second line web_set_sockets_option("MAX_CONNECTIONS_PER_HOST","1"); forces a single TCP connection to stay live between the Load Generator to the AUT servers. Ending the possibility of errors when LoadRunner sends data across that connection, if the server try to prematurely shutting down an existing connection

Praveen Kumar said...

Oracle dba online training by cheyat technologies

Course content : http://cheyat.com/oracle/oracle-dba-online-training-tutorials

For more info Email us : Trainings@cheyat.com

#cheyattechnologies #oracledbaonlinetraining

Konstantin Kuyantsev said...

thanks a lot

Konstantin Kuyantsev said...

thanks a lot

Anonymous said...

Thanks for the help bro :)

Anonymous said...

I am getting Error - 27743: Invalid Port [MsgId: MERR 27243]
Not able to proceed. Please help.
Using Load Runner 12.00