WSUS didn't work: WindowsUpdateFailure3
Environment
- Microsoft Windows Server 2016
Content
Windows Server Update Service (WSUS) didn't work suddenly.
Tried different ways:
- Unable to connect to WSUS Administration Website, https://docs.microsoft.com/en-us/troubleshoot/windows-server/deployment/cannot-connect-to-wsus-administration-website#resolution
- https://community.spiceworks.com/topic/2273184-windowsupdatefailure3
Using IIS Manager, make the following changes to WsusPool settings (Application Pools -> WsusPool -> Advanced settings)
- Private Memory Limit (KB): 0 (the previous value was 1258015. A value of 0 means that the limit on memory usage by WSUS workflow is removed, so the service may use more than 1.2 GB of memory)
- Queue Length: 25000 (increase the length of the queue to the pool from 10000)
- Limit Interval (minutes): 15 (increase the time to reset the counters and run CPU Throttling from 5 to 15 minutes)
- Service
Unavailable Response: TcpLevel (with the previous value, HttpLevel,
error HTTP 503 is returned to the client, now the connection is simply
dropped)
- Then change the value of Connection Time-out from 180 to 320 in WSUS Administration -> Advanced settings.
Not work, however.
Finally, solved it by +RAM to the Server (VM).
From 6GB to 12GB.
Run Task Manager to monitor memory usage when running WSUS:
- WSUS SQL Database: sqlserver.exe: From around 2.5GB to 7.7GB
- IIS Worker Process: w3wp.exe: From around 1.5GB to 2.0GB
Event Logs
Log Name: Application
Source: Windows Error Reporting
Date: 3/3/2022 6:08:12 PM
Event ID: 1001
Task Category: None
Level: Information
Keywords: Classic
User: N/A
Computer: server1.domain.hk
Description:
Fault bucket , type 0
Event Name: WindowsUpdateFailure3
Response: Not available
Cab Id: 0
Problem signature:
P1: 10.0.14393.4283
P2: 8024401c
P3: 00000000-0000-0000-0000-000000000000
P4: Scan
P5: 0
P6: 1
P7: 0
P8: <<PROCESS>>: DllHost.exe
P9: {3DA21691-E39D-4DA6-8A4B-B43877BCB1B7}
P10: 0
Attached files:
These files may be available here:
Analysis symbol:
Rechecking for solution: 0
Report Id: d4f5346f-9ad9-11ec-b8fb-000c29ad3b0a
Report Status: 262144
Hashed bucket:
Source: Windows Error Reporting
Date: 3/3/2022 6:08:12 PM
Event ID: 1001
Task Category: None
Level: Information
Keywords: Classic
User: N/A
Computer: server1.domain.hk
Description:
Fault bucket , type 0
Event Name: WindowsUpdateFailure3
Response: Not available
Cab Id: 0
Problem signature:
P1: 10.0.14393.4283
P2: 8024401c
P3: 00000000-0000-0000-0000-000000000000
P4: Scan
P5: 0
P6: 1
P7: 0
P8: <<PROCESS>>: DllHost.exe
P9: {3DA21691-E39D-4DA6-8A4B-B43877BCB1B7}
P10: 0
Attached files:
These files may be available here:
Analysis symbol:
Rechecking for solution: 0
Report Id: d4f5346f-9ad9-11ec-b8fb-000c29ad3b0a
Report Status: 262144
Hashed bucket:
Log Name: Application
Source: Windows Server Update Services
Date: 3/3/2022 8:04:55 PM
Event ID: 13042
Task Category: 6
Level: Error
Keywords: Classic
User: N/A
Computer: server1.domain.hk
Description:
Self-update is not working.
Source: Windows Server Update Services
Date: 3/3/2022 8:04:55 PM
Event ID: 13042
Task Category: 6
Level: Error
Keywords: Classic
User: N/A
Computer: server1.domain.hk
Description:
Self-update is not working.
Log Name: Application
Source: Windows Server Update Services
Date: 3/3/2022 8:04:55 PM
Event ID: 12002
Task Category: 9
Level: Error
Keywords: Classic
User: N/A
Computer: server1.domain.hk
Description:
The Reporting Web Service is not working.
Source: Windows Server Update Services
Date: 3/3/2022 8:04:55 PM
Event ID: 12002
Task Category: 9
Level: Error
Keywords: Classic
User: N/A
Computer: server1.domain.hk
Description:
The Reporting Web Service is not working.
Log Name: Application
Source: Windows Server Update Services
Date: 3/3/2022 8:04:55 PM
Event ID: 12012
Task Category: 9
Level: Error
Keywords: Classic
User: N/A
Computer: server1.domain.hk
Description:
The API Remoting Web Service is not working.
Source: Windows Server Update Services
Date: 3/3/2022 8:04:55 PM
Event ID: 12012
Task Category: 9
Level: Error
Keywords: Classic
User: N/A
Computer: server1.domain.hk
Description:
The API Remoting Web Service is not working.
Log Name: Application
Source: Windows Server Update Services
Date: 3/3/2022 8:04:55 PM
Event ID: 12032
Task Category: 9
Level: Error
Keywords: Classic
User: N/A
Computer: server1.domain.hk
Description:
The Server Synchronization Web Service is not working.
Source: Windows Server Update Services
Date: 3/3/2022 8:04:55 PM
Event ID: 12032
Task Category: 9
Level: Error
Keywords: Classic
User: N/A
Computer: server1.domain.hk
Description:
The Server Synchronization Web Service is not working.
Log Name: Application
Source: Windows Server Update Services
Date: 3/3/2022 8:04:55 PM
Event ID: 12042
Task Category: 9
Level: Error
Keywords: Classic
User: N/A
Computer: server1.domain.hk
Description:
The SimpleAuth Web Service is not working
Source: Windows Server Update Services
Date: 3/3/2022 8:04:55 PM
Event ID: 12042
Task Category: 9
Level: Error
Keywords: Classic
User: N/A
Computer: server1.domain.hk
Description:
The SimpleAuth Web Service is not working
Log Name: Application
Source: Windows Server Update Services
Date: 3/3/2022 8:04:55 PM
Event ID: 12052
Task Category: 9
Level: Error
Keywords: Classic
User: N/A
Computer: server1.domain.hk
Description:
The DSS Authentication Web Service is not working.
Source: Windows Server Update Services
Date: 3/3/2022 8:04:55 PM
Event ID: 12052
Task Category: 9
Level: Error
Keywords: Classic
User: N/A
Computer: server1.domain.hk
Description:
The DSS Authentication Web Service is not working.
Log Name: Application
Source: Windows Server Update Services
Date: 3/3/2022 8:04:55 PM
Event ID: 12072
Task Category: 9
Level: Error
Keywords: Classic
User: N/A
Computer: server1.domain.hk
Description:
The WSUS content directory is not accessible.
System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a receive. ---> 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
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.GetResponse()
at Microsoft.UpdateServices.Internal.HealthMonitoring.HmtWebServices
Source: Windows Server Update Services
Date: 3/3/2022 8:04:55 PM
Event ID: 12072
Task Category: 9
Level: Error
Keywords: Classic
User: N/A
Computer: server1.domain.hk
Description:
The WSUS content directory is not accessible.
System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a receive. ---> 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
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.GetResponse()
at Microsoft.UpdateServices.Internal.HealthMonitoring.HmtWebServices
.CheckContentDirWebAccess(EventLoggingType type, HealthEventLogger logger)
Log Name: Application
Source: Windows Server Update Services
Date: 3/3/2022 8:11:01 PM
Event ID: 7032
Task Category: None
Level: Warning
Keywords: Classic
User: N/A
Computer: server1.domain.hk
Description:
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 operation has timed out
Source
System.Web.Services
Stack Trace:
at System.Web.Services.Protocols.WebClientProtocol
Source: Windows Server Update Services
Date: 3/3/2022 8:11:01 PM
Event ID: 7032
Task Category: None
Level: Warning
Keywords: Classic
User: N/A
Computer: server1.domain.hk
Description:
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 operation has timed out
Source
System.Web.Services
Stack Trace:
at System.Web.Services.Protocols.WebClientProtocol
.GetWebResponse(WebRequest request)
at Microsoft.UpdateServices.Internal.DatabaseAccess
at Microsoft.UpdateServices.Internal.DatabaseAccess
.ApiRemotingCompressionProxy.GetWebResponse(WebRequest webRequest)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at Microsoft.UpdateServices.Internal.ApiRemoting
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at Microsoft.UpdateServices.Internal.ApiRemoting
.ExecuteSPSearchUpdates(String updateScopeXml, String preferredCulture, Int32 publicationState)
at Microsoft.UpdateServices.Internal.DatabaseAccess
at Microsoft.UpdateServices.Internal.DatabaseAccess
.AdminDataAccessProxy.ExecuteSPSearchUpdates(String updateScopeXml, String preferredCulture, ExtendedPublicationState publicationState)
at Microsoft.UpdateServices.Internal.BaseApi.Update
at Microsoft.UpdateServices.Internal.BaseApi.Update
.SearchUpdates(UpdateScope searchScope, ExtendedPublicationState publicationState, UpdateServer updateServer)
at Microsoft.UpdateServices.UI.AdminApiAccess.UpdateManager
at Microsoft.UpdateServices.UI.AdminApiAccess.UpdateManager
.GetUpdates(ExtendedUpdateScope filter)
at Microsoft.UpdateServices.UI.AdminApiAccess.BulkUpdatePropertiesCache
at Microsoft.UpdateServices.UI.AdminApiAccess.BulkUpdatePropertiesCache
.GetAndCacheUpdates(ExtendedUpdateScope updateScope, ComputerTargetScope computerTargetScope)
at Microsoft.UpdateServices.UI.SnapIn.Pages.UpdatesListPage.GetListRows()
at Microsoft.UpdateServices.UI.SnapIn.Pages.UpdatesListPage.GetListRows()
Update