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

lalajee 1,811 Reputation points
2022-02-03T15:14:04.257+00:00

Server 2016 Standalone

WSUS Console keep crashing

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.ApiRemotingCompressionProxy.GetWebResponse(WebRequest webRequest)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at Microsoft.UpdateServices.Internal.ApiRemoting.ExecuteSPGetUpdateServerStatus(Int32 updateSources, Boolean includeDownstreamComputers, String updateScopeXml, String computerTargetScopeXml, String preferredCulture, Int32 publicationState, Int32 propertiesToGet)
at Microsoft.UpdateServices.Internal.DatabaseAccess.AdminDataAccessProxy.ExecuteSPGetUpdateServerStatus(UpdateSources updateSources, Boolean includeDownstreamComputers, String updateScopeXml, String computerTargetScopeXml, String preferredCulture, ExtendedPublicationState publicationState, UpdateServerStatusPropertiesToGet propertiesToGet)
at Microsoft.UpdateServices.Internal.BaseApi.UpdateServer.GetStatus(UpdateSources updateSources, Boolean includeDownstreamComputers, UpdateScope updatesToInclude, ComputerTargetScope computersToInclude, UpdateServerStatusPropertiesToGet propertiesToGet)
at Microsoft.UpdateServices.Internal.BaseApi.UpdateServer.GetReplicaStatus(UpdateSources updateSources)
at Microsoft.UpdateServices.UI.AdminApiAccess.CachedObject.RefreshCache()
at Microsoft.UpdateServices.UI.AdminApiAccess.CachedObject.GetFromCache()
at Microsoft.UpdateServices.UI.SnapIn.Pages.ServerSummaryPage.backgroundWorker_DoWork(Object sender, DoWorkEventArgs e)

I already set the private memory to 0 in IIS.

Windows Server 2016
Windows Server 2016
A Microsoft server operating system that supports enterprise-level management updated to data storage.
2,348 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
11,931 questions
0 comments No comments
{count} votes

5 answers

Sort by: Most helpful
  1. XinGuo-MSFT 13,701 Reputation points
    2022-02-04T07:51:04.117+00:00

    Hi,

    Thanks for your posting on Q&A.

    In my opinion, there are several reasons may cause this error. It means that the WSUS console did not connect to the WSUS server right now.

    Perhaps we could try to follow the below steps to see whether this issue will be resolved or not:

    • Make sure the following services running
      services:
      54030-1.png

    54193-2.png

    54211-3.png

    IIS site:

    54157-4.png

    54068-5.png

    Hope the above will be helpful. If there are any feedback, please remember to inform me in time.

    Thanks for your time and have a nice day.


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    11 people found this answer helpful.

  2. Muhamed Bašić 6 Reputation points
    2022-11-03T23:18:03.867+00:00

    The way I fixed this problem: open CMD as admin, go to C:\Program Files\Update Services\Tools then run following command wsusutil.exe usecustomwebsite true

    1 person found this answer helpful.

  3. Limitless Technology 39,296 Reputation points
    2022-02-04T09:13:58.113+00:00

    Hello Lalajee

    Changing private memory to 0 will completely disable the app pool recycling and will not fix this issue. Please change the value incrementarlly, sometimes even triple the amount of the initial value in order to handle the data.

    This condition may happen also due to a "dirty" database. Please run a maintenance on the Server: https://learn.microsoft.com/en-us/troubleshoot/mem/configmgr/wsus-maintenance-guide

    And, of course, it is assumed that you have already restarted your IIS and SQL servers, of course

    --------------------------------------------------------------------------------------------------------

    --If the reply is helpful, please Upvote and Accept as answer--


  4. Adam J. Marshall 8,381 Reputation points MVP
    2022-02-04T14:48:13.387+00:00

    There's much more to the monthly maintenance than running the SQL Script. Are you performing the proper WSUS maintenance including but not limited to running the Server Cleanup Wizard (SCW), declining superseded updates, etc.?

    https://www.ajtek.ca/wsus/how-to-setup-manage-and-maintain-wsus-part-8-wsus-server-maintenance/


  5. IT Bestuurder - Geo Kerspey 5 Reputation points
    2023-11-24T08:33:11.96+00:00

    Map a drive to the server(s) you need to connect to using an account created and given WSUS Admin access. Then connect to the WSUS server with the Admin console.

    TroyQ79

    0 comments No comments