<p>We started experiencing issues with the WSUS server recently. I wasn&#8217;t able to connect to the WSUS server using WSUS Administrative console.</p>
<p>When I have tried to connect I got the following error message:</p>
<h5><strong>Error: Connection Error</strong><br />
An error occurred trying to connect the WSUS server. This error can happen for a number of reasons.<br />
Click Reset Server Node to try to connect to the server again.</h5>
<p><a href="https://www.wincert.net/wp-content/uploads/2018/06/wsus-error-1.png"><img class="alignnone wp-image-2604 size-full" title="WSUS Error: Connection Error" src="https://www.wincert.net/wp-content/uploads/2018/06/wsus-error-1.png" alt="WSUS Error: Connection Error" width="627" height="148" /></a></p>
<p>After the restart of the WSUS server I was able to use the console but after some time the WSUS server run into the same problems again.<br />
We have checked application pool on the WSUS IIS server and have discovered that the WSUS Pool was down. After we started the WSUS Pool, we have temporarily fixed the problem, but after a while, it crashed again.</p>
<p><a href="https://www.wincert.net/wp-content/uploads/2018/06/wsus-error-2.png"><img class="alignnone wp-image-2605 size-full" title="WSUS Error: Connection Error" src="https://www.wincert.net/wp-content/uploads/2018/06/wsus-error-2.png" alt="WSUS Error: Connection Error" width="848" height="277" /></a></p>
<p>Event Log had several logs related to this problem like:</p>
<p><strong>Event 5013, WAS &#8211; A process serving application pool &#8216;WsusPool&#8217; exceeded time limits during shut down. The process id was &#8216;3504&#8217;</strong></p>
<p><a href="https://www.wincert.net/wp-content/uploads/2018/06/wsus-error-3.png"><img class="alignnone wp-image-2606 size-full" title="WSUS Error: Connection Error" src="https://www.wincert.net/wp-content/uploads/2018/06/wsus-error-3.png" alt="WSUS Error: Connection Error" width="628" height="105" /></a></p>
<p><strong>Event 5002, WAS &#8211; Application pool &#8216;WsusPool&#8217; is being automatically disabled due to a series of failures in the process(es) serving that application pool.</strong></p>
<p><a href="https://www.wincert.net/wp-content/uploads/2018/06/wsus-error-4.png"><img class="alignnone wp-image-2607 size-full" title="WSUS Error: Connection Error" src="https://www.wincert.net/wp-content/uploads/2018/06/wsus-error-4.png" alt="WSUS Error: Connection Error" width="748" height="113" /></a></p>
<p>Have in mind that errors appeared under different Event ID&#8217;s and Process ID&#8217;s.</p>
<p>To fix this we had to disable <strong>Rapid-Fail Protection</strong> and raise <strong>Private Memory Limit</strong>.</p>
<p>Here&#8217;s how to do it:</p>
<p>Login to your <strong>WSUS server</strong>, open <strong>Internet Information Services (IIS) Manager</strong>.<br />
In the left pane, <strong>expand the WSUS server</strong> and click on <strong>Application Pools</strong>. If it is down, <strong>start WsusPool application pool</strong> and right click on it.<br />
Now select <strong>Advanced Settings</strong> and do the following:</p>
<p>Under <strong>Rapid-Fail Protection</strong> change the <strong>Enabled</strong> value to <strong>False</strong>.<br />
Under <strong>Private Memory Limit (KB)</strong>, change the value to <strong>3145725</strong> or <strong>3.1GB</strong> which is recommended by Microsoft.</p>
<p><a href="https://www.wincert.net/wp-content/uploads/2018/06/wsus-error-5.png"><img class="alignnone wp-image-2608 size-full" title="WSUS Error: Connection Error" src="https://www.wincert.net/wp-content/uploads/2018/06/wsus-error-5.png" alt="WSUS Error: Connection Error" width="446" height="546" /></a></p>
<p>Hope this helps.</p>