Failed to Register host. The underlying connection was closed: An unexpected

  • KM03539417
  • 17-Oct-2019
  • 17-Oct-2019

This document has not been formally reviewed for accuracy and is provided "as is" for your convenience.

Summary

Enabling the TLS 1.0 fixed the issue.

Question

We have collected Fiddler logs from machine on which the connection was succesfull and from one problematic one. After the investigation from RnD they have found that the TLS 1.0 was disabled on the problematic machine and on the working one was enabled. So, after enabling the TLS 1.0 on the problematic machines the problem was fixed.

Steps how to anble TLS 1.0:

Enable the TLS protocols on the server, as "Client"
 
  1. Browse to the following registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols
  2. Right click on the Protocols folder and select New and then Key from the drop-down menu. This will create new folder.  Rename this folder to TLS 1.1 or TLS 1.2 (depending on the protocol you want to enable)
  3. Right click on the TLS 1.1 or TLS 1.2 key and add a new key underneath it.
  4. Rename the new key as: Client
  5. Right click on the Client key and select New and then DWORD (32-bit) Value from the drop-down list.
  6. Rename the DWORD to DisabledByDefault.
  7. Right-click the name DisabledByDefault and select Modify... from the drop-down menu.
  8. Ensure that the Value data field is set to 0 and the Base is Hexadecimal.  Click on OK.
  9. Create another DWORD for the Client key as you did in Step 7.
  10. Rename this second DWORD to Enabled.
  11. Right-click the name Enabled and select Modify... from the drop-down menu.
  12. Ensure that the Value data field is set to 1 and the Base is Hexadecimal. Click on OK.
  13. Reboot the server