Can't install Gancio

My YunoHost server

Hardware: Raspberri Pi 3 Model B
YunoHost version: 11.2.20.2 (stable)
I have access to my server : Through SSH | through the webadmin | direct access via keyboard / screen | …
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no
If yes, please explain:

Description of my issue

Hi! I can’t install Gancio in my yunohost server, looks like a timeout.

I am able to download the package from my raspberri throug ssh:

sudo wget https://registry.yarnpkg.com/rxjs/-/rxjs-6.6.7.tgz

but I get this message in the Gancio installation:

2024-07-12 11:45:17,691: DEBUG - + sudo -u gancio PATH=/opt/node_n/n/versions/node/18/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin yarn install
2024-07-12 11:45:22,305: DEBUG - yarn install v1.22.22
2024-07-12 11:45:24,152: DEBUG - [1/5] Validating package.json...
2024-07-12 11:45:24,218: DEBUG - [2/5] Resolving packages...
2024-07-12 11:45:34,130: DEBUG - [3/5] Fetching packages...
2024-07-12 11:47:45,708: DEBUG - info There appears to be trouble with your network connection. Retrying...
2024-07-12 11:48:19,113: DEBUG - info There appears to be trouble with your network connection. Retrying...
2024-07-12 11:48:52,399: DEBUG - info There appears to be trouble with your network connection. Retrying...
2024-07-12 11:49:25,684: DEBUG - info There appears to be trouble with your network connection. Retrying...
2024-07-12 11:49:38,474: DEBUG - info There appears to be trouble with your network connection. Retrying...
2024-07-12 11:50:08,770: DEBUG - info There appears to be trouble with your network connection. Retrying...
2024-07-12 11:50:13,707: DEBUG - error Error: https://registry.yarnpkg.com/rxjs/-/rxjs-6.6.7.tgz: ESOCKETTIMEDOUT
2024-07-12 11:50:13,709: DEBUG -     at ClientRequest.<anonymous> (/usr/share/yarn/lib/cli.js:142037:19)
2024-07-12 11:50:13,712: DEBUG -     at Object.onceWrapper (node:events:631:28)
2024-07-12 11:50:13,714: DEBUG -     at ClientRequest.emit (node:events:517:28)
2024-07-12 11:50:13,716: DEBUG -     at TLSSocket.emitRequestTimeout (node:_http_client:847:9)
2024-07-12 11:50:13,718: DEBUG -     at Object.onceWrapper (node:events:631:28)
2024-07-12 11:50:13,720: DEBUG -     at TLSSocket.emit (node:events:529:35)
2024-07-12 11:50:13,722: DEBUG -     at Socket._onTimeout (node:net:598:8)
2024-07-12 11:50:13,724: DEBUG -     at listOnTimeout (node:internal/timers:569:17)
2024-07-12 11:50:13,726: DEBUG -     at process.processTimers (node:internal/timers:512:7)

Full log:
https://paste.yunohost.org/raw/nozepiyocu

Thanks in advance!

1 Like

Not much to be done packing side here, try again perhaps?

2 Likes

I’ve tried 6 times with the same results before posting.

I’ll continue trying :crossed_fingers:

Thank you.

Try to ping it from the server.
I had the same issue, it was my isp blocking it (yes, the ping was failing but it was successful using a vpn. I mailed my isp and it fixed it :roll_eyes:)

I had a similar issue when installing Umami. I could easily download the package through my desktop or other means (through the same network as the installer script), but when I ran the installer script it still timed out (I can ping it from my server too). I ultimately got lucky, and Umami installed. I tried several times per day across several days. I was so close to just downloading the packages manually, running a local webserver, and modifying my /etc/hosts file to point at that webserver.

I did find a yarn github issue thread citing a similar issue, and they suggested it could be due to disk speed, but to inconsistent feedback.
Also: yarn install timing out · Issue #8948 · yarnpkg/yarn · GitHub

Could registry.npmjs.org be more reliable? URLs use same syntax; https://registry.yarnpkg.com/@material-ui/icons/-/icons-4.9.1.tgz is the same file as https://registry.npmjs.org/@material-ui/icons/-/icons-4.9.1.tgz . Though pinging registry.yarnpkg.com tells us that it is actually a redirect to yarn.npmjs.org

ping registry.yarnpkg.com
Pinging yarn.npmjs.org

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.