Problems connecting to some target devices via PSM

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

Problems connecting to some target devices via PSM

L1 Bithead

Hello,

 

Some of our internal employees are having trouble to connect to Target windows devices via PSM-RDP.

 

The problem is presented in two ways:

 

  • The user not even get to login to the target machine.

When this happens, this kind of log is seen in <session_id>.RDP.log

[14/11/2024 | 13:16:58.787656] | {pid=18968} | {tid= 15276} | class CPSMProtocolSessionBase * | PSM\PSMServerProtocol\PSMProtocolSessionBase.cpp(161) | :: | PSMPR049I Packet has been received (Packet identifier: VACK) [14/11/2024 | 13:16:58.787682] | {pid=18968} | {tid= 15276} | class CCAGThread * | Caso\(492) | :: | before exec [14/11/2024 | 13:16:58.787705] | {pid=18968} | {tid= 15276} | class CPSMAuditTransferJob * | PSM\PSMRDPClient\PSMAuditTransferJob.cpp(216) | :: | PSMRD089E Job is not valid, skipping [Execute] for job [PSMAuditTransferJob] [14/11/2024 | 13:16:58.787720] | {pid=18968} | {tid= 15276} | class CCAGThread * | Caso\(492) | :: | before post [14/11/2024 | 13:16:58.787740] | {pid=18968} | {tid= 15276} | class CPSMAuditTransferJob * | PSM\PSMRDPClient\PSMAuditTransferJob.cpp(362) | :: | PSMRD089E Job is not valid, skipping [PostExecute] for job [PSMAuditTransferJob] [14/11/2024 | 13:16:58.787756] | {pid=18968} | {tid= 15276} | class CCAGThread * | Caso\(492) | :: | After post [14/11/2024 | 13:16:58.787771] | {pid=18968} | {tid= 15276} | class CCAGThread * | Caso\(492) | :: | after runjob [14/11/2024 | 13:16:58.787784] | {pid=18968} | {tid= 15276} | class CCAGThread * | Caso\(492) | :: | before getqueue [14/11/2024 | 13:16:59.810559] | {pid=18968} | {tid= 18504} | class CPSMRDPClientDlg * | PSM\PSMRDPClient\PSMRDPClientDlg.cpp(1370) | :: | PSMRD115I Session has been disconnected. (Diagnostic information: 3) [14/11/2024 | 13:16:59.810614] | {pid=18968} | {tid= 18504} | class CCAGThreadPool * | Caso\(677) | :: | Thread Pool is stopping ... [14/11/2024 | 13:16:59.810641] | {pid=18968} | {tid= 18504} | class CCAGThreadPool * | Caso\(756) | :: | Thread Pool sent stop signal successfully. [14/11/2024 | 13:16:59.810664] | {pid=18968} | {tid= 15276} | class CCAGThread * | Caso\(492) | :: | after getqueue [14/11/2024 | 13:16:59.810710] | {pid=18968} | {tid= 15276} | class CCAGThread * | Caso\(492) | :: | before getting new job [14/11/2024 | 13:16:59.810729] | {pid=18968} | {tid= 15276} | class CCAGThread * | Caso\(492) | :: | got new job [14/11/2024 | 13:16:59.810750] | {pid=18968} | {tid= 15276} | class CCAGThread * | Caso\(492) | :: | breaking... [14/11/2024 | 13:16:59.810768] | {pid=18968} | {tid= 15276} | class CCAGThread * | Caso\(492) | :: | Thread 3bac 854 is exiting [14/11/2024 | 13:16:59.811465] | {pid=18968} | {tid= 18504} | class CPSMRDPClientException * | PSM\PSMRDPClient\PSMRDPClientException.cpp(28) | :: | PSMRD002E PSM RDP exception occurred. PSMRD001E User was disconnected from remote machine. Reason: [Error connecting to remote computer:] (Code: 3) (Codes: -1, -1) [14/11/2024 | 13:16:59.811539] | {pid=18968} | {tid= 18504} | class CPSMRDPClientDlg * | PSM\PSMRDPClient\PSMRDPClientDlg.cpp(237) | :: | PSMRD144I Showing timed message box with the following message: PSMRD001E User was disconnected from remote machine. Reason: [Error connecting to remote computer:] (Code: 3)
  • User connects but after some seconds get disconnected

When this happens, this kind of log is seen in <session_id>.RDP.log

[14/11/2024 | 14:22:20.018126] | {pid=16280} | {tid= 14000} | class CPSMProtocolSessionBase * | PSM\PSMServerProtocol\PSMProtocolSessionBase.cpp(161) | :: | PSMPR049I Packet has been received (Packet identifier: VACK) [14/11/2024 | 14:22:20.018150] | {pid=16280} | {tid= 14000} | class CCAGThread * | Caso\(492) | :: | before exec [14/11/2024 | 14:22:20.018173] | {pid=16280} | {tid= 14000} | class CPSMAuditTransferJob * | PSM\PSMRDPClient\PSMAuditTransferJob.cpp(216) | :: | PSMRD089E Job is not valid, skipping [Execute] for job [PSMAuditTransferJob] [14/11/2024 | 14:22:20.018187] | {pid=16280} | {tid= 14000} | class CCAGThread * | Caso\(492) | :: | before post [14/11/2024 | 14:22:20.018205] | {pid=16280} | {tid= 14000} | class CPSMAuditTransferJob * | PSM\PSMRDPClient\PSMAuditTransferJob.cpp(362) | :: | PSMRD089E Job is not valid, skipping [PostExecute] for job [PSMAuditTransferJob] [14/11/2024 | 14:22:20.018221] | {pid=16280} | {tid= 14000} | class CCAGThread * | Caso\(492) | :: | After post [14/11/2024 | 14:22:20.018235] | {pid=16280} | {tid= 14000} | class CCAGThread * | Caso\(492) | :: | after runjob [14/11/2024 | 14:22:20.018249] | {pid=16280} | {tid= 14000} | class CCAGThread * | Caso\(492) | :: | before getqueue [14/11/2024 | 14:22:52.856551] | {pid=16280} | {tid= 20900} | class CPSMRDPClientDlg * | PSM\PSMRDPClient\PSMRDPClientDlg.cpp(1442) | :: | PSMRD121I User is connected [14/11/2024 | 14:22:53.594131] | {pid=16280} | {tid= 20900} | class CPSMRDPClientDlg * | PSM\PSMRDPClient\PSMRDPClientDlg.cpp(1450) | :: | PSMRD014I Login is complete, user is connected [14/11/2024 | 14:22:53.594194] | {pid=16280} | {tid= 20900} | class CPSMAuditEventsController const * | PSM\PSMRDPClient\PSMAuditEventsController.cpp(130) | :: | PSMRD072I Event named [RDPConnectedEvent] is set [14/11/2024 | 14:22:53.594221] | {pid=16280} | {tid= 20900} | class CPSMRDPClientDlg * | PSM\PSMRDPClient\PSMRDPClientDlg.cpp(1495) | :: | PSMRD150I User input will not be blocked while audit agent is invoked [14/11/2024 | 14:23:42.029812] | {pid=16280} | {tid= 20900} | class CPSMRDPClientDlg * | PSM\PSMRDPClient\PSMRDPClientDlg.cpp(1370) | :: | PSMRD115I Session has been disconnected. (Diagnostic information: 4) [14/11/2024 | 14:23:42.029884] | {pid=16280} | {tid= 20900} | class CCAGThreadPool * | Caso\(677) | :: | Thread Pool is stopping ... [14/11/2024 | 14:23:42.029928] | {pid=16280} | {tid= 20900} | class CCAGThreadPool * | Caso\(756) | :: | Thread Pool sent stop signal successfully. [14/11/2024 | 14:23:42.029951] | {pid=16280} | {tid= 14000} | class CCAGThread * | Caso\(492) | :: | after getqueue [14/11/2024 | 14:23:42.030002] | {pid=16280} | {tid= 14000} | class CCAGThread * | Caso\(492) | :: | before getting new job [14/11/2024 | 14:23:42.030020] | {pid=16280} | {tid= 14000} | class CCAGThread * | Caso\(492) | :: | got new job [14/11/2024 | 14:23:42.030040] | {pid=16280} | {tid= 14000} | class CCAGThread * | Caso\(492) | :: | breaking... [14/11/2024 | 14:23:42.030059] | {pid=16280} | {tid= 14000} | class CCAGThread * | Caso\(492) | :: | Thread 36b0 854 is exiting [14/11/2024 | 14:23:42.031165] | {pid=16280} | {tid= 20900} | class CPSMRDPClientException * | PSM\PSMRDPClient\PSMRDPClientException.cpp(28) | :: | PSMRD002E PSM RDP exception occurred. PSMRD001E User was disconnected from remote machine. Reason: [Client disconnected due to internal protocol error:Error connecting to remote computer:] (Code: 4) (Codes: -1, -1) [14/11/2024 | 14:23:42.031317] | {pid=16280} | {tid= 20900} | class CPSMRDPClientDlg * | PSM\PSMRDPClient\PSMRDPClientDlg.cpp(237) | :: | PSMRD144I Showing timed message box with the following message: PSMRD001E User was disconnected from remote machine. Reason: [Client disconnected due to internal protocol error:Error connecting to remote computer:] (Code: 4)

Does anyone know what may be causing this? Some days ago I enabled TLS 1.0 in this PSM due to the need of it to connect with some Windows 7 target machines. I don't lnow if this can be related.

 

 

4 REPLIES 4

L4 Transporter

Could be simply network related if its not a widespread issue.

From local machine try: ping <psmserver> -t and observe if you have any packet loss.

also from PSM server try: ping <targetMachine> -t for any packet loss.

I have had similar issues in the past and they have largely been network related issues.

L6 Presenter

Please refer to this CyberArk Knowledge Article: https://community.cyberark.com/s/article/PSMRD001E-User-was-disconnected-from-remote-machine-Reason-reason-Code-error-code

 

The first failure looks like error code 3, which is most commonly lack of connectivity: "Your Remote Desktop Services session has ended, possibly for one of the following reasons: The administrator has ended the session. An error occurred while the connection was being established. A network problem occurred. For help solving the problem, see "Remote Desktop" in Help and Support."

 

The second one looks like code 4, which could be "PSM and target server do not support the same cipher suites." from the CyberArk KA, but isn't mentioned on the Microsoft KB - perhaps it is older or newer.

L4 Transporter

Hi @Lucas Goncalves​ 

 

Since several community members answered your question, could you kindly share if any of these solutions resolved your issue?

If so, could you please mark the appropriate answer as "Select as Best" to assist other community members.

 

If the issue is still relevant, I would advise raising a ticket with our Support team for further assistance.

 

Thank you, Liad

Hi @LiadD (CyberArk Community Manager) (CyberArk)​ 

 

The issue is still relevant. I'll probably have to raise a ticket with Support team.

 

For error code 3, PSM is accessible for the users and the Target machine is accessible by PSM. It's not a widespread issue, some other users can access the same target machine from the same PSM without any problem.

 

For error code 4, Cipher suites are the same at PSM and Target Machine.

 

I really don't know what kind of troubleshooting I have to do.

  • 718 Views
  • 4 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!