The underlying connection was closed: An unexpected error occurred on a receive
Symptoms
When uploading data from the XIA Configuration Client to the XIA Configuration Server using SSL the system reports
The underlying connection was closed: An unexpected error occurred on a receive.
The error is also shown when testing the server connection.
Cause
This error can occur when the computer running XIA Configuration Server has been configured to allow only TLS 1.2 connections, however the machine running the XIA Configuration Client is not configured to use TLS 1.2.
More Information
Viewing the diagnostics log displays additional information.
The client and server cannot communicate, because they do not possess a common algorithm
Resolution
- Ensure you are running the latest version of XIA Configuration Server, and upgrade if required.
- Ensure you have a full system backup on the machine running the XIA Configuration Client.
- Apply the following registry settings, then reboot the machine running the XIA Configuration Client.
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\v4.0.30319]
"SystemDefaultTlsVersions"=dword:00000001
"SchUseStrongCrypto"=dword:00000001
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Client]
"Enabled"=dword:ffffffff
"DisabledByDefault"=dword:00000000