Does HTML5 AutoReconnect only works when using TLS instead of RDP Protocol?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Does HTML5 AutoReconnect only works when using TLS instead of RDP Protocol?

L1 Bithead

When using RDP on the PSM and HTML5 Gateway, as security layer, I noticed that AutoReconnect would result in a PSMGW1001E Error when refreshing the Browser.

 

But when using TLS on both sides the browser/session would reconnect after an browser refresh

 

Working with HTML5 and PSM v 14.6

6 REPLIES 6

L7 Applicator

The HTML5 AutoReconnect feature in Remote Desktop Services (RDS) is not strictly dependent on TLS versus RDP protocol, 

 

HTML5 AutoReconnect typically requires TLS, because:

  • The HTML5 Web Client operates over HTTPS, which inherently uses TLS.
  • WebSockets, used by the HTML5 client, also require a secure connection (wss://), which is TLS-based.
  • Without TLS, the HTML5 client cannot establish a secure session, and thus AutoReconnect would not function.

 

L1 Bithead

Forgot to mention that RDP is only used between the GW en the PSM.

De webclient is using HTTPS/TLS

L4 Transporter

Hello @Arjan serno​ 

 

HTML5 Gateway relies on TLS to establish a secure, WebSocket-based connection over HTTPS between the user browser and the GW as it doesn't use RDP.

L4 Transporter

Hello @Arjan serno​ 

 

HTML5 Gateway relies on TLS to establish a secure, WebSocket-based connection over HTTPS between the user browser and the GW as it doesn't use RDP.

L2 Linker

Hello

Yes, HTML5 AutoReconnect essentially requires TLS because the HTML5 client uses HTTPS and secure WebSocket connections, which depend on TLS. The RDP protocol itself is not used directly by the HTML5 client but is used behind the scenes between the Gateway (GW) and the PSM.

 

  • Without TLS on the front end, AutoReconnect will fail, which matches your observation of errors on browser refresh.

 

L1 Bithead

Thanks all

 

I ment only the connection between the GW and the PSM, here you can choose between RDP or TLS.

 

PSMGW.conf:

 

# -------------------------------------------------------                      

# Communication Type between the PSM and the gateway                         

# Options:                                              

# - RDP                                               

# - TLS                                               

# This parameter is optional, defaulted to RDP                            

# -------------------------------------------------------                      

TargetCommunicationType=RDP  

 

 

 

The frontend/websocket and internal communication are ofcouse TLS.

 

 

  • 189 Views
  • 6 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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!