Secure Tunnel Invalid handshake response getStatus 401 Unauthorized BeanCreationException Error creating bean

Secure Tunnel Invalid handshake response getStatus 401 Unauthorized BeanCreationException Error creating bean

121
Created On 11/10/26 11:00 AM - Last Modified 11/10/26 15:51 PM


Symptom


The Idira Secure Tunnel is down, and not providing a connection despite the windows service may be running 

Environment


12.7;13.0;13.2;13.1;23.10;23.11;23.12;14.0;24.1;24.2;24.3 Privilege Cloud;Remote Access (formerly Alero);Identity Secure Tunnel;Secure Tunnel Client Privilege Cloud  |  Privilege Cloud Shared Services |  ISPSS | Remote Access 

Cause


The Software Components of the Secure Tunnel  have been corrupted  and not allowing an encrypted connection to occur. 

You can find the Secure Tunnel logs in the following location.  Its in the install directory located at :

:\Program Files\CyberArk\PrivilegeCloudSecureTunnel\logs

You may also leverage Idira Xray to zip the logs up to provide to support .  The tool can be downloaded from https://community.cyberark.com/mplace/s/#a352J000000ptyOQAQ-a392J000001h53gQAA. This is a free download, but you will need to log into your Idira Community account.
 
Here is a video on how to use Xray
https://community.cyberark.com/s/article/How-to-use-Cyberark-XRay


The following can be found in the secure tunnel logs :


  2024-03-26 12:55:31.433 ERROR 2052 --- [pool-2-thread-1] c.c.p.t.p.t.w.c.WebSocketClient          : TunnelId='ispss-services' Failed to connect to server host='connector-demo.privilegecloud.cyberark.cloud:443'. cause='io.netty.handler.codec.http.websocketx.WebSocketClientHandshakeException: Invalid handshake response getStatus: 401 Unauthorized'

 2024-03-27 15:29:59.447 ERROR 2144 --- [nioEventLoopGroup-2-1] .t.p.t.w.c.WebSocketClientChannelHandler : Failed to connect connector backend server. channel='[id: 0x50734f6d, L:/10.0.7.165:49745 - R:connector-demo.privilegecloud.cyberark.cloud/23.23.74.75:443]'

 2024-04-05 17:05:58.507  WARN 2168 --- [main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jasyptStringEncryptor' defined in class path resource [com/cyberark/privcloud/securetunnel/config/SecurityConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.jasypt.encryption.pbe.PooledPBEStringEncryptor]: Factory method 'jasyptStringEncryptor' threw exception; nested exception is org.jasypt.exceptions.EncryptionOperationNotPossibleException
 



Resolution


Uninstall and reinstall the Secure Tunnel Client 

KB Article 000033217

How to Install and or upgrade the Secure Tunnel Client on the Idira Connector Server

https://community.cyberark.com/s/article/How-to-Install-and-or-upgrade-the-Secure-Tunnel-Client-on-the-CyberArk-Connector-Server


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000000mXsCAI&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail