question

YousufShahzad-2083 avatar image
0 Votes"
YousufShahzad-2083 asked KaleemUllah-7565 commented

WSUS Synchronization Failed error (HTTP Error)

Hi

Our company has Server 2012 Standard. We freshly installed WSUS on VM but the problem is synchronization failed error (HTTP error) is coming.

Please help me out in fixing this error because we are going to have an IT audit very soon.

===================================================
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
================================================

Regards

Yousuf

windows-server-update-services
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

RitaHu-MSFT avatar image
0 Votes"
RitaHu-MSFT answered YousufShahzad-2083 commented

Hi Yousuf Shahzad,

Thanks for your posting on this forum.

I suspect that the issue is more related with the TLS 1.2. According to this link, it is recommended to install update KB4022721 or a later rollup update. It is recommended to install it on the Windows Server 2012 first. And then we could try to sync again on the WSUS Server to see whether this issue will be resolved or not.

Hope the above will be helpful. Please feel free to inform me if there are any updates.

Regards,
Rita


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.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AJTek-Adam-J-Marshall avatar image
0 Votes"
AJTek-Adam-J-Marshall answered

Run the following from an Admin PowerShell Prompt
New-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft.NETFramework\v4.0.30319" -Name "SchUseStrongCrypto" -Value "1" -PropertyType DWORD -Force
Restart the server and then try again

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AJTek-Adam-J-Marshall avatar image
1 Vote"
AJTek-Adam-J-Marshall answered KaleemUllah-7565 commented

Also, make sure the WSUS Server has the latest CU and SSU installed as TLS1.2 is required.
https://docs.microsoft.com/en-us/mem/configmgr/core/plan-design/security/enable-tls-1-2-server#bkmk_wsus

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

YousufShahzad-2083 avatar image
1 Vote"
YousufShahzad-2083 answered

Hi Rita

Thanks a lot for your prompt reply.

I installed the update KB4022721 on our WSUS Server 2012 Standard and it really solved the problem. Great.

But I can see after 75% synchronization, it became very slow. Is it a normal behavior of WSUS or any other problem.

Please guide/assist me.

Once again really thankful to you.

Regards

Yousuf

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

YousufShahzad-2083 avatar image
0 Votes"
YousufShahzad-2083 answered YousufShahzad-2083 commented

Hi Adam

Thank you very much for your prompt reply.

Really appreciable.

Actually, I installed the update KB4022721 on our WSUS Server 2012 Standard and it really solved the problem. Great.

But I can see after 75% synchronization, it became very slow. Is it a normal behavior of WSUS or any other problem.

Please guide/assist me.

Regards

Yousuf

· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

It is difficult for me to confirm why the synchronization is slow after 75%. There are many reasons. Perhaps we could check the softwaredistribution.log to see whether there are any error messages. But in my opinion, the synchronization is indeed slow.

0 Votes 0 ·

Hi Rita

At last, the synchronization is done. Great

Many thanks for your valuable advice/assistance.

Really appreciable and helped me to fix this long time issue.

So nice of you.

Regards

Yousuf

0 Votes 0 ·

It's my pleasure. Please feel free to post here if you have any other questions or confusions.

Have a nice day.

Regards,
Rita

0 Votes 0 ·
Show more comments
AJTek-Adam-J-Marshall avatar image
0 Votes"
AJTek-Adam-J-Marshall answered YousufShahzad-2083 commented

Please read my 8 part blog series on How to Setup, Manage, and Maintain WSUS.
https://www.ajtek.ca/wsus/how-to-setup-manage-and-maintain-wsus-part-1-choosing-your-server-os/
Then read many or all of the other WSUS guides on my site:
https://www.ajtek.ca/category/wsus/

They will give you a great understanding of WSUS.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thanks a lot for all the valuable blog series.

This will really help me a lot in future.

Regards

0 Votes 0 ·