# Errore durante l'aggiornamento ESOCKETTIMEDOUT registry.yarnpkg.com

**URL:** <https://meta.discourse.org/t/error-during-the-update-esockettimedout-registry-yarnpkg-com/268613>\
**Category:** Self-hosting\
**Created:** [16 Giugno 2023, 11:54am UTC](https://meta.discourse.org/t/error-during-the-update-esockettimedout-registry-yarnpkg-com/268613 "2023-06-16T11:54:44Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![kovalr](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kovalr/32/263527_2.png) [@kovalr](https://meta.discourse.org/u/kovalr)\
**Post date:** [16 Giugno 2023, 11:54am UTC](https://meta.discourse.org/t/error-during-the-update-esockettimedout-registry-yarnpkg-com/268613/1 "2023-06-16T11:54:45Z")

</div>

Tentativo di aggiornamento di Discourse tramite la procedura manuale

```plaintext
git pull
./launcher rebuild app
...

```

`./discourse-doctor` mostra un errore

```plaintext
I, [2023-06-16T11:39:43.530890 #1] INFO -- : > cd /var/www/discourse &amp;&amp; su discourse -c 'yarn install --frozen-lockfile &amp;&amp; yarn cache clean'
error An unexpected error occurred: "https://registry.yarnpkg.com/date-fns/-/date-fns-2.29.3.tgz: ESOCKETTIMEDOUT".

```

```plaintext
FAILED
--------------------
Pups::ExecError: cd /var/www/discourse &amp;&amp; su discourse -c 'yarn install --frozen-lockfile &amp;&amp; yarn cache clean' failed with return #&lt;Process::Status: pid 281 exit 1&gt;
Location of failure: /usr/local/lib/ruby/gems/3.2.0/gems/pups-1.1.1/lib/pups/exec_command.rb:117:in `spawn'
exec failed with the params {"cd"=>"$home", "cmd"=>["su discourse -c 'yarn install --frozen-lockfile &amp;&amp; yarn cache clean'"]}
bootstrap failed with exit code 1
**FAILED TO BOOTSTRAP** please scroll up and look for earlier error messages, there may be more than one.
./discourse-doctor may help diagnose the problem.
f485460571ab9e30e0d6917b05c9a8fe1772df13d8cae9fe67108961fae71039
==================== END REBUILD LOG ====================

```

Lo stesso problema si è verificato quando ho provato a eseguire  
`./launcher rebuild app`

Ho provato a scaricare date-fns-2.29.3.tgz su un host Linux e funziona.

```plaintext
wget https://registry.yarnpkg.com/date-fns/-/date-fns-2.29.3.tgz
Connecting to registry.yarnpkg.com (104.16.26.35:443)
saving to 'date-fns-2.29.3.tgz'
date-fns-2.29.3.tgz 100% | ************************************************************************************************************* | 712k 0:00:00 ETA
'date-fns-2.29.3.tgz' saved

```

Discourse ospitato su una VM Alpine Linux

---

_[View the full topic](https://meta.discourse.org/t/error-during-the-update-esockettimedout-registry-yarnpkg-com/268613)._
