User cannot establish more than 5 concurrent sessions via HTML5 Gateway on Chrome

User cannot establish more than 5 concurrent sessions via HTML5 Gateway on Chrome

97
Created On 11/10/26 10:55 AM - Last Modified 11/10/26 16:02 PM


Symptom


End users initiate PSM connection from PVWA via PSM HTML5 Gateway. They are using Chrome as the browser. 

The first 5 concurrent sessions could  be opened without problem under the same Chrome window. However the 6th session hang and crashed other sessions.

From PSM gateway log, e
PSMGW][16:59:52.052][[https-jsse-nio-8443-exec-2]][INFO ][c.c.p.modules.tunnel.CAPSMGWTunnel]: Handshake finished.
[PSMGW][16:59:52.052][[https-jsse-nio-8443-exec-2]][INFO ][c.c.p.m.t.h.CAPSMGWRestrictedHTTPTunnelServlet]: Using HTTP tunnel (not WebSocket). Performance may be sub-optimal.
[PSMGW][16:59:52.052][[https-jsse-nio-8443-exec-2]][DEBUG][o.a.g.s.GuacamoleHTTPTunnelServlet]: Registered tunnel "d2c6671f-bf8a-41bc-972b-f374b8cee482".
[PSMGW][17:00:15.737][[pool-1-thread-1]][DEBUG][o.a.g.servlet.GuacamoleHTTPTunnelMap]: HTTP tunnel "d2c6671f-bf8a-41bc-972b-f374b8cee482" has timed out.
[PSMGW][17:00:15.738][[pool-1-thread-1]][DEBUG][c.c.p.m.t.CAPSMGWFilteredSSLSocket]: Closing socket to guacd.
[PSMGW][17:00:15.738][[https-jsse-nio-8443-exec-6]][DEBUG][o.a.g.s.GuacamoleHTTPTunnelServlet]: Deregistered tunnel "d2c6671f-bf8a-41bc-972b-f374b8cee482".
[PSMGW][17:00:15.738][[https-jsse-nio-8443-exec-6]][DEBUG][c.c.p.m.t.CAPSMGWFilteredSSLSocket]: Closing socket to guacd.
[PSMGW][17:01:00.285][[https-jsse-nio-8443-exec-7]][DEBUG][c.c.p.m.tunnel.CAPSMGWSocketFilter]: SSLReaderFilter - Filtering instruction: 9.clipboard,1.0,10.text/plain;
[PSMGW][17:01:00.286][[https-jsse-nio-8443-exec-7]][DEBUG][c.c.p.m.t.f.CAPSMGWBidirectionalFilterRule]: Bidirectional filter: Instruction mimetype=text/plain
[PSMGW][17:01:01.801][[https-jsse-nio-8443-exec-10]][DEBUG][o.a.g.s.GuacamoleHTTPTunnelServlet]: Error writing to servlet output stream
org.apache.catalina.connector.ClientAbortException: java.io.IOException: Broken pipe

 


Environment


10.10;11.1;11;11.2;11.3;11.4;11.5 PSM version 11.5 or before,  PSM HTML5 Gateway and Chrome

Cause


In /etc/opt/CARKpsmgw/webapp/psmgw.conf

ClientCommunicationType is  set to HTTP 

Chromium has a limitation to work with no more than 6 concurrent HTTP per profile. 


Resolution


1 Change ClientCommunicationType=Chained in /etc/opt/CARKpsmgw/webapp/psmgw.conf

2 Restart tomcat

1) If the PSM HTML5 Gateway is running within a Docker container, run the following commands on a terminal inside the container:

sh /opt/tomcat/bin/shutdown.sh
sh /opt/tomcat/bin/startup.sh

2) Otherwise, run the following command:

sudo service tomcat restart

Note: Starting on version 11.6, ClientCommunicationType=HTTP is not supported anymore.


Actions
  • Print
  • Copy Link

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