Webdispatcher injectPortBlockToProcess error/StartProcess failed, reason: 1260.

Webdispatcher injectPortBlockToProcess error/StartProcess failed, reason: 1260.

182
Created On 11/10/26 11:02 AM - Last Modified 11/10/26 15:56 PM


Symptom


PSM Web Application stops working after 12.2.4 upgrade 

In PSM dispatcher log :
 
[05/04/2022 | 15:54:43] |  ::  | PSMDUPSMDU045I Getting property [PortBlockingTimeout] from client specifications
[05/04/2022 | 15:54:43] |  ::  | PSMDUPSMDU044I Property [PortBlockingTimeout] is missing or invalid and will be ignored. Default value [5] will be used.
[05/04/2022 | 15:54:44] |  ::  | PSMDU001I PSM Dispatcher Utils exception occurred. PSMDU050E WinAPI method: StartProcess failed, reason: 1260. (Codes: -1, -1)
[05/04/2022 | 15:54:44] |  ::  | PSMDU015E Error performing process hook [HookPortBlockToProcess]. Reason: PSMDU050E WinAPI method: StartProcess failed, reason: 1260.
[05/04/2022 | 15:54:44] |  ::  | PSMDU019I Dispatcher trace message: [ProgressBarHandler :: Close -> START]
[05/04/2022 | 15:54:44] |  ::  | PSMDU019I Dispatcher trace message: [ProgressBarHandler :: Close -> END]
[05/04/2022 | 15:54:45] |  ::  | PSMDU018E Dispatcher error: [WebFormDispatcher :: HandleException -> CyberArk.PSM.WebAppDispatcher.Exceptions.WebAppDispatcherPSMDispatcherUtilsException: Function InjectPortBlockToProcess returned with an error.
 at CyberArk.PSM.WebAppDispatcher.WebFormDispatcher.InitBrowser(IWindow winUtils, IExecuter executer)
 at CyberArk.PSM.WebAppDispatcher.WebFormDispatcher.ExecuteLogin(IExecuter actionExecuter)]



image.png


Environment


12.2;13.2;14.0;14.4;14.6 Privileged Access Manager (PAM, self-hosted) Privileged Session Management (PSM);Privilege Cloud PSM

Known to effect Systems:

  • PSM version: 12.2.4 or later

  • .NET Framework: version 4.8

  • Windows OS: version 2016 or newer

  • Chrome browser: version 135 or newer



Cause


 

The PSMapplockerconfigure.xml file from previous versions requires an update. In version 12.2.4, a new <!-- Allowed DLLs --> section has been added.

Additionally, an attempt was made to retrieve the PortBlockingTimeout property from client specifications, but it was missing or invalid, so the default value 5 was used.



Resolution


 

AppLocker Fix:

  1. Use the PSMConfigureAppLocker.xml file from version 12.2.4 as a template to create a new PSMConfigureAppLocker.xml. An example is attached to this case.

  2. Re-run PSMConfigureAppLocker.ps1 as an administrator on the PSM server.

PortBlockingTimeout Fix:
Increase the PortBlockingTimeout parameter. It can be configured under the problematic WebApp CC node.

If the parameter is missing, please add it.



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj00000010vmCAA&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail