Getting intermittent RDP 2308 errors

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

Getting intermittent RDP 2308 errors

L0 Member

We're getting a number of cases where users are encountering the following when using RDP via the PVWA:

 

Error code 2308: The connection to the remote computer was lost, possibly due to network connectivity problems. Try connecting to the remote computer again.

 

These will often not be there when the user goes to access the same account/server later on.

 

Looking at the PSM logs, they are filled with:

 

PSMSR504W [04fe7f93-829c-48be-8312-a53135b4ec63] An exception occurred during the session flow's exception handling procedure (Handling stage: [DisplayErrorNotification], Internal exception: [PSMSC050E Failed to get user token of TS session [291] (System error [1008]: An attempt was made to reference a token that does not exist.)])

 

[29/11/2022 | 11:38:14] | :: | PSMSR948W [04fe7f93-829c-48be-8312-a53135b4ec63] Session keeper did not logoff the session. The session will be forcefully logged off. (Session id: 291). Reason: 946E

 

[04fe7f93-829c-48be-8312-a53135b4ec63] Session keeper logoff timeout reached while waiting for the session to logoff. (Session id: 291)

 

[29/11/2022 | 11:38:14] | :: | PSMSR966W [04fe7f93-829c-48be-8312-a53135b4ec63] Failed to logoff the session (Diagnostic information: 2). (Session id: 291). Reason: PSMSC050E Failed to get user token of TS session [291] (System error [2]: The system cannot find the file specified.)

 

[29/11/2022 | 11:38:14] | :: | PSMSR126E [04fe7f93-829c-48be-8312-a53135b4ec63] Failure occurred while handling session. PSMSR1258E REST call failed. reason: PSMSR1300E Failed to initialize REST Handler exception (Codes: -1, -1)

 

[29/11/2022 | 11:38:14] | :: | PSMSRSRU001E [04fe7f93-829c-48be-8312-a53135b4ec63] No recording files to upload

 

The only suggested solution I've seen is https://cyberark-customers.force.com/s/article/00004764 but this does not resolve the issue.

 

Any help would be much appreciated.

1 REPLY 1

L6 Presenter

In my opinion, the logs you are receiving from the PSM are more the 'cleanup' activities that happen after a failed session rather than an indication of the problem itself. I would certainly focus on the Windows error 2308 you are receiving. You may be able to find more descriptive errors in the Event Viewer > Application Logs on your connector server, or by reviewing the RDP connections inbound to the target server in Event Viewer.

 

Some people online have had success solving this issue by restarting the following services on the target server:

 

  1. Remote Desktop Services
  2. Remote Desktop Services UserMode Port Redirector

 

 

 

  • 4501 Views
  • 1 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!