[PSM] - Chrome-Based Web Connectors Fail with PSMDU018E or PSMSR605E Errors After Chrome Hardening or Update
Symptom
When attempting to connect to web-based targets or the PVWA via PSM using Google Chrome, the connection fails with one of the following error messages:
Error Scenario 1 (PSMDU018E / Selenium Timeout):
"PSMDU018E Dispatcher error: [ConnectionComponentController :: Main -> OpenQA.Selenium.WebDriverException: The HTTP request to the remote WebDriver server for URL http://localhost:<port>/session timed out after 60 seconds. ---> System.Net.WebException: The operation has timed out."
Error Scenario 2 (PSMSR605E / PSMSR606E After Chrome Update):
"PSMSR605E Error occurred while waiting for the dispatcher to communicate (Error details: [PSMSR606E Timeout occurred while waiting for a specific component to end])"
Error Scenario 3 (Post Chrome-Hardening PVWA Connection Failure):
The Chrome browser launches during the PSM session, but the web application dispatcher fails to automate credentials or perform secured login, eventually timing out with a dispatcher execution error.
Environment
14.2;14.6;15.0;14.7;14.8;15.2 Privileged Access Manager (PAM, self-hosted);Privilege Cloud Privileged Session Management (PSM);Privilege Cloud PSM
- Products: Privileged Access Manager (PAM, self-hosted), Privilege Cloud
- Components: Privileged Session Manager (PSM), PSM Web App Dispatcher (Selenium / Chrome WebDriver)
- Application: Google Chrome Browser
- Hardening Configuration: PSMChromeHardening.csv / In-Domain Hardening GPO
- Affected Versions: Idira PAM v14.x, v15.x
Cause
The default Idira Chrome hardening rules enable the policy `DeveloperToolsDisabled` (set to `1` / Enabled).
Recent versions of Google Chrome require Developer Tools functionality for the Selenium / WebDriver dispatcher to interact with the browser session and perform automated logins. When Developer Tools are disabled, the dispatcher is blocked from communicating with Chrome on `localhost`, causing session creation to time out.
Note: Setting `DeveloperToolsDisabled` to `0` (Disabled / Not Configured) does NOT expose Developer Tools to end-users, as the URL Blacklist policy included in CyberArk's Chrome hardening continues to block user access to developer options and internal `chrome://` URLs.
Resolution
Follow the steps corresponding to your environment's hardening method (In-Domain GPO or Local PSM Hardening):
== Method A: If using In-Domain Hardening (GPO) ==
1. Open Group Policy Management Editor (`gpmc.msc`) on a Domain Controller or management server.
2. Navigate to the GPO where Idira In-Domain Hardening policies are applied.
3. Browse to:
Computer Configuration > Policies > Administrative Templates > Classic Administrative Templates (ADM) > Google > Google Chrome
4. Locate the following policies:
- 'Disable Developer Tools' (DeveloperToolsDisabled) -> Set to 'Disabled' or 'Not Configured'.
- 'Developer Tools Availability' (DeveloperToolsAvailability) -> Set to 'Enabled' and select 'Allow usage of Developer Tools' (Value: 1).
5. Save the GPO.
6. Log on to each PSM server and execute `gpupdate /force` from an elevated command prompt.
== Method B: If using Local PSM Hardening (Non-Domain) ==
1. Log on to the PSM server as an Administrator.
2. Navigate to the PSM Hardening directory (Default path: `C:\Program Files (x86)\CyberArk\PSM\Hardening`).
3. Open `PSMChromeHardening.csv` in a text editor (e.g., Notepad).
4. Locate or update the following policy lines:
- Replace:
Software\Policies\Google\Chrome,DeveloperToolsDisabled,REG_DWORD,1
With:
Software\Policies\Google\Chrome,DeveloperToolsDisabled,REG_DWORD,0
- Add or ensure the following line exists for modern Chrome versions:
Software\Policies\Google\Chrome,DeveloperToolsAvailability,REG_DWORD,1
5. Save and close `PSMChromeHardening.csv`.
6. To apply changes, execute either Option 1 (Recommended targeted fix) or Option 2 (Full hardening re-run):
== Option 1: Targeted Chrome Policy Reload (Recommended) ==
a. Open PowerShell as Administrator and navigate to the Hardening directory:
cd "C:\Program Files (x86)\CyberArk\PSM\Hardening"
b. Execute the Policy Loader tool directly to reload Chrome policies:
.\GroupPolicyLoader.exe machine PSMChromeHardening.csv PSMChromeHardening.log
c. Run: `gpupdate /force`
== Option 2: Full PSM Server Hardening Script ==
a. Open PowerShell as Administrator and navigate to the Hardening directory.
b. Execute the full hardening script:
.\PSMHardening.ps1
c. Run: `gpupdate /force`
7. Repeat these steps on all affected PSM servers and test the connection.