PSMIN136W An error occurred while handling the messaging server client. Error: PSMSR891E Failed to handle the session logon request. Diagnostic information: 2, Reason: PSMSR1007E Unknown message session logon request received
355
Created On 11/10/26 10:57 AM - Last Modified 11/10/26 12:55 PM
Symptom
GUI error:
The privileged session could not be established securely. Try to connect again though the Password Vault Web Access. If this problem persists, contact your system administrator.
BUT this error message is occurring for all Connections that are using the same PSMconnect ID, at random occurrences throughout the day. After some time the connections appear to work again. Or after restarting PSM services all connections seems to be working again.
In the PSMConsole.log you may also see:
PSMIN136W An error occurred while handling the messaging server client. Error: PSMSR891E Failed to handle the session logon request. Diagnostic information: 2, Reason: PSMSR1007E Unknown message session logon request received
Environment
N/A;9.8;9.9;9.9.5;9.10;10.0;10.1;10.2;10.3;11.1;11.2;11.3;11.4;11.5 PAS
PSM
Cause
1. We suspect that the problem is one or more of the following 3 Windows Updates (KBs): KB3175024, KB3185278, and KB3172605 (http://discussions.citrix.com/topic/381676-session-ids-growing-higher/). These KBs are causing the session IDs to not be recyclable and so the sessions keep getting an higher and higher number of session ID. When the session ID reached 256 or 512, the PSM and the PSMCredentialProvider can't communicate anymore.
2. It seems that the epconsole.exe 3rd party process leaves zombie processes behind and may be causing those leaked sessions. it seems that the process belongs to an AV software called BitDefender.
3. In later versions of PSM with RemoteApp enabled, there are also reports of the same behaviour when session IDs go more than 2000.
3. In later versions of PSM with RemoteApp enabled, there are also reports of the same behaviour when session IDs go more than 2000.
Resolution
1. Disable Microsoft's new feature with the following steps:
- Under "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Kernel", create a SeTokenDoesNotTrackSessionObject value (it should be a reg REG_DWORD value) and set to 1.
- Reboot the PSM Server
2. Please check with the customer if the process epconsole.exe (or the BitDefender software) is running on their system, and if possible, please ask them to disable this software from running (also make sure that it doesn’t resume running after server reboots) and see if the issue reproduces.
3. As per the PAS 10.3 release notes, this issue has been fixed in 10.3. (Only for sessions >256. AS there are reports of same behaviour when session ids are > 2000)
Additional Information
Details
SYMPTOM:
GUI error:
The privileged session could not be established securely. Try to connect again though the Password Vault Web Access. If this problem persists, contact your system administrator.
BUT this error message is occurring for all Connections that are using the same PSMconnect ID, at random occurrences throughout the day. After some time the connections appear to work again. Or after restarting PSM services all connections seems to be working again.
In the PSMConsole.log you may also see:
PSMIN136W An error occurred while handling the messaging server client. Error: PSMSR891E Failed to handle the session logon request. Diagnostic information: 2, Reason: PSMSR1007E Unknown message session logon request received
PROBLEM:
1. We suspect that the problem is one or more of the following 3 Windows Updates (KBs): KB3175024, KB3185278, and KB3172605 (http://discussions.citrix.com/topic/381676-session-ids-growing-higher/). These KBs are causing the session IDs to not be recyclable and so the sessions keep getting an higher and higher number of session ID. When the session ID reached 256 or 512, the PSM and the PSMCredentialProvider can't communicate anymore.
2. It seems that the epconsole.exe 3rd party process leaves zombie processes behind and may be causing those leaked sessions. it seems that the process belongs to an AV software called BitDefender.
SOLUTION:
1. Disable Microsoft's new feature with the following steps:
- Under "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Kernel", create a SeTokenDoesNotTrackSessionObject value (it should be a reg REG_DWORD value) and set to 1.
- Reboot the PSM Server
2. Please check with the customer if the process epconsole.exe (or the BitDefender software) is running on their system, and if possible, please ask them to disable this software from running (also make sure that it doesn’t resume running after server reboots) and see if the issue reproduces.
3. As per the PAS 10.3 release notes, this issue has been fixed in 10.3.