RM Unify AD Sync registration fails with log error "An error occurred while making the HTTP request"
Published Date : 26 Sep 2023
Last Updated : 14 Nov 2024
Content Ref: TEC9367358
Operating System
(none)
Part No
(none)
Summary
Explains why a log error message "An error occurred while making the HTTP request to https://api.platform.rmunify.com/unifyprovisioning/identityprovider.svc" is displayed when trying to register your establishment in RM Unify AD Sync.
Symptoms
After entering the organisation code and registration key into the RM Unify AD Sync Config tool and clicking Continue, the following error message is displayed:
"Registration failed."
When you look in the RM Unify AD Sync log, you see the following error:
"Configuration Tool",ERROR,"Main","Error occurred during Registration with RM Unify - System.ApplicationException: Unable to connect to RM Unify for <DfE Code> ---> System.ServiceModel.CommunicationException: An error occurred while making the HTTP request to https://api.platform.rmunify.com/unifyprovisioning/identityprovider.svc. This could be due to the fact that the server certificate is not configured properly with HTTP.SYS in the HTTPS case. This could also be caused by a mismatch of the security binding between the client and the server. ---> System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send. ---> System.IO.IOException: Received an unexpected EOF or 0 bytes from the transport stream."
Additionally, EventID 36871 SChannel 'A fatal error occurred' may be logged in the Event Viewer, System Log.
Cause
This error can occur when neither the .NET Framework nor the server operating system allows TLS1.2 communication. On Windows Server 2012 R2 and later, the operating system should default to supporting TLS1.2. Having the latest Windows updates for .NET Framework 3.5 installed should also enable .NET Framework 3.5 to support TLS1.2, but sometimes registry keys need to be explicitly added.
Procedure
Install the RM Unify AD Sync security update.
As an administrator, log on to the RM Unify AD Sync server and run the security update, which can be downloaded from DWN9585075 in the Other Useful Articles section below.
If this article has not helped provide a solution then it is also possible to
log a call...
Document Keywords: ad, sync, ad, unify, TEC9367358, TLS1, TLS1.2, TLS1.1, SSL, An error occurred while making the HTTP request