none
WSUS同步失败,提示“An HTTP error occurred”。 RRS feed

  • 问题

  • WSUS同步失败,提示“An HTTP error occurred”。

    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 System.Web.Services.Protocols.HttpWebClientProtocol.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.Serve

    Windows Server 2012 R2

    Management Console 3.0

    Update Services Version 6.3.9600.16384

    重启过server系统,还是无法同步。

    2020年7月29日 8:33

全部回复

  • 你好 JVPC,
     
    感谢你在此论坛上贴。
     
    请问WSUS同步出错是出现在上下游WSUS服务器同步出错,还是WSUS服务器与微软站点同步出错?
     
    另外,请检查在WSUS服务器中以下服务是否正常运行:
    WSUS services、IIS(包括应用池和各种服务站点)、BITS 
     
    诚挚问候,
    Rita

    "WSUS" forum will be migrating to a new home on Microsoft Q&A!
    We invite you to post new questions in the "WSUS" forum's new home on Microsoft Q&A!
    For more information, please refer to the sticky post.

    Please remember to mark as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    2020年7月31日 6:22
  • 你好,

    是WSUS服务器与微软站点同步出错。

    WSUS services、IIS(包括应用池和各种服务站点)、BITS,这些服务都正常运行。

    2020年8月17日 2:50
  •   你好,


    请检查softwaredistribution.log 日志中报错信息。

    另外,请问你是否配置过IIS,如果没有,请参考一下图片进行配置:
     具体配置步骤:请打开IIS, 然后参考以下图片进行配置:


    诚挚问候,
    Rita


    "WSUS" forum will be migrating to a new home on Microsoft Q&A!
    We invite you to post new questions in the "WSUS" forum's new home on Microsoft Q&A!
    For more information, please refer to the sticky post.

    Please remember to mark as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    2020年8月17日 3:05
  • 有报错的信息,如下:

    2020-08-16 04:29:01.743 UTC Info WsusService.37 CatalogSyncAgentCore.UpdateSyncResultAndGenerateReportingEvent CatalogSyncThreadProcess: report subscription USS communication error
    2020-08-16 04:29:01.743 UTC Info WsusService.37 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-16 04:29:01.759 UTC Info WsusService.43 CatalogSyncAgent.WaitUntilSyncFinishedOrCancelled Agent signalled done.
    2020-08-16 04:29:01.759 UTC Info WsusService.43 CatalogSyncAgent.SetSubscriptionStateWithRetry Firing event SyncFailToStart...
    2020-08-16 04:29:01.759 UTC Info WsusService.43 CatalogSyncAgent.WakeUpWorkerThreadProc Found no more jobs. CatalogSyncAgent quits but will run rollup before terminating ...
    2020-08-16 04:29:01.759 UTC Info WsusService.43 CatalogSyncAgent.UpdateServerHealthStatusBasedOnError ServerHealth: Updating Server Health for Component: CatalogSyncAgent, Marking as Not Running

    另外IIS已按照图示设置过,还是同步失败。


    2020年8月17日 7:02
  •      

    你好,

    请问你勾选的产品和分类有哪些呢?能否提供截图?

    另外,你的这台WSUS服务器是否打最新的更新?

    请参考以下步骤检查WSUS服务器健康状况:
    以管理员身份打开CMD ,导航到Wsusutil.exe 工具(路径:C:\Program Files\Update Services\Tools)

    输入以下命令检查WSUS服务器健康状况:wsusutil.exe checkhealth

    如果任何报错信息,请帖到此论坛。

    诚挚问候,
    Rita


    "WSUS" forum will be migrating to a new home on Microsoft Q&A!
    We invite you to post new questions in the "WSUS" forum's new home on Microsoft Q&A!
    For more information, please refer to the sticky post.

    Please remember to mark as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    2020年8月17日 7:18
  • 我这里的WSUS是安装在SCCM的服务器上的。

    上传了4个相关的截图,麻烦查看下。

    谢谢。

    2020年8月17日 7:40
  • 你好,

    感谢你的回复。

    我们可以到事件查看器来查看WSUS状况报告,具体步骤请参考以下图片:


     如果有任何报错信息,请在此论坛贴出来。

     另外,既然你的环境中WSUS是装在SCCM上,请考虑检查wsyncmgr.log中是否有其他报错信息。


    诚挚问候,
    Rita 


    "WSUS" forum will be migrating to a new home on Microsoft Q&A!
    We invite you to post new questions in the "WSUS" forum's new home on Microsoft Q&A!
    For more information, please refer to the sticky post.

    Please remember to mark as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    2020年8月17日 7:48
  • 请看截图


    2020年8月17日 8:13
  • 你好,
     
    1. 你的WSUS服务器是否安装了最新的更新,如果没有的话,请检查更新状态,并安装上最新的更新。 

    2. 请参考以下链接进行WSUS数据库的索引:
    https://gallery.technet.microsoft.com/scriptcenter/6f8cde49-5c52-4abd-9820-f1d270ddea61
     
    操作步骤请参考以下图片:
    以管理员身份打开SSMS,然后连接数据库,然后参考以下链接进行设置:
     
    3. 请考虑清理数据库
     
    4. 重新同步
     
    如果以上步骤有任何反馈的话,请通知我。
     
    诚挚问候,
    Rita

    "WSUS" forum will be migrating to a new home on Microsoft Q&A!
    We invite you to post new questions in the "WSUS" forum's new home on Microsoft Q&A!
    For more information, please refer to the sticky post.

    Please remember to mark as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    2020年8月17日 10:51
  • 你好 JVPC,
     
    请问当前的case 进展如何?还有什么问题我可以为你效劳?
     
    如果关于此case有任何反馈的话,请及时与我联系。
     
    诚挚问候,
    Rita

    "WSUS" forum will be migrating to a new home on Microsoft Q&A!
    We invite you to post new questions in the "WSUS" forum's new home on Microsoft Q&A!
    For more information, please refer to the sticky post.

    Please remember to mark as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    2020年8月20日 6:32
  • 你好,
     
    如果是Windows Server 2012R2 WSUS q服务器与微软站点同步失败,可能是由于缺少更细导致的。建议安装KB4022720以后在尝试重新进行同步。
     
    诚挚问候,
    Rita

    "WSUS" forum will be migrating to a new home on Microsoft Q&A!
    We invite you to post new questions in the "WSUS" forum's new home on Microsoft Q&A!
    For more information, please refer to the sticky post.

    Please remember to mark as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    2020年8月26日 6:27
  • 你好,

    安装完KB4022720补丁后,同步成功,问题解决。

    谢谢。

    2020年9月4日 3:07
  • 你好,
     
    很高兴你的问题得到了解决。如果下次还有任何问题,欢迎到此论坛继续上贴。
     
    Regards,
    Rita


    Please remember to mark as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    2020年9月4日 3:19