Salesforce

Missing -clientConnectTimeout option in the ABL http client

« Go Back

Information

 
TitleMissing -clientConnectTimeout option in the ABL http client
URL Namemissing-clientconnecttimout-option-in-the-abl-http-client
Article Number000202206
EnvironmentProduct: OpenEdge
Version:11.7.x, 12.x - 12.5
OS: All supported platforms
Question/Problem Description

Https connection works fine unless the code from the article How to set the Connection Timeout for a request using OpenEdge HttpClient? is used to add -clientConnectTimout to the connection string. Then all the security parameters are missing and connection fails. 

SSL failure connecting to a REST Webservice site when using the ClientSocketConnectionParameters (CSCP) class.

Steps to Reproduce
Clarifying Information
Error MessageSecure Socket Layer (SSL) failure, error code 17424: SSL routines (9318)

Secure Socket Layer (SSL) failure. error code 336151568: SSL routines (9318)
Defect NumberOCTA-36435
Enhancement Number
Cause

OpenEdge.Net.HTTP.Lib.ABLSockets.ABLSocketLibraryBuilder class assumes that the set CSCP object is complete and does not add security parameters into the connection string. It's likely due to the SSL timing out due to incompatibility with the CSCP library and SSL 

SSL ciphers and protocols are not being set/picked up, because the ClientLibraryBuilder code assumes that the ClientSocketConnectionParameters object it was given is a complete object and does not set the SSL ciphers and/or protocols on it. 

 

 

Resolution

Upgrade to OpenEdge 12.6 or later. 

Workaround

Set the CSCP's security connection parameters directly:

ASSIGN 
       oCSCP                = NEW ConnectTimeoutCSCP()
       oCSCP:SslCiphers     = cCiphers
       oCSCP:SslProtocols   = cVer
       oCSCP:ConnectTimeout = 1000
       oCSCP:ServerNameIndicator = cServerName
       oCSCP:VerifyHost = NO                    
Notes
Keyword Phrase
Last Modified Date12/11/2025 6:26 PM

Powered by