Get-Access feature shows a timeout message, but access is granted

Get-Access feature shows a timeout message, but access is granted

113
Created On 11/10/26 10:58 AM - Last Modified 11/10/26 13:03 PM


Symptom


When using the get-access feature  (Ad Hoc Access) in PVWA, it works on some target accounts, however on others it adds the user to the administrators group but reports back 'Failed to Grant administrative access. The operation reached its timeout.'

The Scanner log shows that the requested access was granted: 
user=CACPMScanner | AdHocAccess | AddUserToGroup | Target machine address: ------------ | User Name: ---------- | Invoking add user action on target machine.
user=CACPMScanner | AdHocAccess | AddUserToGroup | Target machine address: ------------ | User Name: ---------- | Add user succeeded.


Environment


10.6;10.7;10.8;10.9 Occurs when using the Ad Hoc Access feature in PVWA.

Cause


The issue occurs because the PVWA times out before it receives notification that access was granted. To avoid the user interface getting "stuck" waiting for a response, if there is no response in a set amount of time (currently about 8 seconds), the PVWA displays an error dialog with the message 'Failed to Grant administrative access. The operation reached its timeout.'
Under normal conditions the notification that access was granted is received before the timeout occurs. However, if there is a lot of network latency or the target machine is very far from the CPM server on which the Scanner is running, the timeout can be reached before the notification gets back to the PVWA.


Resolution


If the timeout message is seen, the user should check if access was in fact successfully granted. The best way to check this is to try to connect to the target.
The timeout is not currently configurable.


Actions
  • Print
  • Copy Link

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