Affects Version/s: 1.0.0
Fix Version/s: None
Environment:ubuntu 18.04 VM connecting to Windows 10 VM's via RDP
I have a guacamole server running on Ubuntu 18.04 using MySql.
I created an RDP connection to a Windows 10 client on a VM and properly configured Openssh and RDP on the Windows instance. I can connect with out issue and transfer files. I created 2 clones of the image and reconfigured the hostnames and network but was unable to replicate the connection properties and successfully connect to either VM. Original VM still works.
I figured this was a windows issue with cloning the SID or something else related to cloning. I created two new windows VM's and installed the OS from scratch on both. Configure RDP and OpenSSH on both. Successfully sftp'd files to both VM's. Successfully RDP'd to both VM's with Remmina client.
Created new connections to in guacamole from scratch and replicated settings from working connection. Still cannot connect with guacamole.
In catalina.out I get only this when I try to connect:
20:53:27.315 [http-nio-8080-exec-10] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" connected to connection "18".
20:53:27.359 [http-nio-8080-exec-3] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" disconnected from connection "18". Duration: 42 milliseconds
Exception in thread "Thread-30" java.lang.IllegalStateException: Message will not be sent because the WebSocket session has been closed
In syslog I get this:
Jan 20 20:53:27 pve-guacamole guacd: Connection ID is "$caef2d52-60e0-4d83-baae-f01c26d40cca"
Jan 20 20:53:27 pve-guacamole guacd: No security mode specified. Defaulting to RDP.
Jan 20 20:53:27 pve-guacamole guacd: Resize method: none
Jan 20 20:53:27 pve-guacamole guacd: User "@7cce0f0b-94fd-49d9-95cc-921a04bd6d13" joined connection "$caef2d52-60e0-4d83-baae-f01c26d40cca" (1 users now present)
Jan 20 20:53:27 pve-guacamole guacd: Loading keymap "base"
Jan 20 20:53:27 pve-guacamole guacd: Loading keymap "en-us-qwerty"
Jan 20 20:53:27 pve-guacamole guacd: Error connecting to RDP server
Jan 20 20:53:27 pve-guacamole guacd: User "@7cce0f0b-94fd-49d9-95cc-921a04bd6d13" disconnected (0 users remain)
Jan 20 20:53:27 pve-guacamole guacd: Last user of connection "$caef2d52-60e0-4d83-baae-f01c26d40cca" disconnected
Jan 20 20:53:27 pve-guacamole guacd: Connection "$caef2d52-60e0-4d83-baae-f01c26d40cca" removed.
It appears that guacamole is unable to create a second RDP connection after the first one was established. I don't know if this is a caching issue or what but I cannot create a new working RDP session after the first one was established. The original continues to work and is the only RDP connection that will work, I have rebooted the guacamole server multiple times but the behavior is consistent.