Ask the Community
Groups
Updates fail with [Errno 4] Socket Error: timed out Trying other mirror - Connect IT Community | Kaseya
<main> <article class="userContent"> <h2 data-id="summary"><strong>SUMMARY</strong></h2> <p>This article provides information to resolve DPU appliance update errors caused by yum timing out before the package arrives.</p> <h2 data-id="issue"><strong>ISSUE</strong></h2> <p>Updates to the appliance fail with </p> <p>“[Errno 4] Socket Error: timed out</p> <p>Trying other mirror.”</p> <h4 data-id="cause">Cause</h4> <p>This can be caused by yum timing out before the package arrives. This is often caused by network devices that scan inbound files for downloading. Yum will only wait 30 seconds before timing out.</p> <h3 data-id="resolution">Resolution</h3> <p>If it takes longer before the download begins, you can add entry to the yum.conf file that will make yum wait longer.</p> <p><i><b>** Warning for advance users only **</b></i></p> <ol><li>Log into the backup appliance via ssh (putty.exe)</li> <li>Edit the yum.conf file (vim /etc/yum.conf)</li> <li>Add entry under the <b>[main]</b> section, called <b>timeout=300</b>.</li> <li>Exit vim and save changes (:wq)</li> <li>Now run: yum clean all </li> <li>Now back in the Unitrends interface, <b>Configure -> Updates</b>. They will now install without the timeout error.</li> </ol> </article> </main>