<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: HTML5 error with Azure Entra App proxy in PAM Self-Hosted Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/html5-error-with-azure-entra-app-proxy/m-p/1335376#M31312</link>
    <description>&lt;P&gt;Hi @moe kandi​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In that case, ping won't make any difference. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please enable debug logs and share more information.  &lt;/P&gt;</description>
    <pubDate>Mon, 07 Jul 2025 00:00:35 GMT</pubDate>
    <dc:creator>M.Vora780263</dc:creator>
    <dc:date>2025-07-07T00:00:35Z</dc:date>
    <item>
      <title>HTML5 error with Azure Entra App proxy</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/html5-error-with-azure-entra-app-proxy/m-p/1335373#M31309</link>
      <description>&lt;P&gt;ERROR: &lt;/P&gt;&lt;P&gt;I have a little bit of an odd issue here, where the HTML5 gw will return an error PSMGW0001E the first time its started in the morning and any connection attempts to the HTML5 post the first connection attempt is successful and the gw works as expected. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;bash-4.4# tail cyberark-psm-gateway-webapp.log&amp;nbsp;&lt;/P&gt;&lt;P&gt;[PSMGW][2025-06-28 10:25:14.488][[https-jsse-nio-8443-exec-11]][INFO ][c.c.p.m.t.CAPSMGWWebSocketHandShakeFilter]: [B55D181431130CD8AEAA26656EF4C1B8CB08775789DE6A3678D4A783826D5220] JWT token was successfully validated. Username: administrator&lt;/P&gt;&lt;P&gt;[PSMGW][2025-06-28 10:25:14.492][[https-jsse-nio-8443-exec-11]][INFO ][c.c.p.m.direct.CAPSMGWDirectServlet]: [B55D181431130CD8AEAA26656EF4C1B8CB08775789DE6A3678D4A783826D5220] Adding CSRF token to session&lt;/P&gt;&lt;P&gt;[PSMGW][2025-06-28 10:25:14.492][[https-jsse-nio-8443-exec-11]][INFO ][c.c.p.m.direct.CAPSMGWDirectServlet]: [B55D181431130CD8AEAA26656EF4C1B8CB08775789DE6A3678D4A783826D5220] CSRF cookie was created and added to response.&lt;/P&gt;&lt;P&gt;[PSMGW][2025-06-28 10:25:14.493][[https-jsse-nio-8443-exec-11]][INFO ][c.c.p.m.direct.CAPSMGWDirectServlet]: [B55D181431130CD8AEAA26656EF4C1B8CB08775789DE6A3678D4A783826D5220] authentication token cookie was created and added to response.&lt;/P&gt;&lt;P&gt;[PSMGW][2025-06-28 10:25:14.497][[https-jsse-nio-8443-exec-11]][INFO ][c.c.p.modules.tunnel.CAPSMGWTunnel]: [B55D181431130CD8AEAA26656EF4C1B8CB08775789DE6A3678D4A783826D5220] Starting new connection to guacd with UUID = b34d125c-a9bf-4cdb-a4c6-94ef088f0bf8&lt;/P&gt;&lt;P&gt;[PSMGW][2025-06-28 10:25:14.498][[https-jsse-nio-8443-exec-11]][INFO ][c.c.p.modules.tunnel.CAPSMGWTunnel]: [B55D181431130CD8AEAA26656EF4C1B8CB08775789DE6A3678D4A783826D5220] ClipboardControl = Bidirectional&lt;/P&gt;&lt;P&gt;[PSMGW][2025-06-28 10:25:14.498][[https-jsse-nio-8443-exec-11]][INFO ][c.c.p.modules.tunnel.CAPSMGWTunnel]: [B55D181431130CD8AEAA26656EF4C1B8CB08775789DE6A3678D4A783826D5220] Trying to connect to guacd and perform handshake.&lt;/P&gt;&lt;P&gt;[PSMGW][2025-06-28 10:25:14.623][[https-jsse-nio-8443-exec-11]][INFO ][c.c.p.modules.tunnel.CAPSMGWTunnel]: [B55D181431130CD8AEAA26656EF4C1B8CB08775789DE6A3678D4A783826D5220] Handshake finished.&lt;/P&gt;&lt;P&gt;[PSMGW][2025-06-28 10:25:14.628][[https-jsse-nio-8443-exec-11]][INFO ][c.c.p.m.t.CAPSMGWFilteredSSLSocket]: [B55D181431130CD8AEAA26656EF4C1B8CB08775789DE6A3678D4A783826D5220] Closing socket to guacd.&lt;/P&gt;&lt;P&gt;[PSMGW][2025-06-28 10:25:14.631][[Thread-7]][ERROR][o.a.g.w.GuacamoleWebSocketTunnelEndpoint]: Connection to guacd terminated abnormally: javax.net.ssl.SSLException: Socket closed&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;^ Failed first attempt &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;bash-4.4# tail cyberark-psm-gateway-webapp.log&amp;nbsp;&lt;/P&gt;&lt;P&gt;[PSMGW][2025-06-28 10:29:54.262][[https-jsse-nio-8443-exec-3]][INFO ][c.c.tokenvalidation.CATokenValidator]: [40FF8F243A9306EE051BA884402FF598E1AAA84D868E66AAD49292A21F214159] CATV051I Received token validation request.&lt;/P&gt;&lt;P&gt;[PSMGW][2025-06-28 10:29:54.274][[https-jsse-nio-8443-exec-3]][INFO ][c.c.tokenvalidation.CATokenValidator]: [40FF8F243A9306EE051BA884402FF598E1AAA84D868E66AAD49292A21F214159] CATV064I Validation ended successfully, Username:administrator.&lt;/P&gt;&lt;P&gt;[PSMGW][2025-06-28 10:29:54.277][[https-jsse-nio-8443-exec-3]][INFO ][c.c.p.m.t.CAPSMGWWebSocketHandShakeFilter]: [40FF8F243A9306EE051BA884402FF598E1AAA84D868E66AAD49292A21F214159] JWT token was successfully validated. Username: administrator&lt;/P&gt;&lt;P&gt;[PSMGW][2025-06-28 10:29:54.279][[https-jsse-nio-8443-exec-3]][INFO ][c.c.p.m.direct.CAPSMGWDirectServlet]: [40FF8F243A9306EE051BA884402FF598E1AAA84D868E66AAD49292A21F214159] Adding CSRF token to session&lt;/P&gt;&lt;P&gt;[PSMGW][2025-06-28 10:29:54.279][[https-jsse-nio-8443-exec-3]][INFO ][c.c.p.m.direct.CAPSMGWDirectServlet]: [40FF8F243A9306EE051BA884402FF598E1AAA84D868E66AAD49292A21F214159] CSRF cookie was created and added to response.&lt;/P&gt;&lt;P&gt;[PSMGW][2025-06-28 10:29:54.279][[https-jsse-nio-8443-exec-3]][INFO ][c.c.p.m.direct.CAPSMGWDirectServlet]: [40FF8F243A9306EE051BA884402FF598E1AAA84D868E66AAD49292A21F214159] authentication token cookie was created and added to response.&lt;/P&gt;&lt;P&gt;[PSMGW][2025-06-28 10:29:54.281][[https-jsse-nio-8443-exec-3]][INFO ][c.c.p.modules.tunnel.CAPSMGWTunnel]: [40FF8F243A9306EE051BA884402FF598E1AAA84D868E66AAD49292A21F214159] Starting new connection to guacd with UUID = ec2c4973-4974-4615-8315-6610661f0ff2&lt;/P&gt;&lt;P&gt;[PSMGW][2025-06-28 10:29:54.281][[https-jsse-nio-8443-exec-3]][INFO ][c.c.p.modules.tunnel.CAPSMGWTunnel]: [40FF8F243A9306EE051BA884402FF598E1AAA84D868E66AAD49292A21F214159] ClipboardControl = Bidirectional&lt;/P&gt;&lt;P&gt;[PSMGW][2025-06-28 10:29:54.282][[https-jsse-nio-8443-exec-3]][INFO ][c.c.p.modules.tunnel.CAPSMGWTunnel]: [40FF8F243A9306EE051BA884402FF598E1AAA84D868E66AAD49292A21F214159] Trying to connect to guacd and perform handshake.&lt;/P&gt;&lt;P&gt;[PSMGW][2025-06-28 10:29:54.383][[https-jsse-nio-8443-exec-3]][INFO ][c.c.p.modules.tunnel.CAPSMGWTunnel]: [40FF8F243A9306EE051BA884402FF598E1AAA84D868E66AAD49292A21F214159] Handshake finished&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;second attempt to start the html5gw is successful. ^ &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Setup: &lt;/P&gt;&lt;P&gt;The setup is a little complex however its as follows: &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PAM is hosted in AWS&lt;/P&gt;&lt;P&gt;PVWA is published via azure entra app proxy - The internal url for pvwa points to AWS LB&lt;/P&gt;&lt;P&gt;HTML5 is also published via azure entra app proxy - The internal url for the app proxy points to AWS LB which then points to podman docker instance. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I spin up the podman instance using the following command. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sudo ./html5_console.sh run -it -p 443:8443 -v /opt/cert/:/opt/import:ro -d -e AcceptCyberArkEULA=yes -e PSMGWGuacLogLevel=debug -e PSMGWAppLogLevel=debug -e EnableCORS=yes&amp;nbsp;-e IgnorePSMCertificateErrors=yes -e EndPointAddress=&lt;A alt="https://tmedev-skyvault-web.domain.com/PasswordVault" href="https://tmedev-skyvault-web.domain.com/PasswordVault" target="_blank"&gt;https://tmedev-skyvault-web.domain.com/PasswordVault&lt;/A&gt; --hostname 10.38.149.24 --name 10.38.149.24 cahtml5gw:14_4_0_8&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I suspect its something to do with the app proxy setup and html5, however the fact the gw works post the first attempt is mind boggling. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 28 Jun 2025 10:58:09 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/html5-error-with-azure-entra-app-proxy/m-p/1335373#M31309</guid>
      <dc:creator>Wiiboy90</dc:creator>
      <dc:date>2025-06-28T10:58:09Z</dc:date>
    </item>
    <item>
      <title>Re: HTML5 error with Azure Entra App proxy</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/html5-error-with-azure-entra-app-proxy/m-p/1335374#M31310</link>
      <description>&lt;P&gt;Hi @moe kandi​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When first time HTML5 GW fails, its likely due to Azure App Proxy idle state or container's delayed readiness. As a workaround, is it possible to create a dummy connection to the HTML5GW container before allowing actual users to connect ?  You can use a cronjob to ping the HTML5 URL every morning 1-2 minutes before users log in.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For guacd socket closed error, &amp;nbsp;enable debug logs on the guacd daemon and see if more information is available. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope it helps !&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jun 2025 01:27:49 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/html5-error-with-azure-entra-app-proxy/m-p/1335374#M31310</guid>
      <dc:creator>M.Vora780263</dc:creator>
      <dc:date>2025-06-30T01:27:49Z</dc:date>
    </item>
    <item>
      <title>Re: HTML5 error with Azure Entra App proxy</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/html5-error-with-azure-entra-app-proxy/m-p/1335375#M31311</link>
      <description>&lt;P&gt;@Malhar Vora​&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the info, afaik i am aware the gw is always on and responding, will pinging make any difference? &lt;/P&gt;</description>
      <pubDate>Fri, 04 Jul 2025 08:49:38 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/html5-error-with-azure-entra-app-proxy/m-p/1335375#M31311</guid>
      <dc:creator>Wiiboy90</dc:creator>
      <dc:date>2025-07-04T08:49:38Z</dc:date>
    </item>
    <item>
      <title>Re: HTML5 error with Azure Entra App proxy</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/html5-error-with-azure-entra-app-proxy/m-p/1335376#M31312</link>
      <description>&lt;P&gt;Hi @moe kandi​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In that case, ping won't make any difference. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please enable debug logs and share more information.  &lt;/P&gt;</description>
      <pubDate>Mon, 07 Jul 2025 00:00:35 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/html5-error-with-azure-entra-app-proxy/m-p/1335376#M31312</guid>
      <dc:creator>M.Vora780263</dc:creator>
      <dc:date>2025-07-07T00:00:35Z</dc:date>
    </item>
  </channel>
</rss>

