Intermittent RDP internal error on PSM sessions

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

Intermittent RDP internal error on PSM sessions

L1 Bithead

Hello,

 

We are facing an intermittent issue with our RDP sessions using PSM. Sometimes users are working normally on an RDP session and are brutally disconnected from it session with a "Internal Error occured".

I identified an issue which occurred the 24/09/2019 7h53 with following error in PSMConsole.log :

 

[24/09/2019 | 07:53:05] | :: | PSMSR948W [6ea65ad0-4706-46f6-903a-b0a03293710d] Session keeper did not logoff the session. The session will be forcefully logged off. (Session id: 178). Reason: PSMSR511E The SessionKeeper process already shutdown but with failed exit code 1073807364.

[24/09/2019 | 07:53:05] | :: | PSMSR966W [6ea65ad0-4706-46f6-903a-b0a03293710d] Failed to logoff the session (Diagnostic information: 2). (Session id: 178). Reason: PSMSC050E Failed to get user token of TS session [178] (System error [1008]: An attempt was made to reference a token that does not exist.)

 

I also activate tracelog and found following log in PSMTrace.log :

 

PSMSR003I PSM listener received a session change message (Code 4) for session id 178

PSMSR257I PSM Listener signal about session 178 disconnection

PSMSR009I Privileged Session Manager exception occurred. PSMSR951E Session uuid was not found in session synchronizer. Diagnostic information: 1, (Session UUID: 6ea65ad0-4706-46f6-903a-b0a03293710d) (Codes: -1, -1)

 PSMSR009I Privileged Session Manager exception occurred. PSMSR952E Failed to remove the session parameters from the session synchronizer (Session UUID: 6ea65ad0-4706-46f6-903a-b0a03293710d). Reason: PSMSR951E Session uuid was not found in session synchronizer. Diagnostic information: 1, (Session UUID: 6ea65ad0-4706-46f6-903a-b0a03293710d) (Codes: -1, -1)

 

Both used PSM used are hardened and was deployed with a "fresh installation"

In RemoteDesktopServices-RdpCoreTS I Have some warning like :

RDP_TCP: An error was encountered when transitioning from StateUnknown in response to Event_Disconnect (error code 0x80070040).

or

TCP socket READ/Write operation failed, error 64

 

I tried to disable advanced RemoteFX RemoteApp graphics, Use only TCP on RDP, ...

 

Is these errors may be due to an network latency / intermittent disconnections ? Or any other issue ?

 

Another strange part is that I have some error like :

PSMDU014E Error performing dispatcher's request [GetSessionPropertyBufferLength]. Reason: PSMDU032E Session property [EnableTrace] / [WaitBeforeElementsLoad] / [DriverFolder] is not present

 

May it be linked too ? I didn't found a solution for these problems. Someone have any idea ?

 

Thanks a lot !

Arnaud

5 REPLIES 5

L3 Networker

Any issue with CALs?

L4 Transporter

You can try to install one of standard monitoring tools on your PSM server to check for connectivity issues. If this doesn't help, meaning that you don't see any network timeouts, then it is better to contact with official CyberArk support with this question.

"session synchronizer" problems are not easy to be troubleshooted, they require that you provide all relevant system (Application, System) and Remote Desktop Services (RDS) logs and to enable advanced debugging for RDS and PSM. Such cases may be even escalated to the CyberArk development team.

L1 Bithead

Hello,

 

Thanks for replies,

 

I performed lot of searchs on this forum and tried to add gracePeriod in PVconfiguration.xml file.

Since I made this modification, it seems to be ok.

 

I will monitor it and will give you a feedback.

 

Thanks

Arnaud

L4 Transporter

Hi @Arnaud GIRARD​ , I could not find parameter named gracePeriod in context of PSM. Can you please specify additional details or references from documentation?

L1 Bithead

Hello,

 

There is no official documentation, I only test the solution presented here :

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

 

Arnaud

  • 5478 Views
  • 5 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!