PSM Sessions Disconnects with Error PSMRD122E

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Welcome Idira to LIVEcommunity!

Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.

Meet Idira

PSM Sessions Disconnects with Error PSMRD122E

L1 Bithead

PSM user sessions are being disconnected at random. Upon disconnection, users receive the following error message:

"PSMRD122E: The session cannot continue securely and therefore will be closed."

Details:

  • The error occurs immediately when users attempt to install an application.
  • This behavior has been observed consistently across three different servers.
  • Once disconnected, any attempt to reinitiate the session results in the same error being displayed again.
  • The same installation process works without issue when performed outside of CyberArk, indicating the problem is isolated to PSM sessions.

 

In logs nothing we see that matches the description as mentioned below:

PSM Sessions Disconnects With Error PSMRD122E Caused By PSMRD135E (Audit Agent Error)

 

Also checked there is no UDP traffic allowed to/from PSM servers only TCP/TLS.

6 REPLIES 6

L4 Transporter

Hello @ARUSH BHATT​ 

 

By default, RDP uses both TCP and UDP port to establish the session on port 3389. in your case, either you can disable the UDP or enable the firewall for UDP port as well.

You can disable the RDP using below reg add command

REG ADD "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\Client" /v fClientDisableUDP /t REG_DWORD /d 1 /f

L4 Transporter

Hello @ARUSH BHATT​ 

 

By default, RDP uses both TCP and UDP port to establish the session on port 3389. in your case, either you can disable the UDP or enable the firewall for UDP port as well.

You can disable the RDP using below reg add command

REG ADD "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\Client" /v fClientDisableUDP /t REG_DWORD /d 1 /f

L1 Bithead

We don't want to enable UDP, but is there any solution to the issue where session disconnects as soon as the user initiates the installation of the application?

L7 Applicator

Hi @ARUSH BHATT​ 

 

  • Please check whether PSMRecordings safe is full
  • Please put the AppLokcer rules in Audit mode
  • If putting AppLocker rules into Audit mode helps, then test with that app installer and review PSMAppLocker.log
  • Note which file/path gets blocked right before disconnect.
  • Add that file/path into PSMConfigureAppLocker.xml
  • Re-run PSMConfigureAppLocker.ps1
  • If the above steps doesn't help, then run Process Monitor on the target server just before starting the installation within the PSM session. Monitor for "access denied" results. This can help you find out exactly which file, registry key, or process is being blocked by the target system's security policies.

 

hope it helps !

L4 Transporter

Hello @ARUSH BHATT​ 

 

Please refer to below discussion, it may help you.

 

https://community.cyberark.com/s/feed/0D52J00006YrDd3SAF

 

if this doesn't solve the issue, please post psmconsole and component logs, also check the event viewer logs at the time of disconnection.

L4 Transporter

Hello @ARUSH BHATT​ 

 

Please refer to below discussion, it may help you.

 

https://community.cyberark.com/s/feed/0D52J00006YrDd3SAF

 

if this doesn't solve the issue, please post psmconsole and component logs, also check the event viewer logs at the time of disconnection.

  • 299 Views
  • 6 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!