Active Directory Server Integration logs show a FATAL exception (System.Net.WebException)

Learn how to troubleshoot this Active Directory Server Integration issue

Active Directory Server Integration version 2.4 is the newest version of the Active Directory Server Integration installer. In some cases, customers have reported problems with older installs of Active Directory Server Integration not supporting TLS version 1.2 and in this case, the following FATAL exception is logged. 

FATAL: Remote server exception during DeleteHosts request: 
The underlying connection was closed: An unexpected error occurred on a send.
System.Net.WebException: The underlying connection was closed: An unexpected error
occurred on a send. ---> System.IO.IOException: Unable to read data from the transport
connection: An existing connection was forcibly closed by the remote host.
---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by
the remote host at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32
size, SocketFlags socketFlags)

How to solve it

Check the Active Directory Server Integration version and if it is prior to version 2.4 it needs to be updated.

  • Download the newest version found in the install Active Directory Server Integration article
  • Stop the Active Directory Server Integration service
  • Create a copy of the config.json file in the AppData folder
  • Uninstall Active Directory Server Integration service
  • Install Active Directory Server Integration 2.4
  • Replace the autogenerated config.json with the old one
  • Run the Active Directory Server Integration service