MID Server failing auto-upgrade with message "AutoUpgrade.3600 SEVERE *** ERROR *** Connection reset java.net.SocketException: Connection reset"Issue Mid Servers will not auto-upgrade with the error message "AutoUpgrade.3600 SEVERE *** ERROR *** Connection reset java.net.SocketException: Connection reset" 04/08/20 10:11:19 (579) AutoUpgrade.3600 SEVERE *** ERROR *** Connection resetjava.net.SocketException: Connection resetat java.net.SocketInputStream.read(SocketInputStream.java:210)at java.net.SocketInputStream.read(SocketInputStream.java:141)at sun.security.ssl.InputRecord.readFully(InputRecord.java:465)at sun.security.ssl.InputRecord.read(InputRecord.java:503)at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:975)at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:933)at sun.security.ssl.AppInputStream.read(AppInputStream.java:105)at java.io.BufferedInputStream.read1(BufferedInputStream.java:284)at java.io.BufferedInputStream.read(BufferedInputStream.java:345)at org.apache.commons.httpclient.ContentLengthInputStream.read(ContentLengthInputStream.java:170)at java.io.FilterInputStream.read(FilterInputStream.java:133)at org.apache.commons.httpclient.AutoCloseInputStream.read(AutoCloseInputStream.java:108)at java.io.FilterInputStream.read(FilterInputStream.java:107)at org.apache.commons.httpclient.AutoCloseInputStream.read(AutoCloseInputStream.java:127)at com.glide.io.HTTPFileWriter.writeResponse(HTTPFileWriter.java:66)at com.glide.communications.HTTPDownloader.downloadUrl(HTTPDownloader.java:109)at com.service_now.mid.util.PackageDownloader.fromUrlWithRetry(PackageDownloader.java:25)at com.service_now.monitor.AutoUpgrade.downloadPackage(AutoUpgrade.java:381)at com.service_now.monitor.AutoUpgrade.attemptUpgrade(AutoUpgrade.java:199)at com.service_now.monitor.AutoUpgrade.run(AutoUpgrade.java:111)at com.service_now.monitor.AMonitor.runit(AMonitor.java:155)at com.service_now.monitor.AMonitor.access$200(AMonitor.java:44)at com.service_now.monitor.AMonitor$MonitorTask.execute(AMonitor.java:148)at com.service_now.monitor.base.AMonitorTask.run(AMonitorTask.java:29)at java.util.TimerThread.mainLoop(Timer.java:555)at java.util.TimerThread.run(Timer.java:505) 04/08/20 10:11:19 (579) AutoUpgrade.3600 Incomplete download C:\ServiceNow\ProdMidServer2\package\incoming\mid-core.newyork-06-26-2019__patch7-02-25-2020_03-02-2020_2243.universal.universal.zip, 3972397 of 216589660 bytesReleaseAll available versionsCauseThe following are possible causes for the error: 1. The error occurs when a connection is closed abruptly (when a TCP connection is reset while there is still data in the send buffer). The condition is very similar to a much more common 'Connection reset by peer'.2. The Transmission Control Protocol (TCP) socket is closed because the socket received a close command from a remote database machine. In plain language, there are connection issues between the mid server and the install.servicenow.com server.ResolutionPerform the below test to find out the root cause of the issue. 1. Navigate to Windows Start.2. Type cmd in the Search programs and files search bar.3. Click cmd from the search results.4. In the command line, type ping followed by the install.service-now.com, and press Enter. The following is an example of a successful ping request.Note: observe there are any packet drop 5. Run the tracert command to diagnose if and where the lapse in communications is happening. Run the command below and check if there is a lapse in the communication. tracert install.service-now.comwhile performing ping and tracert test in step 4 and step 5 respectively, if you observe any packet loss or lapse in communication. please work with your network team to clear out networking issues on the mid server.After you clear out networking issues on the mid server. To confirm there are no network issues perform below steps.1. From MID Server, log in to the instance 2. In the filter navigation, type mid server --> downloads3. click on the windows --> 64 bit. 4. Observe the download in the chrome, confirm MID server packages are downloaded without any issues. 5. after your done with the above steps, navigate to the mid server and click on the Upgrade MID to trigger the upgrade