PSM WebConnection Fails : Failed to press on button

PSM WebConnection Fails : Failed to press on button

137
Created On 11/10/26 10:59 AM - Last Modified 11/10/26 13:04 PM


Symptom


One of the Webconnection component fails for a specific User. The same connection component works for other credentials.

Analyzing the component  logs,  it says the Login Button on the webform is not getting submitted.
 
[17/07/2019 | 13:26:09] | :: | PSMDU019I Dispatcher trace message: [WebElementWrapper :: Click -> Clicking on element 'Login'] 
[17/07/2019 | 13:26:50] | :: | PSMDU018E Dispatcher error: [WebElementWrapper :: Click -> Failed to press on button. Exception Details: OpenQA.Selenium.WebDriverTimeoutException: timeout (Session info: chrome=73.0.3683.103) (Driver info: chromedriver=2.35.528161 (5b82f2d2aae0ca24b877009200ced9065a772e73),platform=Windows NT 6.3.9600 x86_64) 
 at OpenQA.Selenium.Remote.RemoteWebDriver.UnpackAndThrowOnError(Response errorResponse) 
 at OpenQA.Selenium.Remote.RemoteWebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters) 
 at OpenQA.Selenium.Remote.RemoteWebElement.Click() 
 at CyberArk.WebAutomationUtils.WebElementWrapper.Click(Int32 actionTimeout)] 
[17/07/2019 | 13:26:50] | :: | PSMDU019I Dispatcher trace message: [ProgressBarHandler :: Close -> START] 
[17/07/2019 | 13:26:50] | :: | PSMDU019I Dispatcher trace message: [ProgressBarHandler :: Close -> Terminating ProgressBar.] 
[17/07/2019 | 13:26:50] | :: | PSMDU019I Dispatcher trace message: [ProgressBarHandler :: Close -> END] 
[17/07/2019 | 13:26:50] | :: | PSMDU018E Dispatcher error: [WebFormDispatcher :: HandleException -> CyberArk.WebAutomationUtils.WebBrowserException: Unable to press on button element 'Login'. Refer to the log for more 
 at CyberArk.WebAutomationUtils.WebElementWrapper.Click(Int32 actionTimeout) 
 at CyberArk.WebAutomationCommon.Commands.Click.Run(CommandsParameters commandsParameters) 
 at CyberArk.WebAutomationCommon.WebPageExecuter.RunLoginPhase(List`1 commands, Int32 lastClickCommandIndex) 
 at CyberArk.WebAutomationCommon.WebPageExecuter.RunCommands(List`1 commands, Boolean isRunValidation) 
 at CyberArk.PSM.WebAppDispatcher.WebFormDispatcher.ExecuteLogin(IExecuter actionExecuter)] 
[17/07/2019 | 13:26:50] | :: | PSMDU019I Dispatcher trace message: [ConnectionComponentController :: PopUpErrorMessageBox -> START] 
[17/07/2019 | 13:26:50] | :: | PSMDU018E Dispatcher error: [ConnectionComponentController :: PopUpErrorMessageBox -> Title="Error Occurred" Message="Unable to press on button element 'Login'. Refer to the log for more." Timeout=30 Subtitle="Login failed"]




 


Environment


10.4 WebApp connection 10.4. OS: Windows 2012

Cause


One of the possibilities could be some user profiles  take the  browser (IE or Chrome)  longer time to fully load hence it times out the connector.

Customer can verify this by launching the browser on PSM machine directly to access the target website.  


Resolution


The Solution is adjust the Timeout value

From PVWA-->Options-->Connection-Component -->target connector-->Target Settings-->Client Specific-->
Increase  PageLoadTimeout


Actions
  • Print
  • Copy Link

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