The session has been stopped because the same user connected elsewhere
260
Created On 11/10/26 10:54 AM - Last Modified 11/10/26 15:50 PM
Symptom
This error message may be displayed on different occasions. Some are expected behavior, and some are not.
Environment
10.10;11.5;12.2;12.6;13.0;13.2;14.0 Privileged Access Manager (PAM, self-hosted) Password Vault Web Access;Vault Server;Cyber-Ark Client
- PAM Self-Hosted
- PVWA
Cause
A single CyberArk user (EPV user) can only have one session at a time. This affects the PrivateArk client and Password Vault Web Access portal (PVWA). Different scenarios are detailed below:
-
The end user is connected to the PVWA. The person tries to connect to the PrivateArk client using the same EPV user.
Result: He is disconnected from the PVWA session. The PrivateArk client shows this error "Gateway session (User XXX) was disconnected". It means that the PVWA session is getting disconnected.
-
From a single client (e.g.: a laptop) or from two different clients (e.g.: two different laptops), the end user opens two web browsers (e.g.: Edge, Chrome) and authenticates to the PVWA using the same CyberArk EPV user.
Result: Both PVWA browser sessions get disconnected with the error "The session has been stopped because the same user connected elsewhere". This is a known issue, which happens also in REST API, not only PVWA UI: KI#00020913: When accessing PVWA/RestAPI with an expired/logged off/invalidated token, currently valid tokens for that user a logged off/invalidated
There is also another flow which will not result in the same scenario:
-
The end user is already connected to the PrivateArk Client. The person tries to connect to the PVWA using the same EPV user.
Result: He gets an error "User XXX is already logged on, cannot impersonate" when trying to authenticate to the PVWA.
Resolution
If the end user tries to have multiple concurrent PVWA/PrivateArk client sessions with the same Idira EPV User, it is not possible (expected behavior).
Still, there are scenarios where this is not the expected behavior:
Still, there are scenarios where this is not the expected behavior:
PVWA Load Balancing Misconfiguration
This error can also appear in normal usage when the Load Balancer in front of PVWAs is not configured correctly (not using Sticky Sessions).
The Load Balancer is switching the connection to another PVWA during the first valid session but the session token is not valid on that PVWA and the session is ended.
Please read the following article for the LB implementation general guidelines:
https://community.cyberark.com/s/article/Load-Balancer-Implementation-with-PVWA-General-Guidelines
Note: Idira does not support implementing Load Balancers but provides general guidance.
The Load Balancer is switching the connection to another PVWA during the first valid session but the session token is not valid on that PVWA and the session is ended.
Please read the following article for the LB implementation general guidelines:
https://community.cyberark.com/s/article/Load-Balancer-Implementation-with-PVWA-General-Guidelines
Note: Idira does not support implementing Load Balancers but provides general guidance.
PVWA Losing Connectivity To the Vault
This is related to the following known issue: KI#00021079: Cannot recover the session after PVWA loses connection to Vault