Clients that attempt to access data OData or other Citrix Services with TLS versions 1.0 and 1.1 fail to establish a connection.
Clients using .NET Framework may raise the following error:
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
This occurs when a client attempts to access OData using legacy TLS versions. To fix this issue, ensure that your client uses TLS 1.2 or higher.
.NET Framework 4.7 and above on Windows 8 and above use TLS 1.2 or higher by default. On older versions of windows and .NET Framework, additional configuration may be required. For more information, see https://learn.microsoft.com/en-us/dotnet/framework/network-programming/tls.