!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

209 Members
59 Servers

Load older messages


SenderMessageTime
6 Oct 2023
@marie:marie.cologneMariei just tried lily's branch on a nixos machine and it works fine there20:51:20
@marie:marie.cologneMariebut that machine has a faster network connection20:51:35
@lily:lily.flowersLily Foster
In reply to @c0ba1t:matrix.org

In reply to @raitobezarius:matrix.org
oh lol if this is a Nix on $DISTRO bug and not reproducible on NixOS I will cry

Not too sure. I got the error constantly on NixOS (23.05) until the --cores option was lowered

Could you try the branch linked above too then?
20:53:56
@raitobezarius:matrix.orgraitobezariusI never got this bug and I use quite often the npm-prefetch-deps thingie…20:55:01
@raitobezarius:matrix.orgraitobezariusOn a shared machine on top of that where there's like 6TB of nix store…20:55:12
@raitobezarius:matrix.orgraitobezarius(but it's a 1Gbps connection)20:55:22
@c0ba1t:matrix.orgCobalt
In reply to @lily:lily.flowers
Could you try the branch linked above too then?
Sure, though that it might be delayed until tomorrow.
20:56:39
7 Oct 2023
@marie:marie.cologneMarieI tried it on a nixos vm and as soon as i raised the cpu core count the issue started to appear12:32:43
@lily:lily.flowersLily Foster
In reply to @marie:marie.cologne
I tried it on a nixos vm and as soon as i raised the cpu core count the issue started to appear
I'll try to make a branch to confirm whether or not the curl bump is in fact causing this
13:53:53
@c0ba1t:matrix.orgCobalt
In reply to @lily:lily.flowers
Could you try the branch linked above too then?
Unfortunately it threw a [18] Transferred a partial file within 10-20 seconds. One time though it got a bit further but stopped with a [55] Failed sending data to the peer.
Host: NixOS 23.05, on a (congested) 50Mb/s connection, project with a few hundred deps
14:10:43
@c0ba1t:matrix.orgCobaltI haven't tried it with lower cores yet14:11:11
@c0ba1t:matrix.orgCobalt * I haven't tried it with a lower core count yet14:11:19
@lily:lily.flowersLily Foster
In reply to @c0ba1t:matrix.org
Unfortunately it threw a [18] Transferred a partial file within 10-20 seconds. One time though it got a bit further but stopped with a [55] Failed sending data to the peer.
Host: NixOS 23.05, on a (congested) 50Mb/s connection, project with a few hundred deps
Still says "unknown error"?
14:12:13
@lily:lily.flowersLily Foster
In reply to @c0ba1t:matrix.org
I haven't tried it with a lower core count yet
No need, I'm trying to get failure logs
14:12:35
@c0ba1t:matrix.orgCobalt
In reply to @lily:lily.flowers
Still says "unknown error"?

yep, an excerpt:

[...]
node_modules/uri-js
Error: unknown error

Caused by:
    [55] Failed sending data to the peer
14:12:49
@lily:lily.flowersLily Foster Could someone do it with RUST_LOG=debug in the environment too? 14:12:59
@c0ba1t:matrix.orgCobalt
In reply to @lily:lily.flowers
No need, I'm trying to get failure logs
Okay, if you need any logs I would be happy help
14:13:19
@c0ba1t:matrix.orgCobaltDownload prefetch-log.txt14:14:47
@c0ba1t:matrix.orgCobalt That's the output from RUST_LOG=debug nix run github:lilyinstarlight/nixpkgs/upd/prefetch-npm-deps-deps#prefetch-npm-deps package-lock.json &> prefetch-log.txt 14:15:32
@lily:lily.flowersLily FosterI'll check it when I get back to my computer in a bit14:15:54
@c0ba1t:matrix.orgCobaltOkay, thank you for the quick handling of the issue. Intermittent network stuff is always a tricky 14:16:50
@marie:marie.cologneMariei have the same openssl broken pipe errors in my log14:17:53
@lily:lily.flowersLily FosterI sorta avoided digging in at all for a few weeks, so idk if I'd call that "quick handling" 😅14:18:00
8 Oct 2023
@lily:lily.flowersLily Foster
In reply to @c0ba1t:matrix.org
That's the output from RUST_LOG=debug nix run github:lilyinstarlight/nixpkgs/upd/prefetch-npm-deps-deps#prefetch-npm-deps package-lock.json &> prefetch-log.txt
Could you try again with RUST_LOG=debug nix run github:lilyinstarlight/nixpkgs/tmp/fix/prefetch-npm-deps-hell#prefetch-npm-deps package-lock.json &> prefetch-log.txt for me? I'm testing to see whether or not curl upgrade is the exact cause
22:28:27
@c0ba1t:matrix.orgCobaltSure, 22:41:21
@c0ba1t:matrix.orgCobaltDownload prefetch-log.txt22:41:22
@c0ba1t:matrix.orgCobaltThat's the first run, same failure. I can run it multiple times, if you want more logs. 22:42:06
@c0ba1t:matrix.orgCobalt

tl;dr the error wasn't resolved. Here's the tail of the file:

[2023-10-08T22:40:40Z DEBUG isahc::handler] h2 [accept-encoding: deflate, gzip, br, zstd]
[2023-10-08T22:40:40Z DEBUG isahc::handler] h2 [user-agent: curl/8.2.1 isahc/1.7.2]
[2023-10-08T22:40:40Z DEBUG isahc::handler] Using Stream ID: 15
[2023-10-08T22:40:40Z DEBUG isahc::handler] Connection cache is full, closing the oldest one
[2023-10-08T22:40:40Z DEBUG isahc::handler] Closing connection
[2023-10-08T22:40:40Z DEBUG isahc::handler] Connection #1 to host registry.npmjs.org left intact
Error: unknown error

Caused by:
    [55] Failed sending data to the peer
22:44:14
@lily:lily.flowersLily Foster
In reply to @c0ba1t:matrix.org
That's the first run, same failure. I can run it multiple times, if you want more logs.
Nah, one error is fine, thank you!
22:45:53
@c0ba1t:matrix.orgCobalt Okay, I'll be off for today (it's 1 am in my tz). The error for the above branch is reproducible after every Connection cache is full, closing the oldest one. Could there be a race condition between the connection cache being exhausted and accidentally closing an in-use connection? 22:48:58

Show newer messages


Back to Room ListRoom Version: 6