I'm using the API to upload 7 files hourly for offsite disaster recovery. This process works most of the time. Several times a day I will get the following error.
System.AggregateException: One or more errors occurred. ---> System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> 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
It may last for 2 or 3 cycles and then clears up and works fine the rest of the day. Any suggestions would be appreciated.