The WSUS sync with upstream server starts fine and all of a sudden fails in the middle of synchronization:
Sync failed: 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 at System.Net.ConnectStream.Read(Byte[] buffer, int32 offset,int32 size)
at Microsoft.UpdateServices.ServerSync.ServerSyncCompressionProxy.GetWebResponse(WebRequest webRequest)
at System.WebServices.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at Microsoft.UpdateServices.ServerSync.Webservices.ServerSync.ServerSyncProxy.GetUpdateData(Cookie cookie, UpdateIdentity[] updateIds)
at Microsoft.UpdateServices.ServerSync.CatlogSyncAgentCore.WebserviceGetUpdateData(UpdateIdentity[] updateIds, List`1 allMetadata,List`1 allFleUrls,Boolean isForConfig)
at Microsoft.UpdateServices.ServerSync.CatlogSyncAgentCore.GetUpdateDatainChunksAndlmport(List`1 allMetadata,List`1 allFleUrls,Boolean isForConfigData)
at Microsoft.UpdateServices.ServerSync.CatlogSyncAgentCore.ExecuteSyncProtocol(boolean allowRedirect))
Best Answer
I had this same exact problem with one WSUS on 2012 R2. For some unknown reason, disabling and enabling "TCP Receive Window Auto-Tuning Level" knob made the problem go away.
I have done this:
Do the WSUS sync
Do the WSUS sync again