Wsus ошибка подключения сброс серверного узла

  • Remove From My Forums
  • Вопрос

  • Добрый день поставил, настроил WSUS, с регулярной периодичностью возникает проблема:

    Консоли администрирования WSUS не удается подключиться к серверу WSUS через удаленный API. 
    
    Проверьте, запущены ли на сервере служба Update Services, IIS и SQL. Если проблему не удается устранить, попробуйте перезапустить IIS, SQL и службу Update Services.
    
    Непредусмотренная ошибка консоли администрирования WSUS. Данная ошибка может быть временной, попробуйте перезапустить консоль администрирования. Если ошибку не удается устранить, 
    
    попробуйте удалить сохраненные параметры, удалив файл с именем "wsus" по адресу %appdata%MicrosoftMMC.
    
    
    System.IO.IOException -- Сбой установки соединения из-за неожиданного формата пакета.
    
    Source
    System
    
    Stack Trace:
       в System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
       в System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
       в System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
       в System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)
       в System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
       в System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       в System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       в System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       в System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
       в System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
       в System.Net.ConnectStream.WriteHeaders(Boolean async)
    ** this exception was nested inside of the following exception **
    
    
    System.Net.WebException -- Базовое соединение закрыто: Непредвиденная ошибка при передаче.
    
    Source
    Microsoft.UpdateServices.Administration
    
    Stack Trace:
       в Microsoft.UpdateServices.Administration.AdminProxy.CreateUpdateServer(Object[] args)
       в Microsoft.UpdateServices.UI.AdminApiAccess.AdminApiTools.GetUpdateServer(String serverName, Boolean useSecureConnection, Int32 portNumber)
       в Microsoft.UpdateServices.UI.SnapIn.Scope.ServerSummaryScopeNode.ConnectToServer()
       в Microsoft.UpdateServices.UI.SnapIn.Scope.ServerSummaryScopeNode.get_ServerTools()

    Нажатие на «сброс серверного узла» не даёт результата, помогает только iisreset.

    Несколько раз на разных серверах перенастраивал — ошибка повторяется.

Ответы

  • Удалите файл %AppData%MicrosoftMMCwsus

    Мне это в свое время при подобной ошибке помогло.

    • Помечено в качестве ответа

      7 апреля 2016 г. 9:52

  • Remove From My Forums
  • Question

  • I have just installed a brand new Windows Server 2012 R2 instance with 8 processor cores and 16gb ram and 2tb disk.

    I installed the WSUS server role and chose quite a few classifications (we have a large environment with servers and desktops ranging from xp/2003 all the way up to 10 and we use about 60% of the product classifications because we have a *lot* of microsoft
    products.

    When I click on the all udpates list and set it to show me «unapproved» «any» the WSUS client crashes and I get «Error : connection error. An error occured trying to connect to the WSUS server…» Click reset server node to
    try to connect to the server again.

    Things I have tried to fix this :

    1)ALL WINDOWS UPDATES ARE INSTALLED FROM THE INTERNET, NOTHING OUT OF DATE.

    2)Reboot.  This will allow me to load the console but looking at any lists of updates like the «all udpates» list crashes it again

    3)This : https://support.microsoft.com/en-us/kb/3159706.  That helped until I tried to approve some packages, after approving about 2000 it died again.

    4)Restarting the WID service, the WSUS service and the IIS services (and all related services).  THIS DOES NOTHING!

    So no matter what I do, this unstable thing will just disconnect.

    How do I fix this?

    From what I read 3159706 was supposed to fix it, but it only fixed it for about 30 seconds, and now its back to dead again…

Answers

  • It actually took a call to Microsoft support to solve this.

    Basically the WSUSApplicationPool has a builtin memory limit of 1.8gb.  If it exceeds that it will crash, taking down the whole WSUS Application.  The solution is go into advanced settings for that application pool and set the memory limit to 0. 
    That way it can use unlimited memory.

    From what the Microsoft rep told me, you can use up that whole 1.8gb from approving more than 500 updates at a time.

    This rather tiny limit may have made sense back when WSUS was first released, but now even a small installation can have almost 20,000 updates to approve upon installation (Just for office, windows, visual studio, and exchange, which we all use).  If
    you add drivers, this can easily baloon to 60,000 plus.

    I’m actually quite surprised that the limit is set so low and that the default behavior when it is reached is to just «crash» or «halt», especially since with the app pool now halted, even restarting IIS and WSUS does not fix things. 
    You actually have to unhalt the app pool first and then restart IIS.

    • Marked as answer by

      Thursday, June 2, 2016 5:03 AM

При попытке зайти на WSUS-сервер (который расположен на Windows Server 2012 и использует внутреннюю базу данных) видим следующую ошибку:

В Event Viewer текст ошибки так же непонятен:

Убедимся, что у вас WSUS использует базу данных WID. Для этого проверим ветку реестра HKEY_LOCAL_MACHINESOFTWAREMicrosoftUpdate Services) и находим значение поля “SqlServerName”. Если значение поля равно “MICROSOFT##WID”, то WSUS использует внутреннюю базу данных.

  1. Пытаемся перезапустить службу “MSSQL$MICROSOFT##W />
  2. Отсоединяем эту базу данных:
  3. Пытаемся ее снова подключить.

В моем случае этот этап завершался ошибкой “Не удалось проверить схему для базы данных “SUSDB”.
Это нормально! Нужно после этого открыть командную строку, перейти в директорию “C:Program FilesUpdate ServicesTools” и от имени администратора сервера и выполнить команду

Она должна выполниться успешно и после этого консоль WSUS будет успешно открываться.

Добавить комментарий Отменить ответ

Для отправки комментария вам необходимо авторизоваться.

В какой-то момент, один из моих 2012R2 с ролью WSUS, перестал работать, при этом на сервере ничего не происходило кроме обновлений.
Решение как оказалось очень просто (майкрософт как обычно косячит в обновленияих, а конкретно в обновлении .NET Framework)
У меня в данной конкретной ситуации были вот такие логи:

Копание в «Windows Internal Database» ничего не дает, а решение просто.

Открываем cmd (под администратором) и вводим:

C:Windowssystem32>»C:Program FilesUpdate ServicesToolswsusutil.exe» postinstall /servicing

Log file is located at C:UsersSAMbI4AppDataLocalTemp mp2A35.tmp
Post install is starting
Post install has successfully completed

После чего со спокойной душой перезапускаем WSUS сервис, и все работает!

Пол года wsus исправно работал обновлял компы в домене, но что то пошло не так помогите разобраться.

Пул приложений «WsusPool» автоматически отключен из-за серии отказов в процессах, обслуживающих его.
Консоли администрирования WSUS не удается подключиться к серверу WSUS через удаленный API.
Процесс, обслуживающий пул приложений «WsusPool», превысил лимиты времени для завершения работы. Идентификатор процесса «24440».
Рабочий процесс «24440», обслуживающий пул приложений «WsusPool», не смог остановить канал прослушивателя для протокола «http» в отведенный интервал времени. Поле данных содержит номер ошибки.
Рабочий процесс, обслуживающий пул приложений «WsusPool», запросил очистку, поскольку достигнуто ограничение собственной памяти.
Процесс, обслуживающий пул приложений «WsusPool», превысил лимиты времени для завершения работы. Идентификатор процесса «23960».
Рабочий процесс «23960», обслуживающий пул приложений «WsusPool», не смог остановить канал прослушивателя для протокола «http» в отведенный интервал времени. Поле данных содержит номер ошибки.
—————————————————————————————————————————————————
Проверьте, запущены ли на сервере служба Update Services, IIS и SQL. Если проблему не удается устранить, попробуйте перезапустить IIS, SQL и службу Update Services.

Непредусмотренная ошибка консоли администрирования WSUS. Данная ошибка может быть временной, попробуйте перезапустить консоль администрирования. Если ошибку не удается устранить,

попробуйте удалить сохраненные параметры, удалив файл с именем «wsus» по адресу %appdata%MicrosoftMMC.

I am running WSUS on server 2012R2 with the WID, not the full sql version.

My issue is that I want to go to ALL UPDATES > any except declined > Installed / not applicable

The issue is that this view has 43,000 updates and it never loads the list, it simply times out and I get the dreaded «reset server node.»

I have already deleted the cache for mmc and also Server Cleanup Wizard finishes successfully with all options enabled, so there is nothing more it can trim from it.

How can I view these updates?!

check
Best Answer

  • Author Adam Marshall, Microsoft MVP

    OverDrive


    This person is a Verified Professional

    This person is a verified professional.

    Verify your account
    to enable IT peers to see that you are a professional.

    mace

    WSUS Expert

    • check
      397
      Best Answers
    • thumb_up
      580
      Helpful Votes

    Have a peak at my Adamj Clean-WSUS script. It is the last WSUS Script you will ever need.

    http://community.spiceworks.com/scripts/show/2998-adamj-clean-wsus

    What it does:

    1. Shrink your WSUSContent folder’s size by declining superseded updates.
    2. It will clean out all the synchronization logs that have built up over time (configurable, with the default keeping the last 14 days of logs).
    3. Remove all Drivers from the WSUS Database.
    4. Remove declined updates from the WSUS Database
    5. Run the server cleanup wizard.
    6. Lastly, but most important, it will run the recommended maintenance script on the actual SQL database.

    It will email the report out to you or save it to a file, or both.

    Follow the instructions at the top of the script, but essentially run .Clean-WSUS.ps1 -FirstRun and then set a scheduled task to run the script with the -ScheduledRun daily at a time you want.


    0 of 1 found this helpful
    thumb_up
    thumb_down

  • View Best Answer in replies below

    Read these next…

    • Curated Where are they in Windows 11?

      Where are they in Windows 11?

      Windows

      Quick and I hope easy question, I have figured out ways to do this in W11 but just wondering if there is an easier way.Where are the following in «Windows 11″1. Map Network Drive2. Add PC to a Domain3. This PC (Option)Thank you.

    • Curated Tape library

      Tape library

      Data Storage, Backup & Recovery

      HI I am trying to learn my self how to connect a Dell R720 server with a LTO 7 tape library. Can someone advise and guide me with the best practice? because to begin with I have these questions.1. Can  I connect the tape Libary directly to the server? if …

    • Curated Raspberry Pi uses? As a desktop?

      Raspberry Pi uses? As a desktop?

      Hardware

      I saw this post:https://twitter.com/mysterybiscuit5/status/1663271923063685121I like the form factor.  Got me thinking — are any of the Raspberry Pi offerings a viable replacement for a windows 10 PC? For general work — surfing, document writing? spreadsh…

    • Curated Spark! Pro series – 2nd June 2023

      Spark! Pro series – 2nd June 2023

      Spiceworks Originals

      Today in History marks the Passing of Lou Gehrig who died of
      ALS or Lou Gehrig’s Disease.  I have a
      friend suffering from this affliction, so this hits close to home.  If you get the opportunity, or are feeling
      g…

    • Curated Snap! -- AI Camera, Android Malware, Space, and more Space

      Snap! — AI Camera, Android Malware, Space, and more Space

      Spiceworks Originals

      Your daily dose of tech news, in brief.

      Welcome to the Snap!

      Flashback: June 2, 1966: The US «Soft Lands» on Moon (Read more HERE.)

      Bonus Flashback: June 2, 1961: IBM Releases 1301 Disk Storage System (Read more HERE.)

      You need to hear…

    In this article, we are going to learn Fix: WSUS Connection Error Reset Server Node On Windows Server 2012. WSUS is available as a role to be installed on any Windows server operating system at no additional cost. The main purpose is to keep Microsoft updates of the WSUS server’s Windows operating system and other Microsoft products. I get a terrible error in WSUS that never resolves to a WSUS-reset server node.

    Error: Connection Error

    An error occurred trying to connect the WSUS server.  The error can happen for a number of reasons.  Check connectivity with the server.  Please contact your network administrator if the problem persists

    Click Reset server node to try to connect to the server again.

    Fix WSUS Connection Error Reset Server Node On Windows Server 2012

    Fix WSUS Connection Error Reset Server Node On Windows Server 2012

    Follow the below steps to Fix: WSUS Connection Error Reset Server Node On Windows Server 2012:

    Solution 1:- Reduce the number of updates approved:

    If you have no ARM CPU based products, search for ARM then select all of the results, right-click and DECLINE them. If you have no 32bit based products, search for “x86-basedright click and DECLINE them. Search for patches old version of Windows (Windows XP), right-click and DECLINE them. Be careful with this one not to decline patches that apply to multiple versions of Windows that one of those is one you are using Search for FEATURE UPDATES (Windows 10 build changes) that no longer apply and DECLINE them.

    Solution 2:- Server Cleanup Wizard:

    Open update services console in wsus server, expand options by clicking on server clean up wizard and clean up all junk.

    Solution 3:- SQL Clean Up:

    Start a PowerShell as an Admin and run the following commands.

    If you are running WSUS from a Windows Internal Database on Server 2012 enter the following command:

    sqlcmd -I -S \.pipeMICROSOFT##WIDtsqlquery -i C:WsusDBMaintenance.sql

    If you are running WSUS from a Windows Internal Database on Server 2008 or SBS 2011, enter the following command:

    sqlcmd.exe -I -S np:\.pipeMSSQL$MICROSOFT##SSEEsqlquery -i C:WSUSDBMaintenance.sql

    Solution 4:- WSUS Repair Command:

    Open a PowerShell as an Admin and run the following command.

    wuauclt /detectnow

    Solution 5:- Check WSUS Application Pool in IIS:

    1. Open IIS
    2. Click on Application Pools
    3. Click on WsusPool
    4. Click Advanced Settings
    5. Scroll down and increase the Private Memory Limit and decrease the Regular Time Interval.

    Fix: WSUS Connection Error Reset Server Node On Windows Server 2012

    WSUS Application Pool in IIS

    Solution 6:- Run Wsusutil Command:

    Restart all Windows services (Update Services, WID / SQL, etc.) and Open a command prompt as an Admin and run the following command.

    cd C:Program FilesUpdate ServicesTools
    Wsusutil.exe postinstall /servicing

    Also Read – Complete Guide to Install and Configure WSUS Server 2016 (Windows Server Update Services)

    That’s all, In this article, we have explained Fix: WSUS Connection Error Reset Server Node On Windows Server 2012. I hope you enjoy this article. If you like this article, then just share it. If you have any questions about this article, please comment.

    ITSmarttricks Team

    This is Mangesh Dhulap the Founder and Editor of IT SMART TRICKS have 6+ years of Industrial Experience. We expect from our visitors to like, share, and comment on our posts.

    Понравилась статья? Поделить с друзьями:
  • Wwlib dll word 2016 ошибка
  • Wsus ошибка 404
  • Wowcircle ошибка подключения blz51901001
  • Wwlib dll word 2010 ошибка
  • Wsus ошибка 13042