SCCM WSUS Sychn Failed

Hafedh Guiga 30 Reputation points
2023-01-31T09:19:46.01+00:00

Hello everyone
I'm facing an issue of WSUS Sync Manager for many weeks.
the problem is that it's failing for some attemps and then without doing any change it succeeded in the next retry and it's always the same thing each day.
The first 02, 03 or 04 attemp failed and then it secceeded.
This is what i found:
from wsyncmgr.log:
Sync failed: The underlying connection was closed: The connection was closed unexpectedly. Source: Microsoft.UpdateServices.Internal.ApiRemoting.ExecuteSPGetParentCategories
STATMSG: ID=6703 SEV=E LEV=M SOURCE="SMS Server" COMP="SMS_WSUS_SYNC_MANAGER"  SITE= PID= TID= GMTDATE=mar. janv. 31 03:08:03.061 2023 ISTR0="Microsoft.UpdateServices.Internal.ApiRemoting.ExecuteSPGetParentCategories" ISTR1="The underlying connection was closed: The connection was closed unexpectedly" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=0 LE=0X80131509
Sync failed. Will retry in 60 minutes
from wcm.log:
Remote connection failed with exception 'System.Net.WebException: The underlying connection was closed: The connection was closed unexpectedly.~~   at Microsoft.UpdateServices.Administration.AdminProxy.CreateUpdateServer(Object[] args)~~   at Microsoft.SystemsManagementServer.SoftwareUpdatesManagement.WsusSyncAction.WSyncAction.DoSync()'. Attempting to bypass proxy
Sync failed: The underlying connection was closed: The connection was closed unexpectedly. Source: Microsoft.UpdateServices.Internal.ApiRemoting.ExecuteSPGetParentCategories
Sync failed. Will retry in 60 minutes
SCCM and WSUS are up to date with the last updates and configuration version.

If it was a proxy/FW, it'll be always blocked and i've checked the TLS 1.2 and it's OK.

Thanks in advance.

GH

Microsoft System Center
Microsoft System Center
A suite of Microsoft systems management products that offer solutions for managing datacenter resources, private clouds, and client devices.
740 questions
Microsoft Configuration Manager Updates
Microsoft Configuration Manager Updates
Microsoft Configuration Manager: An integrated solution for for managing large groups of personal computers and servers.Updates: Broadly released fixes addressing specific issue(s) or related bug(s). Updates may also include new or modified features (i.e. changing default behavior).
922 questions
0 comments No comments
{count} votes

6 answers

Sort by: Most helpful
  1. Kritika 5 Reputation points
    2023-02-02T20:12:53.63+00:00

    Hello GH,

    Can you perform the WSUS health check, i.e. make sure WSUS is working fine.

    "C:\Program Files\Update Services\Tools\WsusUtil.exe" checkhealth and check the result in eventviewer. Please share the result. If WSUS is working fine. Please perform the SUSDB cleanup.

    Is WSUS and SUP on same server? And check if WSUS pool is running or not.

    Regards,

    K

    1 person found this answer helpful.

  2. TrudaZeng-MSFT 761 Reputation points
    2023-02-01T10:16:25.5066667+00:00

    Hi,

    Thank you for posting in Microsoft Q&A forum.

    To narrow down the problem, we need more information:

    1, Can we sync these updates in WSUS?

    2, Can you share logs of a whole sync process?

    Looking forward to your reply.

    0 comments No comments

  3. Hafedh Guiga 30 Reputation points
    2023-02-01T20:30:16.06+00:00

    Hello and thanks for your reply,
    1--> Yes and it's successful as per the attached picture.

    2 --> i'll send you the logs tomorrow morning.

    Regards

    GH

    User's image

    0 comments No comments

  4. Hafedh Guiga 30 Reputation points
    2023-02-02T10:30:29.8433333+00:00

    Hello,

    WCM.txt

    In attached the WCM log.

    Thanks.

    GH

    0 comments No comments

  5. Hafedh Guiga 30 Reputation points
    2023-02-02T10:31:12.0933333+00:00

    Hello,

    wsyncmgr.txt

    Also the wsychnmdr log file.

    Regards,

    GH

    0 comments No comments