- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.
08-21-2024 11:16 PM
Hi all,
Getting the below errors in PSM Event viewer for a webform connection component.
PSMDU014E Error performing dispatcher's request [GetSessionPropertyBufferLength]. Reason: PSMDU032E Session property [PreConnectDllName] is not present
PSMDU014E Error performing dispatcher's request [GetSessionPropertyBufferLength]. Reason: PSMDU032E Session property [PreConnectParameters] is not present
PSMDU018E Dispatcher error: [ConnectionComponentController :: Main -> System.ArgumentException: Process with an Id of -1 is not running.
at System.Diagnostics.Process.GetProcessById(Int32 processId, String machineName)
at System.Diagnostics.Process.GetProcessById(Int32 processId)
at CyberArk.PSM.WebAppDispatcher.WindowsUtils.HandleWindow(Int32 processID, Boolean enableTrace, Int32 hideFlag)
at CyberArk.PSM.WebAppDispatcher.WindowsUtils.HideWindow(Int32 processID, Boolean enableTrace)
at CyberArk.PSM.WebAppDispatcher.WebFormDispatcher.InitBrowser(IWindow winUtils, IExecuter executer)
at CyberArk.PSM.WebAppDispatcher.WebFormDispatcher.ExecuteLogin(IExecuter actionExecuter)
at CyberArk.PSM.WebAppDispatcher.ConnectionComponentController.Main(String[] args)]
I can configure the two session properties in the Client specific parameters. But not sure what values have to put in for those session property.
Any idea?
08-22-2024 12:16 AM
The two variables don't seem to be the problem. Instead I think the browser is failing to launch and be controlled.
Which browser is set for the connector and does it work for other connectors?
If no. For chrome Check that https://community.cyberark.com/s/article/How-to-update-Chrome-Driver-in-PSM-server
Edge has a similar article.
Also make sure applocker isn't blocking the browser.
If yes, then have a look at the settings properties for the connector are correct.
https://docs.cyberark.com/pam-self-hosted/14.2/en/Content/PASIMP/psm_WebApplication.htm#Configuration
08-22-2024 12:16 AM
The two variables don't seem to be the problem. Instead I think the browser is failing to launch and be controlled.
Which browser is set for the connector and does it work for other connectors?
If no. For chrome Check that https://community.cyberark.com/s/article/How-to-update-Chrome-Driver-in-PSM-server
Edge has a similar article.
Also make sure applocker isn't blocking the browser.
If yes, then have a look at the settings properties for the connector are correct.
https://docs.cyberark.com/pam-self-hosted/14.2/en/Content/PASIMP/psm_WebApplication.htm#Configuration
08-22-2024 12:18 AM
You can ignore the 'errors' about the PreConnectDllName and PreConnectParameters (unless this is a connector that uses a PreConnect DLL -- you would know if this were the case.)
You've only provided three log messages, the first two of which are unrelated to the third. The logs in the Components sub-folder of the PSM's logs folder will give you more insight -- find the appropriate session, open the ClientDispatcher log file, search for the PSMDU018E error, and look to see what comes before that. If you don't see anything useful, then you may need to increase the log level.
08-22-2024 12:27 AM
Chromedriver is from 2022 and Chrome is latest. Just noticed it. I will update the chrome driver and check.
08-22-2024 12:28 AM
Mot much info in the dispatcher logs. I checked it already
"[22/08/2024 | 17:13:55] | :: | PSMDU019I Dispatcher trace message: [HTMLPageController :: OpenWebBrowser -> The browser was initialized successfully.]
[22/08/2024 | 17:13:55] | :: | PSMDU019I Dispatcher trace message: [ProcessUtilities :: DeepFirstSearchChildProcessPid -> START]
[22/08/2024 | 17:13:55] | :: | PSMDU019I Dispatcher trace message: [ProcessUtilities :: DeepFirstSearchChildProcessPid -> START]
[22/08/2024 | 17:13:55] | :: | PSMDU019I Dispatcher trace message: [ProcessUtilities :: DeepFirstSearchChildProcessPid -> END]
[22/08/2024 | 17:13:55] | :: | PSMDU019I Dispatcher trace message: [ProcessUtilities :: DeepFirstSearchChildProcessPid -> END]
[22/08/2024 | 17:13:55] | :: | PSMDU019I Dispatcher trace message: [HTMLPageController :: OpenWebBrowser -> END]
[22/08/2024 | 17:13:55] | :: | PSMDU019I Dispatcher trace message: [WebPageExecuter :: OpenBrowser -> END]
[22/08/2024 | 17:13:55] | :: | PSMDU019I Dispatcher trace message: [ProgressBarHandler :: Close -> START]
[22/08/2024 | 17:13:55] | :: | PSMDU019I Dispatcher trace message: [ProgressBarHandler :: Close -> Terminating ProgressBar.]
[22/08/2024 | 17:13:55] | :: | PSMDU019I Dispatcher trace message: [ProgressBarHandler :: Close -> END]
[22/08/2024 | 17:13:55] | :: | PSMDU019I Dispatcher trace message: [HTMLPageController :: KillDriverProcess -> START]
[22/08/2024 | 17:13:55] | :: | PSMDU019I Dispatcher trace message: [HTMLPageController :: KillDriverProcess -> END]
[22/08/2024 | 17:13:55] | :: | PSMDU018E Dispatcher error: [ConnectionComponentController :: Main -> System.ArgumentException: Process with an Id of -1 is not running.
at System.Diagnostics.Process.GetProcessById(Int32 processId, String machineName)
at System.Diagnostics.Process.GetProcessById(Int32 processId)
at CyberArk.PSM.WebAppDispatcher.WindowsUtils.HandleWindow(Int32 processID, Boolean enableTrace, Int32 hideFlag)
at CyberArk.PSM.WebAppDispatcher.WindowsUtils.HideWindow(Int32 processID, Boolean enableTrace)
at CyberArk.PSM.WebAppDispatcher.WebFormDispatcher.InitBrowser(IWindow winUtils, IExecuter executer)
at CyberArk.PSM.WebAppDispatcher.WebFormDispatcher.ExecuteLogin(IExecuter actionExecut
[22/08/2024 | 17:13:55] | :: | er)
at CyberArk.PSM.WebAppDispatcher.ConnectionComponentController.Main(String[] args)]
[22/08/2024 | 17:13:55] | :: | PSMDU019I Dispatcher trace message: [ConnectionComponentController :: PopUpErrorMessageBox -> START]
[22/08/2024 | 17:13:55] | :: | PSMDU018E Dispatcher error: [ConnectionComponentController :: PopUpErrorMessageBox -> Title="Error Occurred" Message="Refer to log for more information." Timeout=30 Subtitle="General error occurred"]
[22/08/2024 | 17:13:55] | :: | PSMDU019I Dispatcher trace message: [ConnectionComponentController :: PopUpErrorMessageBox -> END]
"
08-23-2024 07:09 AM
Error indicates that session property has not been fetched as per onboarded account's properties. Its webform based or autoit?
08-28-2024 07:53 PM
This got fixed after updating the chrome driver. Thanks Mal.
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!

