- 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.
03-06-2020 01:46 AM
Hi
i have install and configure HTML5 gateway but whe i open the session in my browser open new tab and in a few secconds it closed . I can't uderstand why.
Which in /var/logs/messages i find
Mar 6 04:41:04 rl0 guacd[31077]: Guacamole protocol violation. Perhaps the version of guacamole-client is incompatible with this version of guacd?
In /opt/tomcat/logs/localhost_access_log.txt find
10.0.0.13 - - [06/Mar/2020:04:41:02 -0500] "POST /guac/direct HTTP/1.1" 200 1945
10.0.0.13 - - [06/Mar/2020:04:41:03 -0500] "GET /guac/assets/guacamole-common-js/all.min.js HTTP/1.1" 200 68611
10.0.0.13 - - [06/Mar/2020:04:41:03 -0500] "GET /guac/styles.3d2115ec9b4c0bc574aa.bundle.css HTTP/1.1" 200 285699
10.0.0.13 - - [06/Mar/2020:04:41:03 -0500] "GET /guac/main.f27d6ee28025245ad570.bundle.js HTTP/1.1" 200 104172
10.0.0.13 - - [06/Mar/2020:04:41:03 -0500] "GET /guac/inline.dc22c8aa6e312c8b2bf1.bundle.js HTTP/1.1" 200 1447
10.0.0.13 - - [06/Mar/2020:04:41:03 -0500] "GET /guac/polyfills.4a55887047d75c1de2c4.bundle.js HTTP/1.1" 200 103273
10.0.0.13 - - [06/Mar/2020:04:41:03 -0500] "GET /guac/scripts.6fcbe1af6a0b103f5442.bundle.js HTTP/1.1" 200 165067
10.0.0.13 - - [06/Mar/2020:04:41:03 -0500] "GET /guac/vendor.9886ecd903245af8be12.bundle.js HTTP/1.1" 200 843157
10.0.0.13 - - [06/Mar/2020:04:41:04 -0500] "GET /guac/websocket-tunnel?hostname=01PSM.sc-kavitech.com.ua&username=PSM@35b5c231-ebb0-4fff-90ca-79ea7a9290a1&width=1920&height=969&password=&KeepAliveInterval=60 HTTP/1.1" 101 -
10.0.0.13 - - [06/Mar/2020:04:41:04 -0500] "GET /guac/fontawesome-webfont.af7ae505a9eed503f8b8.woff2 HTTP/1.1" 200 77160
10.0.0.13 - - [06/Mar/2020:04:41:04 -0500] "GET /guac/OpenSans-Regular.cd7296352d159532b66c.ttf HTTP/1.1" 200 106252
10.0.0.13 - - [06/Mar/2020:04:41:04 -0500] "POST /guac/tunnel?connect HTTP/1.1" 500 674
In /var/opt/CARKpsmgw/logs/webapp/cyberark-psm-gateway-webapp.log
[PSMGW][04:41:02.227][[http-bio-443-exec-3]][INFO ][c.c.p.m.direct.CAPSMGWDirectServlet]: New connection arrived to cyberark servlet[POST].
[PSMGW][04:41:02.231][[http-bio-443-exec-3]][INFO ][c.c.p.m.direct.CAPSMGWDirectServlet]: Client redirection finished.
[PSMGW][04:41:04.531][[http-bio-443-exec-8]][INFO ][c.c.p.modules.tunnel.CAPSMGWTunnel]: New connection to guacd arrived.
[PSMGW][04:41:04.532][[http-bio-443-exec-8]][INFO ][c.c.p.modules.tunnel.CAPSMGWTunnel]: [fe7b9754-d14a-460f-abd7-448cedec6aca] ClipboardControl = Bidirectional
[PSMGW][04:41:04.532][[http-bio-443-exec-8]][INFO ][c.c.p.modules.tunnel.CAPSMGWTunnel]: Performing Handshake.
[PSMGW][04:41:04.567][[http-bio-443-exec-8]][ERROR][o.a.g.w.GuacamoleWebSocketTunnelEndpoint]: Creation of WebSocket tunnel to guacd failed: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
[PSMGW][04:41:04.646][[http-bio-443-exec-5]][INFO ][c.c.p.modules.tunnel.CAPSMGWTunnel]: New connection to guacd arrived.
[PSMGW][04:41:04.647][[http-bio-443-exec-5]][INFO ][c.c.p.modules.tunnel.CAPSMGWTunnel]: [8ee0c3cb-b1fd-452a-b6fa-e390102e51e4] ClipboardControl = Bidirectional
[PSMGW][04:41:04.647][[http-bio-443-exec-5]][INFO ][c.c.p.modules.tunnel.CAPSMGWTunnel]: Performing Handshake.
[PSMGW][04:41:04.669][[http-bio-443-exec-5]][ERROR][o.a.g.s.GuacamoleHTTPTunnelServlet]: HTTP tunnel request failed: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
On PSM server i have complete hardening
If anyone know what i should to change or you need some additional information you can be free to ask me.
Help me please.
Regards,
Yaroslav
03-06-2020 07:49 AM
Ok, thank you. problem is solved. Problem was because i don't Secure the connection between the end user and Tomcat like in this guide
03-06-2020 04:42 AM
"SSLHandshakeException"... thats very straightforward. Fix your SSL certificates and trust relationship between Tomcat, guacd, and the PSM server.
03-06-2020 04:46 AM
I shuold install psm cerificate to GW server or GW certificate to PSM server or both?
03-06-2020 04:53 AM
Read the docs, make sure you understand who trusts who because of what, then you will know.
03-06-2020 07:49 AM
Ok, thank you. problem is solved. Problem was because i don't Secure the connection between the end user and Tomcat like in this guide
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!

