GENERAL_MSG_CAT_SSL_ERROR

871 views
Skip to first unread message

amit gupta

unread,
Aug 31, 2015, 11:25:29 AM8/31/15
to LR-Loa...@googlegroups.com
Hi,

I am getting error in the LR script "Error -27778: [GENERAL_MSG_CAT_SSL_ERROR]connect to host "localhost" failed: [10054] Connection reset by peer"

Initially I was getting error as below

 Error -27776: SSL protocol error when attempting to connect with host "localhost"   [MsgId: MERR-27776]
 Error -27762: Request "https://localhost:26143/skypectoc/v1/pnr/parse" failed   [MsgId: MERR-27762]

There was skype running on laptop which I stopped and restart the World wide web services on Windows machine. Also I add 

web_set_sockets_option("SSL_VERSION", "3");

Which removes these error and than I am getting GENERAL_MSG_CAT_SSL_ERROR. How to resolve.

Thanks in advance.

-Amit

perft...@gmail.com

unread,
Sep 1, 2015, 8:28:27 AM9/1/15
to LoadRunner

Sudhir Kumar

unread,
Sep 1, 2015, 8:28:27 AM9/1/15
to LoadRunner
Add the following lines at the start of the Action()
web_set_sockets_option ("CLOSE_KEEPALIVE_CONNECTIONS", "1");
web_set_sockets_option("MAX_CONNECTIONS_PER_HOST","1");
web_set_sockets_option("IGNORE_PREMATURE_SHUTDOWN", "1");


You can also disable log for "Data Returned by Server"(if it is enabled) because as some applications can have big HTML pages with a lot of resources causing the connection to be reset on replay.

amit gupta

unread,
Sep 1, 2015, 8:07:33 PM9/1/15
to LR-Loa...@googlegroups.com
Thanks for the pointers.

This was happening due to the Skype plugin. I removed the plugin and there was no errors. 

Regards,
Amit

--
You received this message because you are subscribed to the Google Groups "LoadRunner" group.
To unsubscribe from this group and stop receiving emails from it, send an email to LR-LoadRunne...@googlegroups.com.
To post to this group, send email to LR-Loa...@googlegroups.com.
Visit this group at http://groups.google.com/group/LR-LoadRunner.
To view this discussion on the web visit https://groups.google.com/d/msgid/LR-LoadRunner/3ba9ba68-639a-498f-9a99-32e785f4ce14%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

dikshith

unread,
Sep 7, 2015, 11:34:33 AM9/7/15
to LR-Loa...@googlegroups.com
Use this version of SSL in Web Sockets.

web_set_sockets_option("TLS", "1");

Reply all
Reply to author
Forward
0 new messages