<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content

Okta Advanced Server Access and Okta Privileged Access RDP Fails With a Connection Closed Before Server Preface Received Error

Advanced Server Access

Overview

Remote Desktop Protocol (RDP) connections through Okta Advanced Server Access (ASA) or Okta Privileged Access (OPA) server agents fail when the target server time is incorrect. This incorrect time prevents the Transport Layer Security (TLS) connection from completing successfully. Resolve this issue by correcting the time or the Network Time Protocol (NTP) server on the target server, then restarting the ScaleFT Server Tools service.

 

The following error occurs on the client:

 

Connection closed before server preface received.

 

Applies To

  • Okta Identity Engine (OIE)
  • Okta Classic Engine
  • Okta Advanced Server Access (ASA)
  • Server Agent
  • Remote Desktop Protocol (RDP)

Cause

The target server time is incorrect, which prevents the Transport Layer Security (TLS) connection from completing successfully.

Solution

How is the connection closed before the server preface received error is resolved?

 

Correct the time on the target server and restart the service by following these steps.

  1. Correct the time or Network Time Protocol (NTP) server on the target server.
  2. Restart the ScaleFT Server Tools service.
Loading
Okta Advanced Server Access and Okta Privileged Access RDP Fails With a Connection Closed Before Server Preface Received Error | Okta Support