PSMGW0008E or PSMGW0003E: HTML5GW Timeout waiting for activation

PSMGW0008E or PSMGW0003E: HTML5GW Timeout waiting for activation

176
Created On 11/10/26 10:58 AM - Last Modified 11/10/26 16:09 PM


Symptom


When all other troubleshooting has not succeeded and HTML5GW fails to connect to the PSM in approximately 9, we have the following messages in guac.log:

Timeout waiting for activation
Error connecting to RDP server
SVC "rdpdr" disconnected

Error connecting to RDP server

 

Or in some cases, we can find the guacd error:

[DEBUG][o.a.g.w.GuacamoleWebSocketTunnelEndpoint]: Internal error during connection to guacd.

 

And in the PSMTrace.log we see that the PSM receives a logoff event for the session in the middle of the connection flow without any errors, for example:

 

The session id was successfully registered and will be allowed to logon. (Session UUID: ########-####-####-####-############, Session Id: ##).

...

PSM listener received a session change message (Code 4) for session id ##



Environment


N/A Privileged Access Manager (PAM, self-hosted) PSM

HTML5GW



Cause


Session establishment takes too long (possibly high network latency) and HTML5GW reaches the PSMFirstConnectionTimeout 9000 (default) timeout of 9 seconds for the connection to be created.



Resolution


1. Increase the timeout for the RDP connection to PSM significantly (up to 59000) with the following parameters within the run command:

 

-e PSMFirstConnectionTimeout=59000

-e TunnelCommunicationTimeout=59000

 

https://docs.cyberark.com/pam-self-hosted/latest/en/content/pas%20inst/install_psm_html5_docker.htm



Actions
  • Print
  • Copy Link

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