CA Strong Auth startup error

book

Article ID: 131558

calendar_today

Updated On:

Products

CA Rapid App Security CA Advanced Authentication CA API Gateway

Issue/Introduction



After installing the CA Strong Auth service, it is failing to start with the error 

04/15/19 09:29:54.293 WARN STARTUP 00001190 00WFMAIN - Caught XFCryptoException in ArWFCryptoCache::decrypt. ErrCode : 20207, ErrMsg : [Arcot Exception,Uncatalogued Error: error in deviceName(default nee 'S/W').decrypt: Arcot Exception,Uncatalogued Error: padding indicated for decrypted text which is shorter than the padding length for deviceName(default nee 'S/W')] 
04/15/19 09:29:54.294 FATAL STARTUP 00001190 00WFMAIN - Caught ArWFException in WebFortFrameworkImpl::init while Initializing Cache. Err : Arcot Exception,Uncatalogued Error: error in deviceName(default nee 'S/W').decrypt: Arcot Exception,Uncatalogued Error: padding indicated for decrypted text which is shorter than the padding length for deviceName(default nee 'S/W') 

Environment

9.x

Resolution

The issue exists in odbc.ini file and the parameter WireProtocolMode=1 is causing the behavior observed, here is more information on this parameter - 

WireProtocolMode 
Purpose 
Specifies whether the driver optimizes network traffic to the Oracle server. 
Valid Values 
1 | 2 
Behavior 
If set to 1, the driver does not optimize network traffic when communicating with the Oracle server. 
If set to 2, the driver optimizes network traffic for result sets that contain repeating data in some or all of the columns when the repeating data is in consecutive rows. It also optimizes network traffic if the application is updating or inserting images, pictures, long text data, or binary data. 
Notes 
*This connection property can affect performance. In some scenarios, setting the value to 1 may produce better results. 

When the value is set to 1, it seems to dropping some packets and causing the behavior. To resolve the issue this value can be removed from DSN entry or the value can be set to 2.