RDM 2021.2.15.0 - 2021.2.21.0 hang when closing RDP session with SSH port forwarding.
I've recognized this today a lot when using RDP sessions with 2021.2.15.0, updated to 2021.2.21.0 and the problems keeps happening. My RDP sessions are tunneled through SSH by creating some SSH port forwarding, which is configured at the VPN-parts of the RDP connection. I manually open the port forwarding and afterwards do the same with whatever RDP session I need. At some point I'm closing some RDP session because I'm done with those, but keep the port forwarding alive, because I need different RDP sessions using the same tunnel.
I'm somewhat sure that with older versions of RDM than ".15" closing those RDP sessions worked, but they currently don't. Instead, if I close the RDP session, the UI simply freezes and never comes back. I need to kill the process using the Task Manager.
During researching about the problem I've found some thread with a setup called SSH Secure Gateway. I switched some of my RDP sessions to use that and those sessions can easily be closed without freezing the UI. The following screenshot shows the enabled port forwarding and the RDP session "lohmar-srv" has just been closed. One can see in the tabs that the entry for RDP session is still there, while the main content has already been removed. The tabs are for the SSH port forwarding, the proxy connection to SSH and the RDP session itself.

Not sure how I can debug this further or provide any logs. But would be great if you could have a look. Thanks!
Hello,
Thank you for contacting us on that matter!
Since the "Secure Gateway" feature works for you, would you be interested in opting for this feature? More details on this feature can be found here: https://kb.devolutions.net/rdm_how_configure_secure_gateway.html, are you already familiar with this topic?
If you prefer to use your current method, please provide us screenshots f your current configuration via private message.
Best regards,
James Lafleur