Error -27778: [GENERAL_MSG_CAT_SSL_ERROR]connect to host "10.1.22.112" failed: [10054] Connection reset by peer [MsgId: MERR-27778]

2,408 views
Skip to first unread message

hitesh

unread,
Dec 8, 2015, 9:47:11 AM12/8/15
to LoadRunner

Hi ,

I am getting below error:
Error -27778: [GENERAL_MSG_CAT_SSL_ERROR]connect to host "10.1.22.112" failed: [10054] Connection reset by peer   [MsgId: MERR-27778]

I have recorded the script in Truclient and then convert into Web http/html script, after replay the script i am getting error.

Also tried with to add those.but no solution:

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");

please assist me.

Thanks

Kevyland

unread,
Dec 8, 2015, 3:03:08 PM12/8/15
to LoadRunner
When i locate the ip it say:  Warning : This is not a valid IP address on the Internet because it belongs to a private network. It does not identify a unique destination as it is only meant to be used inside local area networks

varun yadav

unread,
Dec 9, 2015, 9:10:07 AM12/9/15
to LR-Loa...@googlegroups.com
Hi Hitesh,

1. Make sure the protocol is http or https, accordingly pass the correct URL in the script.
2. If it's https and still no progress, use web_set_sockets_option for SSL_Version and pass the appropriate version
3. In the function you listed, I doubt on 2nd one, web_set_sockets_option("MAX_CONNECTIONS_PER_HOST","1"); istead of 1 pass some higher value i.e. 3 or 5


Kindly revert back with the option which fixed your problem.

Thanks,
Varun

Warm Regards,
Varun Yadav
8860282909

--
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/ddf09c59-07f7-44ad-a1c9-d23a1f0ba550%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

André Luyer

unread,
Dec 9, 2015, 9:10:07 AM12/9/15
to LoadRunner
"[10054] Connection reset by peer" means that the connection was forcibly closed by the remote host -- in other words a TCP Reset packet was received ( https://msdn.microsoft.com/en-us/library/windows/desktop/ms740668(v=vs.85).aspx ).

Try this:
web_set_sockets_option("SSL_VERSION", "TLS");
It means "set the preferred version to TLS 1.0".

The web_set_sockets_options your tried are not applicable in this case.

If the connection to this private IP-address was blocked by, for example, a firewall than the message would be slightly different (MERR-27780).

André

Fëanor

unread,
Dec 9, 2015, 12:22:32 PM12/9/15
to LoadRunner
Use


web_set_sockets_option("SSL_VERSION", "TLS");

At the top of the script.

Hitesh Tomar

unread,
Dec 9, 2015, 12:22:38 PM12/9/15
to LR-Loa...@googlegroups.com, varuny...@gmail.com
Hi Varun,

Thanks for pointing me in right direction.

I used the web_set_sockets_option("SSL_VERSION", "TLS1.2");  , Now script run's fine., 

Thanks,




Reply all
Reply to author
Forward
0 new messages