Failure occurred while handling session. Failed to read parameters from virtual channel. Reason: Problem opening virtual channel. Code: 50 (Codes: -1, -1)

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

Failure occurred while handling session. Failed to read parameters from virtual channel. Reason: Problem opening virtual channel. Code: 50 (Codes: -1, -1)

L2 Linker

I am getting this error message recently.. i don't know what has changed. I think it is related missing access rights on PSMshadowusers group... any ideas? PSMSR126E [2dbf9fe2-c0be-4077-a950-a58223665753] Failure occurred while handling session. PSMSR869E Failed to read parameters from virtual channel. Reason: PSMSR135E [2dbf9fe2-c0be-4077-a950-a58223665753] Problem opening virtual channel. Code: 50 (Codes: -1, -1)

15 REPLIES 15

L7 Applicator

Run the Hardening script on the PSM again.

Should be this one: "C:\Program Files (x86)\CyberArk\PSM\Hardening\PSMHardening.ps1".

 

Make sure the values inside the script for $PSM_CONNECT_USER and $PSM_ADMIN_CONNECT_USER are correct. Afterwards, restart the PSM service and test again.

 

L2 Linker

hmm.. i was investigating this more.. and it seems that slow network is causing this error.. i was incresing "timeout" settings heavily and now working ok.. weird error though 🙂

L3 Networker

Hi @Petri S​ 

 

Could you please tell me what timeout settings you exactly changed?

I'm bit fighting with a similar error:

PSMSR139E <Session Unique Identifier> Virtual Channel read operation failed. Code: <code>

But I'm not able to solve it with increasing:

Privileged Session Management - General Settings - Sessions Settings - VirtualChannelTimeout.

 

Thank you,

Krystian

L2 Linker

Hi, i was increasing all timeout settings related to psm connection.. I also noticed that this error is appearing only with new 10.4 interface.. old classic UI works ok.. what might cause this difference??

L3 Networker

The specific timeout setting is in Administration\Options\Connection Components\PSM-RDP/Target Settings : ConnectionComponentInitTimeout

L3 Networker

 You have the 9x PSM Connection component

 

Download and install Google Chrome Enterprise (versions 66 and above) to the PSM server(s). It is much easier to download the offline installer on a different machine, then transfer it to the PSM since IE security will not natively allow you to download it using Internet Explorer. The link to download Google Chrome for Enterprise is https://enterprise.google.com/chrome/chrome-browser/

 

2. Download the PSM-PVWA-v10 connection component from the Marketplace (also attached to this solution). 

 

3. Edit the PVConfiguration.xml file (located in the PVWAConfig safe) with a text editor (Notepad++ works great for this). Between the Connection Component tags within the PVConfiguration.xml file, insert the text from the PSM-PVWA-v10 xml file that you downloaded in step 2 to add this component to the list of configurable connection components in PVWA. See image below.

(Backup your PVConfiguration.xml file first in case you will need to revert back).

 

L2 Linker

Hi, hmm.. i can't see any attachments here... is it so that 10.4 version do not have updated PSM component by default? I can see "connection component" PSM-PVWA-V10 into list already..

L2 Linker

Field_Content_versions_oct20__06850000005PpaFAAS.png

L2 Linker

Is there way to disable new version 10 UI totally.. i am not biggest fan of that interface..

L2 Linker

Hi all. Im facing same issue, i did increased Timeout but still not worked? Any idea ?

L3 Networker

Also having same issues, anyone know how to resolve this issue?

L1 Bithead

Did you ever find a solution to this?

L2 Linker

Hi @Petri S​ ,

Just a couple of questions to get a better idea of what your PSM setup looks like before I offer a possible solution:

  1. What browser are you using to connect to the PVWA ?
  2. Are you using ActiveX, RDP file, or RDP file with RemoteApp ?
  3. Does the PSM-PVWA-v10 connection component work ?

L3 Networker

Remove DisableNewProtocol=Yes in basic_psm.ini

  • 1410 Views
  • 15 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!