Getting an error while taking PSMWebApp connections via PVWA.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Getting an error while taking PSMWebApp connections via PVWA.

L4 Transporter

Hi All,

 

Need help on PSMWebApp connections.

 

Connection able to establish without any issues and after sometime getting an error: Login Failed, Validation Failed. refer to the log for more information.

 

 

05/03/2026 | 19:48:45] | :: | PSMDU018E Dispatcher error: [Validation :: Run -> Timeout error. Element 'modules-logo-logo' was not found in new page. ]

 

[05/03/2026 | 19:48:45] | :: | PSMDU018E Dispatcher error: [ConnectionComponentController :: PopUpErrorMessageBox -> Title="Error Occurred" Message="Validation failed. Refer to the log for more information." Timeout=30 Subtitle="Login failed"]

 

Can someone help me, why session is being disconnected after a while (after about 2-3 Min).

 

TIA,

8 REPLIES 8

L2 Linker

Looks like it cannot find following element on the page for validation:

[Validation :: Run -> Timeout error. Element 'modules-logo-logo' was not found in new page.]

 

Disable the validation from parameters and then remove it temporarily from the WebForm. If there's no timeout afterwards, you have to find another element to use for validation.

L5 Sessionator

Try removing the validation in web form field and see if same issue occurs. If issue stops, fix the validation element as mentioned above

L4 Transporter

Thanks for your respose @Przemysław Olszewski​  & @Patrick Booth​ .

 

I have inspected the console and changed webform settings by xpath search, still facing same issue.

 

Disable the validation from parameters and then remove it temporarily from the WebForm --- How to do this, i didn't get.

 

Can you help me.

 

TIA,

I assume the web page opens in a small window which doesn't display the identifier used as validation.

I suggest you find something else on the web page which shows/displays even in a small window as identifier for validation.

The parameter can be changed by going to PVWA → Configuration Options → Connection Components → select the relevant CC → Target Settings → Client Specific → RunValidations.

It is not necessary for this parameter to exist for the validations to run, so make sure you also remove the line from the WebForm where it references the validation - the line containing (Validation).

 

In your case, I believe it would look something like:

modules-logo-logo > (Validation)(searchby=id)

 

Once this is done, either restart the PSM service on the PSM server where this Connection Component is running, or wait approximately 10–15 minutes for the settings to replicate.

 

 

If it doesn't work, are you able to share your WebForm fields and the part of the page that you try to validate against?

current settings of RUN Validations = NO

 

And webform fields are:

 

(Wait=5)

IAMUsernameInputId>{Username}(searchby=id)

IAMPasswordInputId>{Password}(searchby=id)

btn_submit>(Button)

getVerifyCodeBtn>(Validation)(searchby=id)

 

 

 

I have also tried with xpath:

 

//*^[@id="i0116"^]{Username}(searchby=xpath)

 

//*^[@id="idSIButton9"^]>(Button)(searchby=xpath)

 

//*^[@id="i0118"^]>{Password}(searchby=xpath)

 

//*^[@id="idSIButton9"^]>(Button)(searchby=xpath)

 

 

Both are not working, getting same error after 2-3 min.

 

For sometime session works fine then we get the error.

You still have a validation in the first code you provided:

getVerifyCodeBtn>(Validation)(searchby=id)

 

(Wait=5) at the beginning shouldn't be required. WebDispatcher will wait for the website to load before it starts inputting creds. It's defined with PageLoadTimeout parameter in Client Specific settings: https://docs.cyberark.com/pam-self-hosted/latest/en/content/pasimp/psm_webapplication.htm#Configuration

 

XPath code you provided looks valid so unless your login panel is different from regular Azure portal it should work.

 

Have you tried using default code for Azure Portal?

i0116 > {username} idSIButton9 > (Button) i0118 > {password} idSIButton9 > (Button) idDiv_SAOTCC_Title > (Validation) idDiv_SAOTCAS_Title > (Validation) idBtn_Back > (Validation)

 

 

 

 

Thanks i will try this and update here.

  • 157 Views
  • 8 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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!