Cadet 3rd Class
Cadet 3rd Class
113 views

SSl Protocol Version not supported

M getting the Below Error while executing the Script, Please do let me know, what's the fix to be given.

 

Action.c(321): Continuing after Error -27776: [GENERAL_MSG_CAT_SSL_ERROR]read to host "mt2-211-prf-sea-api-core.hds.ineight.com" failed: [10054] Connection reset by peer
This is probably because the SSL protocol version is not supported. Try switching the TLS/SSL version using "web_set_sockets_option" API. [issued at Action.c(487)] [MsgId: MERR-27776]
End auto log messages stack.

0 Likes
3 Replies
Micro Focus Expert
Micro Focus Expert

Please consult your development team which SSL/TLS version is used, and explicitly set the SSL version as below.

 

Find the step reporting this error and put following code before it:

 

web_set_sockets_option("PRINT_SSL_INFO",
		"1");
	
web_set_sockets_option("SSL_VERSION",
		"AUTO");

 

 

If it doesn't fix the connection problem, then pls provide the logs in output (open full log options in RTS before run) and LR version in use.

Commander Commander
Commander

Not to distract from the excellent advice you've been receiving from other sources, I have also found that the error message you reported is a default message when it doesn't have any logic branch available to it. In other words, just because that's the message you receive, don't necessarily get hung up trying to see how that applies to your situation. This is especially true when it suggests you change to SSL 2/3. No one should be using SSL anything. That was so 1995. We're in the realm of TLS 1.3, my friend. TLS 1.2 is the absolute oldest version any viable entity should be using.
0 Likes
Vice Admiral Vice Admiral
Vice Admiral

what version of LRP are you using ?

 

The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.