- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.
06-11-2020 02:11 AM
Hi there
The attached file is my debug log from my gateway server : /var/opt/CARKpsmgw/logs/webapp|cyberark-psm-gateway-webapp.log
Could any expert help me to figure out what 's the root cause of this error? or any guidance to troubleshooting?
I've struggled this problem for 4 days....
Thanks in advance.
[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
06-11-2020 08:14 AM
Raise the debug level for guacd and check its logs (messages file afaik).
04-06-2021 04:54 AM
@Simon Yeh @Bernhard Brückler
we are also facing same problem and This Issue got fixed?
Please help me with steps for resolving.
04-06-2021 08:06 PM
@Balram Ghanapuram
The problem didn't fix . I stop to try it.
However, I currently install CyberArk 12.1 and I find that RDS SSL certificate maybe a root cause to this the problem.
Because I always got the SSL Socket close and I didn't setup RDS SSL correctly at that time.
Just for your reference and Good Luck.
If you have the answer , please let me know . thanks
08-10-2021 04:14 AM
I am also facing the same Issue, please help on this
09-29-2022 08:58 AM
Resurrecting this thread. Chasing this one myself. I am facing the same exact issue.
Additional logs
PSMGW][15:51:04.075][[https-jsse-nio-8443-exec-10]][INFO ][c.c.tokenvalidation.CATokenValidator]: [04BE6542907B051F7A09B0F3D973C64FBDB4D30D23970FFFBD14014AF8531416] CATV051I Received token validation request.
[PSMGW][15:51:04.076][[https-jsse-nio-8443-exec-10]][DEBUG][c.c.t.CATokenValidationCache]: [04BE6542907B051F7A09B0F3D973C64FBDB4D30D23970FFFBD14014AF8531416] CATV019I Get public key.
[PSMGW][15:51:04.080][[https-jsse-nio-8443-exec-10]][DEBUG][c.c.t.CATokenValidationCache]: [04BE6542907B051F7A09B0F3D973C64FBDB4D30D23970FFFBD14014AF8531416] CATV020I Get issuer current time.
[PSMGW][15:51:04.084][[https-jsse-nio-8443-exec-10]][INFO ][c.c.tokenvalidation.CATokenValidator]: [04BE6542907B051F7A09B0F3D973C64FBDB4D30D23970FFFBD14014AF8531416] CATV064I Validation ended successfully, Username:admin.
[PSMGW][15:51:04.084][[https-jsse-nio-8443-exec-10]][DEBUG][c.c.t.CATokenValidationCache]: [04BE6542907B051F7A09B0F3D973C64FBDB4D30D23970FFFBD14014AF8531416] CATV020I Get issuer current time.
[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
[PSMGW][15:51:04.084][[https-jsse-nio-8443-exec-10]][INFO ][c.c.p.m.direct.CAPSMGWDirectServlet]: [04BE6542907B051F7A09B0F3D973C64FBDB4D30D23970FFFBD14014AF8531416] Adding CSRF token to session
[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
[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.
[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:
[PSMGW][15:51:04.086][[https-jsse-nio-8443-exec-10]][DEBUG][c.c.p.modules.tunnel.CAPSMGWTunnel]: [04BE6542907B051F7A09B0F3D973C64FBDB4D30D23970FFFBD14014AF8531416] GuacdHostname = localhost
[PSMGW][15:51:04.086][[https-jsse-nio-8443-exec-10]][DEBUG][c.c.p.modules.tunnel.CAPSMGWTunnel]: [04BE6542907B051F7A09B0F3D973C64FBDB4D30D23970FFFBD14014AF8531416] GuacdPort = 4822
[PSMGW][15:51:04.086][[https-jsse-nio-8443-exec-10]][DEBUG][c.c.p.modules.tunnel.CAPSMGWTunnel]: [04BE6542907B051F7A09B0F3D973C64FBDB4D30D23970FFFBD14014AF8531416] protocol = rdp
[PSMGW][15:51:04.086][[https-jsse-nio-8443-exec-10]][DEBUG][c.c.p.modules.tunnel.CAPSMGWTunnel]: [04BE6542907B051F7A09B0F3D973C64FBDB4D30D23970FFFBD14014AF8531416] TargetCommunicationType = tls
[PSMGW][15:51:04.086][[https-jsse-nio-8443-exec-10]][DEBUG][c.c.p.modules.tunnel.CAPSMGWTunnel]: [04BE6542907B051F7A09B0F3D973C64FBDB4D30D23970FFFBD14014AF8531416] disable-audio = true
[PSMGW][15:51:04.086][[https-jsse-nio-8443-exec-10]][DEBUG][c.c.p.modules.tunnel.CAPSMGWTunnel]: [04BE6542907B051F7A09B0F3D973C64FBDB4D30D23970FFFBD14014AF8531416] enable-sftp = false
[PSMGW][15:51:04.086][[https-jsse-nio-8443-exec-10]][DEBUG][c.c.p.modules.tunnel.CAPSMGWTunnel]: [04BE6542907B051F7A09B0F3D973C64FBDB4D30D23970FFFBD14014AF8531416] hostname = myserverhostnamehere.domain.local
[PSMGW][15:51:04.086][[https-jsse-nio-8443-exec-10]][DEBUG][c.c.p.modules.tunnel.CAPSMGWTunnel]: [04BE6542907B051F7A09B0F3D973C64FBDB4D30D23970FFFBD14014AF8531416] ServerKeyboardLayout = en-us-qwerty
[PSMGW][15:51:04.087][[https-jsse-nio-8443-exec-10]][DEBUG][c.c.p.modules.tunnel.CAPSMGWTunnel]: [04BE6542907B051F7A09B0F3D973C64FBDB4D30D23970FFFBD14014AF8531416] height = 1073
[PSMGW][15:51:04.087][[https-jsse-nio-8443-exec-10]][DEBUG][c.c.p.modules.tunnel.CAPSMGWTunnel]: [04BE6542907B051F7A09B0F3D973C64FBDB4D30D23970FFFBD14014AF8531416] enable-printing = false
[PSMGW][15:51:04.087][[https-jsse-nio-8443-exec-10]][DEBUG][c.c.p.modules.tunnel.CAPSMGWTunnel]: [04BE6542907B051F7A09B0F3D973C64FBDB4D30D23970FFFBD14014AF8531416] EnableFontSmoothing = false
[PSMGW][15:51:04.087][[https-jsse-nio-8443-exec-10]][DEBUG][c.c.p.modules.tunnel.CAPSMGWTunnel]: [04BE6542907B051F7A09B0F3D973C64FBDB4D30D23970FFFBD14014AF8531416] MaxClipboardSize =
[PSMGW][15:51:04.087][[https-jsse-nio-8443-exec-10]][DEBUG][c.c.p.modules.tunnel.CAPSMGWTunnel]: [04BE6542907B051F7A09B0F3D973C64FBDB4D30D23970FFFBD14014AF8531416] port = 3389
[PSMGW][15:51:04.087][[https-jsse-nio-8443-exec-10]][DEBUG][c.c.p.modules.tunnel.CAPSMGWTunnel]: [04BE6542907B051F7A09B0F3D973C64FBDB4D30D23970FFFBD14014AF8531416] enable-drive = false
[PSMGW][15:51:04.087][[https-jsse-nio-8443-exec-10]][DEBUG][c.c.p.modules.tunnel.CAPSMGWTunnel]: [04BE6542907B051F7A09B0F3D973C64FBDB4D30D23970FFFBD14014AF8531416] width = 1262
[PSMGW][15:51:04.087][[https-jsse-nio-8443-exec-10]][DEBUG][c.c.p.modules.tunnel.CAPSMGWTunnel]: [04BE6542907B051F7A09B0F3D973C64FBDB4D30D23970FFFBD14014AF8531416] enable-audio-input = false
[PSMGW][15:51:04.087][[https-jsse-nio-8443-exec-10]][DEBUG][c.c.p.modules.tunnel.CAPSMGWTunnel]: [04BE6542907B051F7A09B0F3D973C64FBDB4D30D23970FFFBD14014AF8531416] IgnoreCertificateVerification = false
[PSMGW][15:51:04.087][[https-jsse-nio-8443-exec-10]][INFO ][c.c.p.modules.tunnel.CAPSMGWTunnel]: [04BE6542907B051F7A09B0F3D973C64FBDB4D30D23970FFFBD14014AF8531416] ClipboardControl = Bidirectional
[PSMGW][15:51:04.087][[https-jsse-nio-8443-exec-10]][DEBUG][c.c.p.modules.tunnel.CAPSMGWTunnel]: [04BE6542907B051F7A09B0F3D973C64FBDB4D30D23970FFFBD14014AF8531416] Config preparation done.
[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.
[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
[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.
[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.
[PSMGW][15:51:04.196][[https-jsse-nio-8443-exec-10]][INFO ][c.c.p.modules.tunnel.CAPSMGWTunnel]: [04BE6542907B051F7A09B0F3D973C64FBDB4D30D23970FFFBD14014AF8531416] Handshake finished.
[PSMGW][15:51:04.652][[https-jsse-nio-8443-exec-1]][INFO ][c.c.p.m.t.CAPSMGWFilteredSSLSocket]: [04BE6542907B051F7A09B0F3D973C64FBDB4D30D23970FFFBD14014AF8531416] Closing socket to guacd.
Appreciate the help from anyone willing to help.
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.
09-29-2022 09:01 AM
Additional logs from /opt/tomcat/logs/localhost_access_log.2022-09-29.txt:
192.168.2.6 - - [29/Sep/2022:15:51:03 +0000] "POST /guac/direct HTTP/1.1" 200 3031
192.168.2.6 - - [29/Sep/2022:15:51:04 +0000] "GET /guac/websocket-tunnel?hostname=myservernamehere.domain.local&username=PSM@85e2dd80-e2f5-4998-94b5-d019863e28cc&width=1262&height=1073&password=&port=3389&server-layout=&KeepAliveInterval=60 HTTP/1.1" 101 -
By the way, this is running in docker.
09-29-2022 09:09 AM
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 .
I am also aware of https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/Latest/en/Content/PASIMP/PSM_HTML5.htm#Troubleshooting
CA is the same for all components and guacd as well as container are running with debuglevels.
TLS config on the PSM has been verified.
09-29-2022 09:21 AM
More logs :
[PSMGW][14:17:31.453][[Thread-6]][ERROR][o.a.g.w.GuacamoleWebSocketTunnelEndpoint]: Connection to guacd terminated abnormally: javax.net.ssl.SSLException: Socket closed
[PSMGW][14:17:31.457][[Thread-6]][DEBUG][o.a.g.w.GuacamoleWebSocketTunnelEndpoint]: Internal error during connection to guacd.
org.apache.guacamole.GuacamoleServerException: javax.net.ssl.SSLException: Socket closed
at org.apache.guacamole.io.ReaderGuacamoleReader.read(ReaderGuacamoleReader.java:186)
at org.apache.guacamole.io.ReaderGuacamoleReader.readInstruction(ReaderGuacamoleReader.java:195)
at org.apache.guacamole.protocol.FilteredGuacamoleReader.readInstruction(FilteredGuacamoleReader.java:81)
at org.apache.guacamole.protocol.FilteredGuacamoleReader.readInstruction(FilteredGuacamoleReader.java:81)
at org.apache.guacamole.protocol.FilteredGuacamoleReader.readInstruction(FilteredGuacamoleReader.java:81)
at org.apache.guacamole.protocol.FilteredGuacamoleReader.read(FilteredGuacamoleReader.java:64)
at org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint$2.run(GuacamoleWebSocketTunnelEndpoint.java:246)
Caused by: javax.net.ssl.SSLException: Socket closed
at sun.security.ssl.Alert.createSSLException(Alert.java:127)
at sun.security.ssl.TransportContext.fatal(TransportContext.java:324)
at sun.security.ssl.TransportContext.fatal(TransportContext.java:267)
at sun.security.ssl.TransportContext.fatal(TransportContext.java:262)
at sun.security.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1563)
at sun.security.ssl.SSLSocketImpl.access$400(SSLSocketImpl.java:73)
at sun.security.ssl.SSLSocketImpl$AppInputStream.read(SSLSocketImpl.java:973)
at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:284)
at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:326)
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178)
at java.io.InputStreamReader.read(InputStreamReader.java:184)
at org.apache.guacamole.io.ReaderGuacamoleReader.read(ReaderGuacamoleReader.java:169)
... 6 common frames omitted
Caused by: java.net.SocketException: Socket closed
at java.net.SocketInputStream.read(SocketInputStream.java:204)
at java.net.SocketInputStream.read(SocketInputStream.java:141)
at sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:464)
at sun.security.ssl.SSLSocketInputRecord.bytesInCompletePacket(SSLSocketInputRecord.java:68)
at sun.security.ssl.SSLSocketImpl.readApplicationRecord(SSLSocketImpl.java:1341)
at sun.security.ssl.SSLSocketImpl.access$300(SSLSocketImpl.java:73)
at sun.security.ssl.SSLSocketImpl$AppInputStream.read(SSLSocketImpl.java:957)
... 11 common frames omitted
I have verified that the psm cert is not expired.
09-29-2022 09:58 AM
@Simon Yeh? @Balram Ghanapuram?
So, I enabled IgnoreCertificateVerification=true in /etc/opt/CARKpsmgw/webapp/psmgw.conf in the container to get it to work as @Bozidar Frzovic? 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 .
This got the HTML5GW to work but in my view this is not the intended fix, but a workaround.
@Bozidar Frzovic? 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.
09-29-2022 08:53 PM
Hi Leo
Thanks for your information, but the environment of LAB is changed now. I will keep this workaround in my mind.
09-29-2022 11:00 PM
Thank you @Simon Yeh how has it changed? Is it now at pcloud ?
10-03-2022 04:27 AM
I download the HTML5 Gateway Docker image then deploy it. The problem is gone.
10-03-2022 05:57 AM
Thank you. Mine gets deployed via the installation file that comes with PSM with the "localimage" parameter.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!

