WSUS sync issue

Joseph Patrick 641 Reputation points
2020-08-24T16:57:55.83+00:00

A month ago our WSUS server stopped syncing with Microsoft, we do have a proxy in use but we do not manage it and they said not changes were made. Below is the information on the errors we are seeing, any thoughts on what the issue can be?

Windows Server 2012 R2

Update Services
Microsoft Corporation
Version: 6.3.9600.18694

Even ID 10022
Event ID 7032:

The WSUS administration console was unable to connect to the WSUS Server via the remote API.

Verify that the Update Services service, IIS and SQL are running on the server. If the problem persists, try restarting IIS, SQL, and the Update Services Service.

System.Net.WebException -- The request failed with HTTP status 401: Unauthorized.

Source
System.Web.Services


Stack Trace:
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at Microsoft.UpdateServices.Internal.ApiRemoting.GetSubscription()
at Microsoft.UpdateServices.Internal.DatabaseAccess.AdminDataAccessProxy.GetSubscription()
at Microsoft.UpdateServices.Internal.BaseApi.Subscription.Load()
at Microsoft.UpdateServices.Internal.BaseApi.UpdateServer.GetSubscription()
at Microsoft.UpdateServices.UI.AdminApiAccess.SynchronizationManager.StartSynchronization()
at Microsoft.UpdateServices.UI.SnapIn.Scope.SyncResultsListScopeNode.StartSynchronization(Action action)
at Microsoft.UpdateServices.UI.SnapIn.Scope.SyncResultsListScopeNode.OnAction(Action action, AsyncStatus status)

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.
at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request)
   at Microsoft.UpdateServices.ServerSync.ServerSyncCompressionProxy.GetWebResponse(WebRequest webRequest)
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
   at Microsoft.UpdateServices.ServerSyncWebServices.ServerSync.ServerSyncProxy.GetAuthConfig()
   at Microsoft.UpdateServices.ServerSync.ServerSyncLib.InternetGetServerAuthConfig(ServerSyncProxy proxy, WebServiceCommunicationHelper webServiceHelper)
   at Microsoft.UpdateServices.ServerSync.ServerSyncLib.Authenticate(AuthorizationManager authorizationManager, Boolean checkExpiration, ServerSyncProxy proxy, Cookie cookie, WebServiceCommunicationHelper webServiceHelper)
   at Microsoft.UpdateServices.ServerSync.CatalogSyncAgentCore.SyncConfigUpdatesFromUSS()
   at Microsoft.UpdateServices.ServerSync.CatalogSyncAgentCore.ExecuteSyncProtocol(Boolean allowRedirect)

A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
0x80072EFE - The connection with the server was terminated abnormally


2020-08-21 00:44:54.880 UTC Warning w3wp.134 EncryptionHelper.DecryptData Argument exceptionMicrosoft.UpdateServices.Internal.Authorization.LoggedArgumentException: invalid header
Parameter name: bytes
at Microsoft.UpdateServices.Internal.Authorization.UnencryptedCookieData.Deserialize(Byte[] bytes)
at Microsoft.UpdateServices.Internal.Authorization.EncryptionHelper.DecryptData(Byte[] cookieData)
Parameter name: cookieData


C:\Windows\System32\LogFiles\HTTPERR

Log contains entries all ending with 404 - NotFound -


Software Distribution log:

2020-08-20 23:39:33.973 UTC Info WsusService.34 CatalogSyncAgentCore.UpdateSyncResultAndGenerateReportingEvent CatalogSyncThreadProcess: report subscription USS communication error
2020-08-20 23:39:33.974 UTC Info WsusService.34 EventLogEventReporter.ReportEvent EventId=386,Type=Error,Category=Synchronization,Message=Synchronization failed. Reason: The underlying connection was closed: An unexpected error occurred on a send..
2020-08-20 23:39:33.983 UTC Info WsusService.32 CatalogSyncAgent.WaitUntilSyncFinishedOrCancelled Agent signalled done.
2020-08-20 23:39:33.984 UTC Info WsusService.32 CatalogSyncAgent.SetSubscriptionStateWithRetry Firing event SyncFailToStart...
2020-08-20 23:39:33.987 UTC Info WsusService.32 CatalogSyncAgent.WakeUpWorkerThreadProc Found no more jobs. CatalogSyncAgent quits but will run rollup before terminating ...
2020-08-20 23:39:33.990 UTC Info WsusService.32 CatalogSyncAgent.UpdateServerHealthStatusBasedOnError ServerHealth: Updating Server Health for Component: CatalogSyncAgent, Marking as Not Running
2020-08-20 23:39:37.626 UTC Info WsusService.8 SusEventDispatcher.TriggerEvent TriggerEvent called for NotificationEventName: RollupAgent, EventInfo:
2020-08-20 23:39:37.627 UTC Info WsusService.15 SusEventDispatcher.DispatchManagerWorkerThreadProc DispatchManager Worker Thread Processing NotificationEvent: RollupAgent
2020-08-20 23:39:37.628 UTC Info WsusService.8 SusEventDispatcher.TriggerEvent TriggerEvent called for NotificationEventName: ConfigurationChange, EventInfo: ConfigurationChange
2020-08-20 23:39:37.630 UTC Info WsusService.28 SusEventDispatcher.DispatchManagerWorkerThreadProc DispatchManager Worker Thread Processing NotificationEvent: ConfigurationChange
2020-08-20 23:39:37.639 UTC Info WsusService.28 ServerCertificateValidator.ConfigChangedHandler Update server configuration has changed. Sync against MU: True
2020-08-20 23:39:45.719 UTC Info WsusService.25 RollupEventReporter.BuildReportingServiceUrl Found config says USS is MU site
2020-08-20 23:39:45.720 UTC Info WsusService.25 WebServiceCommunicationHelper.GetProxyConfiguration Use Proxy: proxy.domain.com:8080


Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,582 questions
{count} votes

Accepted answer
  1. Rita Hu -MSFT 9,626 Reputation points
    2020-08-26T01:39:19.627+00:00

    Hi josephpatrick-7433,

    It seems that the Windows Server 2012R2 missed some important updates. Please help to confirm whether the KB4022720 has been installed on the WSUS server or not. If it wasn't installed, please consider installing this first.

    Note that the KB4022720 has been replaced on the following updates:
    2017-07 Security Monthly Quality Rollup for Windows Server 2012 R2 for x64-based Systems (KB4025336)
    2017-08 Update for Windows Server 2012 R2 for x64-based Systems (KB4039871)
    2017-07 Preview of Monthly Quality Rollup for Windows Server 2012 R2 for x64-based Systems (KB4025335)

    Reference picture:
    20333-13.png

    We may try to resync again after installing this update successfully. If there are any updates about this issue, please keep us in touch.


    If the response is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments

0 additional answers

Sort by: Most helpful