Quantcast
Channel: LoadRunner Practitioners Forum topics
Viewing all articles
Browse latest Browse all 3978

Support Tip: Error: -27778 : SSL protocol error when attempting to read with host.

$
0
0

When running 1 Vuser on the Controller against localhost, the following error occurs even though the script replays fine in VuGen:

 

Error: -27778 : Action1.c(xx): Error: SSL protocol error when attempting to read with host "abcd.com"
Action1.c(xx): t=82568ms : error:140943FC:SSL routines:SSL3_READ_BYTES:sslv3 alert bad record mac.

 

Consider the following possible workarounds to this intermittent SSL error when replaying a LoadRunner scenario:

 

1. Add the following statement to the beginning of the script:


     web_set_sockets_option("SSL_VERSION", "3");


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

 

2. Add the following statement to the beginning of the script:


   web_set_sockets_option("MAX_CONNECTIONS_PER_HOST","1");


This forces a single TCP connection from the Load Generator to the server under test, thus eliminating the possibility of the server prematurely shutting down an existing connection and causing errors when LoadRunner sends data using that connection.

 

It has been found that changing the number of open connections does not cause a significant change in performance. Performance issues are more likely to be caused by other factors such as network congestion at a router/switch/hub than by the number of maximum connections allowed.

 

3. Disable the LoadRunner Controller Web Page Diagnostics if there is a proxy server located between the Load Generator and the server under test. To disable Web Page Diagnostics from the LoadRunner Controller:

 

    a. In the LoadRunner Controller Design tab go to Diagnostics->Configuration
    b. Select "Disable" tab for "Web Page Diagnostics"
    c. Click "OK" to close the diaglogue to complete the setup
    d  Save the scenario and run it


Note, this workaround removes the Web Page Component Breakdown data from a subsequent Analysis session using  Graph -> Add New Graph -> Web Page Diagnostics.

 

4. If none of the above helps, then use the WinInet Replay engine. To do so, go to Run-Time Settings -> Preferences -> Select "WinInet Replay Engine instead of Sockets (Windows Only)."

 

You may refer below KB link for more details:

 

https://softwaresupport.hp.com/group/softwaresupport/search-result/-/facetsearch/document/KM171292


Viewing all articles
Browse latest Browse all 3978

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>