<?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 Gateway unable to connect to Target Server with error: socket close in PAM Self-Hosted Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/html5-gateway-unable-to-connect-to-target-server-with-error/m-p/1373668#M59750</link>
    <description>&lt;P&gt;@Simon Yeh​&amp;nbsp;@Bernhard Brückler​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;we are also facing same problem and This Issue got fixed?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help me with steps for resolving. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 06 Apr 2021 11:54:15 GMT</pubDate>
    <dc:creator>B.Ghanapuram719997</dc:creator>
    <dc:date>2021-04-06T11:54:15Z</dc:date>
    <item>
      <title>HTML5 Gateway unable to connect to Target Server with error: socket close</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/html5-gateway-unable-to-connect-to-target-server-with-error/m-p/1373666#M59748</link>
      <description>&lt;P&gt;Hi there&lt;/P&gt;&lt;P&gt; The attached file is my debug log from my gateway server : /var/opt/CARKpsmgw/logs/webapp|cyberark-psm-gateway-webapp.log&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt; Could any expert help me to figure out what 's the root cause of this error? or any guidance to troubleshooting?&lt;/P&gt;&lt;P&gt;I've struggled this problem for 4 days....&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;CODE&gt;[PSMGW][16:52:03.453][[https-jsse-nio-8443-exec-9]][INFO ][c.c.p.modules.tunnel.CAPSMGWTunnel]: New connection to guacd arrived.
[PSMGW][16:52:03.453][[https-jsse-nio-8443-exec-9]][DEBUG][c.c.p.modules.tunnel.CAPSMGWTunnel]: New connection to guacd with UUID = ea917ba7-d8d4-453c-a25b-4e8360e48de9
[PSMGW][16:52:03.453][[https-jsse-nio-8443-exec-9]][DEBUG][c.c.p.modules.tunnel.CAPSMGWTunnel]: [ea917ba7-d8d4-453c-a25b-4e8360e48de9] Preparing Configuration to connect to guacd.
[PSMGW][16:52:03.454][[https-jsse-nio-8443-exec-9]][DEBUG][c.c.p.modules.tunnel.CAPSMGWTunnel]: [ea917ba7-d8d4-453c-a25b-4e8360e48de9] Parameters being sent to the guacd through the config:
[PSMGW][16:52:03.454][[https-jsse-nio-8443-exec-9]][DEBUG][c.c.p.modules.tunnel.CAPSMGWTunnel]: [ea917ba7-d8d4-453c-a25b-4e8360e48de9] GuacdHostname = localhost
[PSMGW][16:52:03.454][[https-jsse-nio-8443-exec-9]][DEBUG][c.c.p.modules.tunnel.CAPSMGWTunnel]: [ea917ba7-d8d4-453c-a25b-4e8360e48de9] GuacdPort = 4822
[PSMGW][16:52:03.454][[https-jsse-nio-8443-exec-9]][DEBUG][c.c.p.modules.tunnel.CAPSMGWTunnel]: [ea917ba7-d8d4-453c-a25b-4e8360e48de9] protocol = rdp
[PSMGW][16:52:03.454][[https-jsse-nio-8443-exec-9]][DEBUG][c.c.p.modules.tunnel.CAPSMGWTunnel]: [ea917ba7-d8d4-453c-a25b-4e8360e48de9] TargetCommunicationType = tls
[PSMGW][16:52:03.454][[https-jsse-nio-8443-exec-9]][DEBUG][c.c.p.modules.tunnel.CAPSMGWTunnel]: [ea917ba7-d8d4-453c-a25b-4e8360e48de9] disable-audio = true
[PSMGW][16:52:03.454][[https-jsse-nio-8443-exec-9]][DEBUG][c.c.p.modules.tunnel.CAPSMGWTunnel]: [ea917ba7-d8d4-453c-a25b-4e8360e48de9] enable-sftp = false
[PSMGW][16:52:03.455][[https-jsse-nio-8443-exec-9]][DEBUG][c.c.p.modules.tunnel.CAPSMGWTunnel]: [ea917ba7-d8d4-453c-a25b-4e8360e48de9] hostname = PSM112.cxdemo.com
[PSMGW][16:52:03.455][[https-jsse-nio-8443-exec-9]][DEBUG][c.c.p.modules.tunnel.CAPSMGWTunnel]: [ea917ba7-d8d4-453c-a25b-4e8360e48de9] height = 657.6
[PSMGW][16:52:03.455][[https-jsse-nio-8443-exec-9]][DEBUG][c.c.p.modules.tunnel.CAPSMGWTunnel]: [ea917ba7-d8d4-453c-a25b-4e8360e48de9] enable-printing = false
[PSMGW][16:52:03.455][[https-jsse-nio-8443-exec-9]][DEBUG][c.c.p.modules.tunnel.CAPSMGWTunnel]: [ea917ba7-d8d4-453c-a25b-4e8360e48de9] port = 3389
[PSMGW][16:52:03.455][[https-jsse-nio-8443-exec-9]][DEBUG][c.c.p.modules.tunnel.CAPSMGWTunnel]: [ea917ba7-d8d4-453c-a25b-4e8360e48de9] enable-drive = false
[PSMGW][16:52:03.455][[https-jsse-nio-8443-exec-9]][DEBUG][c.c.p.modules.tunnel.CAPSMGWTunnel]: [ea917ba7-d8d4-453c-a25b-4e8360e48de9] width = 1310
[PSMGW][16:52:03.455][[https-jsse-nio-8443-exec-9]][DEBUG][c.c.p.modules.tunnel.CAPSMGWTunnel]: [ea917ba7-d8d4-453c-a25b-4e8360e48de9] enable-audio-input = false
[PSMGW][16:52:03.456][[https-jsse-nio-8443-exec-9]][DEBUG][c.c.p.modules.tunnel.CAPSMGWTunnel]: [ea917ba7-d8d4-453c-a25b-4e8360e48de9] IgnoreCertificateVerification = true
[PSMGW][16:52:03.456][[https-jsse-nio-8443-exec-9]][DEBUG][c.c.p.modules.tunnel.CAPSMGWTunnel]: Creating Instruction filtering rules
[PSMGW][16:52:03.456][[https-jsse-nio-8443-exec-9]][INFO ][c.c.p.modules.tunnel.CAPSMGWTunnel]: [ea917ba7-d8d4-453c-a25b-4e8360e48de9] ClipboardControl = Bidirectional
[PSMGW][16:52:03.456][[https-jsse-nio-8443-exec-9]][DEBUG][c.c.p.modules.tunnel.CAPSMGWTunnel]: [ea917ba7-d8d4-453c-a25b-4e8360e48de9] Config preparation done.
[PSMGW][16:52:03.456][[https-jsse-nio-8443-exec-9]][DEBUG][c.c.p.modules.tunnel.CAPSMGWTunnel]: [ea917ba7-d8d4-453c-a25b-4e8360e48de9] Trying to connect to guacd and perform handshake.
[PSMGW][16:52:03.456][[https-jsse-nio-8443-exec-9]][INFO ][c.c.p.modules.tunnel.CAPSMGWTunnel]: Performing Handshake.
[PSMGW][16:52:03.456][[https-jsse-nio-8443-exec-9]][DEBUG][c.c.p.modules.tunnel.CAPSMGWTunnel]: [ea917ba7-d8d4-453c-a25b-4e8360e48de9] Using SSL socket to connect to guacd
[PSMGW][16:52:03.456][[https-jsse-nio-8443-exec-9]][DEBUG][c.c.p.m.t.CAPSMGWFilteredSSLSocket]: Connecting to guacd at localhost:4822 via SSL/TLS.
[PSMGW][16:52:03.641][[https-jsse-nio-8443-exec-9]][DEBUG][c.c.p.modules.tunnel.CAPSMGWTunnel]: [ea917ba7-d8d4-453c-a25b-4e8360e48de9] Connection to guacd and handshake completed successfully.
[PSMGW][16:52:03.641][[https-jsse-nio-8443-exec-9]][INFO ][c.c.p.modules.tunnel.CAPSMGWTunnel]: Handshake finished.
[PSMGW][16:52:03.782][[https-jsse-nio-8443-exec-3]][DEBUG][c.c.p.m.t.CAPSMGWFilteredSSLSocket]: Closing socket to guacd.
[PSMGW][16:52:03.785][[Thread-14]][DEBUG][o.a.g.w.GuacamoleWebSocketTunnelEndpoint]: Connection to guacd closed.
org.apache.guacamole.GuacamoleConnectionClosedException: Connection to guacd is closed.
	at org.apache.guacamole.io.ReaderGuacamoleReader.read(ReaderGuacamoleReader.java:183) ~[guacamole-common-1.0.0.jar:na]
	at org.apache.guacamole.io.ReaderGuacamoleReader.readInstruction(ReaderGuacamoleReader.java:195) ~[guacamole-common-1.0.0.jar:na]
	at org.apache.guacamole.protocol.FilteredGuacamoleReader.readInstruction(FilteredGuacamoleReader.java:81) ~[guacamole-common-1.0.0.jar:na]
	at org.apache.guacamole.protocol.FilteredGuacamoleReader.readInstruction(FilteredGuacamoleReader.java:81) ~[guacamole-common-1.0.0.jar:na]
	at org.apache.guacamole.protocol.FilteredGuacamoleReader.readInstruction(FilteredGuacamoleReader.java:81) ~[guacamole-common-1.0.0.jar:na]
	at org.apache.guacamole.protocol.FilteredGuacamoleReader.read(FilteredGuacamoleReader.java:64) ~[guacamole-common-1.0.0.jar:na]
	at org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint$2.run(GuacamoleWebSocketTunnelEndpoint.java:246) ~[guacamole-common-1.0.0.jar:na]
Caused by: java.net.SocketException: Socket closed
	at java.net.SocketInputStream.read(SocketInputStream.java:204) ~[na:1.8.0_252]
	at java.net.SocketInputStream.read(SocketInputStream.java:141) ~[na:1.8.0_252]
	at sun.security.ssl.InputRecord.readFully(InputRecord.java:465) ~[na:1.8.0_252]
	at sun.security.ssl.InputRecord.read(InputRecord.java:503) ~[na:1.8.0_252]
	at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:990) ~[na:1.8.0_252]
	at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:948) ~[na:1.8.0_252]
	at sun.security.ssl.AppInputStream.read(AppInputStream.java:105) ~[na:1.8.0_252]
	at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:284) ~[na:1.8.0_252]
	at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:326) ~[na:1.8.0_252]
	at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178) ~[na:1.8.0_252]
	at java.io.InputStreamReader.read(InputStreamReader.java:184) ~[na:1.8.0_252]
	at org.apache.guacamole.io.ReaderGuacamoleReader.read(ReaderGuacamoleReader.java:169) ~[guacamole-common-1.0.0.jar:na]
	... 6 common frames omitted&lt;/CODE&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jun 2020 09:11:11 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/html5-gateway-unable-to-connect-to-target-server-with-error/m-p/1373666#M59748</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2020-06-11T09:11:11Z</dc:date>
    </item>
    <item>
      <title>Re: HTML5 Gateway unable to connect to Target Server with error: socket close</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/html5-gateway-unable-to-connect-to-target-server-with-error/m-p/1373667#M59749</link>
      <description>&lt;P&gt;Raise the debug level for guacd and check its logs (messages file afaik).&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jun 2020 15:14:29 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/html5-gateway-unable-to-connect-to-target-server-with-error/m-p/1373667#M59749</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2020-06-11T15:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: HTML5 Gateway unable to connect to Target Server with error: socket close</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/html5-gateway-unable-to-connect-to-target-server-with-error/m-p/1373668#M59750</link>
      <description>&lt;P&gt;@Simon Yeh​&amp;nbsp;@Bernhard Brückler​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;we are also facing same problem and This Issue got fixed?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help me with steps for resolving. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Apr 2021 11:54:15 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/html5-gateway-unable-to-connect-to-target-server-with-error/m-p/1373668#M59750</guid>
      <dc:creator>B.Ghanapuram719997</dc:creator>
      <dc:date>2021-04-06T11:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: HTML5 Gateway unable to connect to Target Server with error: socket close</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/html5-gateway-unable-to-connect-to-target-server-with-error/m-p/1373669#M59751</link>
      <description>&lt;P&gt;@Balram Ghanapuram​&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem didn't fix . I stop to try it.&lt;/P&gt;&lt;P&gt;However, I currently install CyberArk 12.1 and I find that RDS SSL certificate maybe a root cause to this the problem. &lt;/P&gt;&lt;P&gt;Because I always got the SSL Socket close and I didn't setup RDS SSL correctly at that time.&lt;/P&gt;&lt;P&gt;Just for your reference and Good Luck.&lt;/P&gt;&lt;P&gt;If you have the answer , please let me know . thanks&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 03:06:19 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/html5-gateway-unable-to-connect-to-target-server-with-error/m-p/1373669#M59751</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2021-04-07T03:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: HTML5 Gateway unable to connect to Target Server with error: socket close</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/html5-gateway-unable-to-connect-to-target-server-with-error/m-p/1373670#M59752</link>
      <description>&lt;P&gt;I am also facing the same Issue, please help on this&lt;/P&gt;</description>
      <pubDate>Tue, 10 Aug 2021 11:14:36 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/html5-gateway-unable-to-connect-to-target-server-with-error/m-p/1373670#M59752</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2021-08-10T11:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: HTML5 Gateway unable to connect to Target Server with error: socket close</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/html5-gateway-unable-to-connect-to-target-server-with-error/m-p/1373671#M59753</link>
      <description>&lt;P&gt;Resurrecting this thread. Chasing this one myself. I am facing the same exact issue. &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;Additional logs&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PSMGW][15:51:04.075][[https-jsse-nio-8443-exec-10]][INFO ][c.c.tokenvalidation.CATokenValidator]: [04BE6542907B051F7A09B0F3D973C64FBDB4D30D23970FFFBD14014AF8531416] CATV051I Received token validation request.&lt;/P&gt;&lt;P&gt;[PSMGW][15:51:04.076][[https-jsse-nio-8443-exec-10]][DEBUG][c.c.t.CATokenValidationCache]: [04BE6542907B051F7A09B0F3D973C64FBDB4D30D23970FFFBD14014AF8531416] CATV019I Get public key.&lt;/P&gt;&lt;P&gt;[PSMGW][15:51:04.080][[https-jsse-nio-8443-exec-10]][DEBUG][c.c.t.CATokenValidationCache]: [04BE6542907B051F7A09B0F3D973C64FBDB4D30D23970FFFBD14014AF8531416] CATV020I Get issuer current time.&lt;/P&gt;&lt;P&gt;[PSMGW][15:51:04.084][[https-jsse-nio-8443-exec-10]][INFO ][c.c.tokenvalidation.CATokenValidator]: [04BE6542907B051F7A09B0F3D973C64FBDB4D30D23970FFFBD14014AF8531416] CATV064I Validation ended successfully, Username:admin.&lt;/P&gt;&lt;P&gt;[PSMGW][15:51:04.084][[https-jsse-nio-8443-exec-10]][DEBUG][c.c.t.CATokenValidationCache]: [04BE6542907B051F7A09B0F3D973C64FBDB4D30D23970FFFBD14014AF8531416] CATV020I Get issuer current time.&lt;/P&gt;&lt;P&gt;[PSMGW][15:51:04.084][[https-jsse-nio-8443-exec-10]][INFO ][c.c.p.m.t.CAPSMGWWebSocketHandShakeFilter]: [04BE6542907B051F7A09B0F3D973C64FBDB4D30D23970FFFBD14014AF8531416] JWT token was succesfully validated. Username: admin&lt;/P&gt;&lt;P&gt;[PSMGW][15:51:04.084][[https-jsse-nio-8443-exec-10]][INFO ][c.c.p.m.direct.CAPSMGWDirectServlet]: [04BE6542907B051F7A09B0F3D973C64FBDB4D30D23970FFFBD14014AF8531416] Adding CSRF token to session&lt;/P&gt;&lt;P&gt;[PSMGW][15:51:04.086][[https-jsse-nio-8443-exec-10]][INFO ][c.c.p.modules.tunnel.CAPSMGWTunnel]: [04BE6542907B051F7A09B0F3D973C64FBDB4D30D23970FFFBD14014AF8531416] Starting new connection to guacd with UUID = 3335d405-390d-43c0-8d88-26edf61c368a&lt;/P&gt;&lt;P&gt;[PSMGW][15:51:04.086][[https-jsse-nio-8443-exec-10]][DEBUG][c.c.p.modules.tunnel.CAPSMGWTunnel]: [04BE6542907B051F7A09B0F3D973C64FBDB4D30D23970FFFBD14014AF8531416] Preparing Configuration to connect to guacd.&lt;/P&gt;&lt;P&gt;[PSMGW][15:51:04.086][[https-jsse-nio-8443-exec-10]][DEBUG][c.c.p.modules.tunnel.CAPSMGWTunnel]: [04BE6542907B051F7A09B0F3D973C64FBDB4D30D23970FFFBD14014AF8531416] Parameters being sent to the guacd through the config:&lt;/P&gt;&lt;P&gt;[PSMGW][15:51:04.086][[https-jsse-nio-8443-exec-10]][DEBUG][c.c.p.modules.tunnel.CAPSMGWTunnel]: [04BE6542907B051F7A09B0F3D973C64FBDB4D30D23970FFFBD14014AF8531416] GuacdHostname = localhost&lt;/P&gt;&lt;P&gt;[PSMGW][15:51:04.086][[https-jsse-nio-8443-exec-10]][DEBUG][c.c.p.modules.tunnel.CAPSMGWTunnel]: [04BE6542907B051F7A09B0F3D973C64FBDB4D30D23970FFFBD14014AF8531416] GuacdPort = 4822&lt;/P&gt;&lt;P&gt;[PSMGW][15:51:04.086][[https-jsse-nio-8443-exec-10]][DEBUG][c.c.p.modules.tunnel.CAPSMGWTunnel]: [04BE6542907B051F7A09B0F3D973C64FBDB4D30D23970FFFBD14014AF8531416] protocol = rdp&lt;/P&gt;&lt;P&gt;[PSMGW][15:51:04.086][[https-jsse-nio-8443-exec-10]][DEBUG][c.c.p.modules.tunnel.CAPSMGWTunnel]: [04BE6542907B051F7A09B0F3D973C64FBDB4D30D23970FFFBD14014AF8531416] TargetCommunicationType = tls&lt;/P&gt;&lt;P&gt;[PSMGW][15:51:04.086][[https-jsse-nio-8443-exec-10]][DEBUG][c.c.p.modules.tunnel.CAPSMGWTunnel]: [04BE6542907B051F7A09B0F3D973C64FBDB4D30D23970FFFBD14014AF8531416] disable-audio = true&lt;/P&gt;&lt;P&gt;[PSMGW][15:51:04.086][[https-jsse-nio-8443-exec-10]][DEBUG][c.c.p.modules.tunnel.CAPSMGWTunnel]: [04BE6542907B051F7A09B0F3D973C64FBDB4D30D23970FFFBD14014AF8531416] enable-sftp = false&lt;/P&gt;&lt;P&gt;[PSMGW][15:51:04.086][[https-jsse-nio-8443-exec-10]][DEBUG][c.c.p.modules.tunnel.CAPSMGWTunnel]: [04BE6542907B051F7A09B0F3D973C64FBDB4D30D23970FFFBD14014AF8531416] hostname = myserverhostnamehere.domain.local&lt;/P&gt;&lt;P&gt;[PSMGW][15:51:04.086][[https-jsse-nio-8443-exec-10]][DEBUG][c.c.p.modules.tunnel.CAPSMGWTunnel]: [04BE6542907B051F7A09B0F3D973C64FBDB4D30D23970FFFBD14014AF8531416] ServerKeyboardLayout = en-us-qwerty&lt;/P&gt;&lt;P&gt;[PSMGW][15:51:04.087][[https-jsse-nio-8443-exec-10]][DEBUG][c.c.p.modules.tunnel.CAPSMGWTunnel]: [04BE6542907B051F7A09B0F3D973C64FBDB4D30D23970FFFBD14014AF8531416] height = 1073&lt;/P&gt;&lt;P&gt;[PSMGW][15:51:04.087][[https-jsse-nio-8443-exec-10]][DEBUG][c.c.p.modules.tunnel.CAPSMGWTunnel]: [04BE6542907B051F7A09B0F3D973C64FBDB4D30D23970FFFBD14014AF8531416] enable-printing = false&lt;/P&gt;&lt;P&gt;[PSMGW][15:51:04.087][[https-jsse-nio-8443-exec-10]][DEBUG][c.c.p.modules.tunnel.CAPSMGWTunnel]: [04BE6542907B051F7A09B0F3D973C64FBDB4D30D23970FFFBD14014AF8531416] EnableFontSmoothing = false&lt;/P&gt;&lt;P&gt;[PSMGW][15:51:04.087][[https-jsse-nio-8443-exec-10]][DEBUG][c.c.p.modules.tunnel.CAPSMGWTunnel]: [04BE6542907B051F7A09B0F3D973C64FBDB4D30D23970FFFBD14014AF8531416] MaxClipboardSize =&amp;nbsp;&lt;/P&gt;&lt;P&gt;[PSMGW][15:51:04.087][[https-jsse-nio-8443-exec-10]][DEBUG][c.c.p.modules.tunnel.CAPSMGWTunnel]: [04BE6542907B051F7A09B0F3D973C64FBDB4D30D23970FFFBD14014AF8531416] port = 3389&lt;/P&gt;&lt;P&gt;[PSMGW][15:51:04.087][[https-jsse-nio-8443-exec-10]][DEBUG][c.c.p.modules.tunnel.CAPSMGWTunnel]: [04BE6542907B051F7A09B0F3D973C64FBDB4D30D23970FFFBD14014AF8531416] enable-drive = false&lt;/P&gt;&lt;P&gt;[PSMGW][15:51:04.087][[https-jsse-nio-8443-exec-10]][DEBUG][c.c.p.modules.tunnel.CAPSMGWTunnel]: [04BE6542907B051F7A09B0F3D973C64FBDB4D30D23970FFFBD14014AF8531416] width = 1262&lt;/P&gt;&lt;P&gt;[PSMGW][15:51:04.087][[https-jsse-nio-8443-exec-10]][DEBUG][c.c.p.modules.tunnel.CAPSMGWTunnel]: [04BE6542907B051F7A09B0F3D973C64FBDB4D30D23970FFFBD14014AF8531416] enable-audio-input = false&lt;/P&gt;&lt;P&gt;[PSMGW][15:51:04.087][[https-jsse-nio-8443-exec-10]][DEBUG][c.c.p.modules.tunnel.CAPSMGWTunnel]: [04BE6542907B051F7A09B0F3D973C64FBDB4D30D23970FFFBD14014AF8531416] IgnoreCertificateVerification = false&lt;/P&gt;&lt;P&gt;[PSMGW][15:51:04.087][[https-jsse-nio-8443-exec-10]][INFO ][c.c.p.modules.tunnel.CAPSMGWTunnel]: [04BE6542907B051F7A09B0F3D973C64FBDB4D30D23970FFFBD14014AF8531416] ClipboardControl = Bidirectional&lt;/P&gt;&lt;P&gt;[PSMGW][15:51:04.087][[https-jsse-nio-8443-exec-10]][DEBUG][c.c.p.modules.tunnel.CAPSMGWTunnel]: [04BE6542907B051F7A09B0F3D973C64FBDB4D30D23970FFFBD14014AF8531416] Config preparation done.&lt;/P&gt;&lt;P&gt;[PSMGW][15:51:04.087][[https-jsse-nio-8443-exec-10]][INFO ][c.c.p.modules.tunnel.CAPSMGWTunnel]: [04BE6542907B051F7A09B0F3D973C64FBDB4D30D23970FFFBD14014AF8531416] Trying to connect to guacd and perform handshake.&lt;/P&gt;&lt;P&gt;[PSMGW][15:51:04.087][[https-jsse-nio-8443-exec-10]][DEBUG][c.c.p.modules.tunnel.CAPSMGWTunnel]: [04BE6542907B051F7A09B0F3D973C64FBDB4D30D23970FFFBD14014AF8531416] Using SSL socket to connect to guacd&lt;/P&gt;&lt;P&gt;[PSMGW][15:51:04.087][[https-jsse-nio-8443-exec-10]][DEBUG][c.c.p.m.t.CAPSMGWFilteredSSLSocket]: [04BE6542907B051F7A09B0F3D973C64FBDB4D30D23970FFFBD14014AF8531416] Connecting to guacd at localhost:4822 via SSL/TLS.&lt;/P&gt;&lt;P&gt;[PSMGW][15:51:04.196][[https-jsse-nio-8443-exec-10]][DEBUG][c.c.p.modules.tunnel.CAPSMGWTunnel]: [04BE6542907B051F7A09B0F3D973C64FBDB4D30D23970FFFBD14014AF8531416] Connection to guacd and handshake completed successfully.&lt;/P&gt;&lt;P&gt;[PSMGW][15:51:04.196][[https-jsse-nio-8443-exec-10]][INFO ][c.c.p.modules.tunnel.CAPSMGWTunnel]: [04BE6542907B051F7A09B0F3D973C64FBDB4D30D23970FFFBD14014AF8531416] Handshake finished.&lt;/P&gt;&lt;P&gt;[PSMGW][15:51:04.652][[https-jsse-nio-8443-exec-1]][INFO ][c.c.p.m.t.CAPSMGWFilteredSSLSocket]: [04BE6542907B051F7A09B0F3D973C64FBDB4D30D23970FFFBD14014AF8531416] Closing socket to guacd.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate the help from anyone willing to help. &lt;/P&gt;&lt;P&gt; If you add to this post just to post without meaningful help, please reconsider. I am seeing people just adding comments without really adding any value.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2022 15:58:50 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/html5-gateway-unable-to-connect-to-target-server-with-error/m-p/1373671#M59753</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2022-09-29T15:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: HTML5 Gateway unable to connect to Target Server with error: socket close</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/html5-gateway-unable-to-connect-to-target-server-with-error/m-p/1373672#M59754</link>
      <description>&lt;P&gt;Additional logs from /opt/tomcat/logs/localhost_access_log.2022-09-29.txt: &lt;/P&gt;&lt;P&gt;192.168.2.6 - - [29/Sep/2022:15:51:03 +0000] "POST /guac/direct HTTP/1.1" 200 3031&lt;/P&gt;&lt;P&gt;192.168.2.6 - - [29/Sep/2022:15:51:04 +0000] "GET /guac/websocket-tunnel?hostname=myservernamehere.domain.local&amp;amp;username=PSM@85e2dd80-e2f5-4998-94b5-d019863e28cc&amp;amp;width=1262&amp;amp;height=1073&amp;amp;password=&amp;amp;port=3389&amp;amp;server-layout=&amp;amp;KeepAliveInterval=60 HTTP/1.1" 101 -&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By the way, this is running in docker.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2022 16:01:30 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/html5-gateway-unable-to-connect-to-target-server-with-error/m-p/1373672#M59754</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2022-09-29T16:01:30Z</dc:date>
    </item>
    <item>
      <title>Re: HTML5 Gateway unable to connect to Target Server with error: socket close</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/html5-gateway-unable-to-connect-to-target-server-with-error/m-p/1373673#M59755</link>
      <description>&lt;P&gt;Btw, I have also verified https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/11.2/en/Content/PASIMP/Securing-RDP-Connections-with-SSL.htm . All values yield the same PSMGW0008E .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am also aware of https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/Latest/en/Content/PASIMP/PSM_HTML5.htm#Troubleshooting&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CA is the same for all components and guacd as well as container are running with debuglevels.  &lt;/P&gt;&lt;P&gt;TLS config on the PSM has been verified.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2022 16:09:35 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/html5-gateway-unable-to-connect-to-target-server-with-error/m-p/1373673#M59755</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2022-09-29T16:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: HTML5 Gateway unable to connect to Target Server with error: socket close</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/html5-gateway-unable-to-connect-to-target-server-with-error/m-p/1373674#M59756</link>
      <description>&lt;P&gt;More logs :  &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[PSMGW][14:17:31.453][[Thread-6]][ERROR][o.a.g.w.GuacamoleWebSocketTunnelEndpoint]: Connection to guacd terminated abnormally: javax.net.ssl.SSLException: Socket closed&lt;/P&gt;&lt;P&gt;[PSMGW][14:17:31.457][[Thread-6]][DEBUG][o.a.g.w.GuacamoleWebSocketTunnelEndpoint]: Internal error during connection to guacd.&lt;/P&gt;&lt;P&gt;org.apache.guacamole.GuacamoleServerException: javax.net.ssl.SSLException: Socket closed&lt;/P&gt;&lt;P&gt;	at org.apache.guacamole.io.ReaderGuacamoleReader.read(ReaderGuacamoleReader.java:186)&lt;/P&gt;&lt;P&gt;	at org.apache.guacamole.io.ReaderGuacamoleReader.readInstruction(ReaderGuacamoleReader.java:195)&lt;/P&gt;&lt;P&gt;	at org.apache.guacamole.protocol.FilteredGuacamoleReader.readInstruction(FilteredGuacamoleReader.java:81)&lt;/P&gt;&lt;P&gt;	at org.apache.guacamole.protocol.FilteredGuacamoleReader.readInstruction(FilteredGuacamoleReader.java:81)&lt;/P&gt;&lt;P&gt;	at org.apache.guacamole.protocol.FilteredGuacamoleReader.readInstruction(FilteredGuacamoleReader.java:81)&lt;/P&gt;&lt;P&gt;	at org.apache.guacamole.protocol.FilteredGuacamoleReader.read(FilteredGuacamoleReader.java:64)&lt;/P&gt;&lt;P&gt;	at org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint$2.run(GuacamoleWebSocketTunnelEndpoint.java:246)&lt;/P&gt;&lt;P&gt;Caused by: javax.net.ssl.SSLException: Socket closed&lt;/P&gt;&lt;P&gt;	at sun.security.ssl.Alert.createSSLException(Alert.java:127)&lt;/P&gt;&lt;P&gt;	at sun.security.ssl.TransportContext.fatal(TransportContext.java:324)&lt;/P&gt;&lt;P&gt;	at sun.security.ssl.TransportContext.fatal(TransportContext.java:267)&lt;/P&gt;&lt;P&gt;	at sun.security.ssl.TransportContext.fatal(TransportContext.java:262)&lt;/P&gt;&lt;P&gt;	at sun.security.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1563)&lt;/P&gt;&lt;P&gt;	at sun.security.ssl.SSLSocketImpl.access$400(SSLSocketImpl.java:73)&lt;/P&gt;&lt;P&gt;	at sun.security.ssl.SSLSocketImpl$AppInputStream.read(SSLSocketImpl.java:973)&lt;/P&gt;&lt;P&gt;	at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:284)&lt;/P&gt;&lt;P&gt;	at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:326)&lt;/P&gt;&lt;P&gt;	at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178)&lt;/P&gt;&lt;P&gt;	at java.io.InputStreamReader.read(InputStreamReader.java:184)&lt;/P&gt;&lt;P&gt;	at org.apache.guacamole.io.ReaderGuacamoleReader.read(ReaderGuacamoleReader.java:169)&lt;/P&gt;&lt;P&gt;	... 6 common frames omitted&lt;/P&gt;&lt;P&gt;Caused by: java.net.SocketException: Socket closed&lt;/P&gt;&lt;P&gt;	at java.net.SocketInputStream.read(SocketInputStream.java:204)&lt;/P&gt;&lt;P&gt;	at java.net.SocketInputStream.read(SocketInputStream.java:141)&lt;/P&gt;&lt;P&gt;	at sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:464)&lt;/P&gt;&lt;P&gt;	at sun.security.ssl.SSLSocketInputRecord.bytesInCompletePacket(SSLSocketInputRecord.java:68)&lt;/P&gt;&lt;P&gt;	at sun.security.ssl.SSLSocketImpl.readApplicationRecord(SSLSocketImpl.java:1341)&lt;/P&gt;&lt;P&gt;	at sun.security.ssl.SSLSocketImpl.access$300(SSLSocketImpl.java:73)&lt;/P&gt;&lt;P&gt;	at sun.security.ssl.SSLSocketImpl$AppInputStream.read(SSLSocketImpl.java:957)&lt;/P&gt;&lt;P&gt;	... 11 common frames omitted&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 have verified that the psm cert is not expired.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2022 16:21:12 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/html5-gateway-unable-to-connect-to-target-server-with-error/m-p/1373674#M59756</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2022-09-29T16:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: HTML5 Gateway unable to connect to Target Server with error: socket close</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/html5-gateway-unable-to-connect-to-target-server-with-error/m-p/1373675#M59757</link>
      <description>&lt;P&gt;@Simon Yeh?&amp;nbsp;@Balram Ghanapuram?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, I enabled IgnoreCertificateVerification=true in /etc/opt/CARKpsmgw/webapp/psmgw.conf in the container to get it to work as @Bozidar Frzovic?&amp;nbsp;documented on thread https://community.cyberark.com/s/question/0D52J000098clY6SAI/hello-everyone-out-thereon-version-1224creation-of-websocket-tunnel-to-guacd-failed-javanetconnectexception-connection-refused-connection-refused . &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This got the HTML5GW to work but in my view this is not the intended fix, but a workaround. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;@Bozidar Frzovic?&amp;nbsp; did mention that he has not been able to get this to work correctly with the docker installation and that using RPM to install the HTML5GW has worked for him. I am about to try it and will post my results.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2022 16:58:03 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/html5-gateway-unable-to-connect-to-target-server-with-error/m-p/1373675#M59757</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2022-09-29T16:58:03Z</dc:date>
    </item>
    <item>
      <title>Re: HTML5 Gateway unable to connect to Target Server with error: socket close</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/html5-gateway-unable-to-connect-to-target-server-with-error/m-p/1373676#M59758</link>
      <description>&lt;P&gt;Hi Leo&lt;/P&gt;&lt;P&gt;Thanks for your information, but the environment of LAB is changed now. I will keep this workaround in my mind.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2022 03:53:08 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/html5-gateway-unable-to-connect-to-target-server-with-error/m-p/1373676#M59758</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2022-09-30T03:53:08Z</dc:date>
    </item>
    <item>
      <title>Re: HTML5 Gateway unable to connect to Target Server with error: socket close</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/html5-gateway-unable-to-connect-to-target-server-with-error/m-p/1373677#M59759</link>
      <description>&lt;P&gt;Thank you @Simon Yeh​&amp;nbsp;how has it changed?  Is it now at pcloud ​?&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2022 06:00:23 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/html5-gateway-unable-to-connect-to-target-server-with-error/m-p/1373677#M59759</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2022-09-30T06:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: HTML5 Gateway unable to connect to Target Server with error: socket close</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/html5-gateway-unable-to-connect-to-target-server-with-error/m-p/1373678#M59760</link>
      <description>&lt;P&gt;I download the HTML5 Gateway Docker image then deploy it.  The problem is gone.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2022 11:27:19 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/html5-gateway-unable-to-connect-to-target-server-with-error/m-p/1373678#M59760</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2022-10-03T11:27:19Z</dc:date>
    </item>
    <item>
      <title>Re: HTML5 Gateway unable to connect to Target Server with error: socket close</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/html5-gateway-unable-to-connect-to-target-server-with-error/m-p/1373679#M59761</link>
      <description>&lt;P&gt;Thank you.   Mine gets deployed via the installation file that comes with PSM with the "localimage" ​parameter.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2022 12:57:55 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/html5-gateway-unable-to-connect-to-target-server-with-error/m-p/1373679#M59761</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2022-10-03T12:57:55Z</dc:date>
    </item>
  </channel>
</rss>

