As the title says, I'm using the CSOM dll's to search, archive, etc etc documents in SharePoint, but every so often the connection is being reset, this is the error that comes back:
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
I'm using an older version of .net 3.5.2, and reading around it could be a TLS issue (using older version), so I have applied the registry settings needed to fix this, and run wireshark, it shows it's using TLS1.2 for the connection, so I don't know what else could be the issue, any help would be appreciated!
Thanks