| 3 Oct 2023 |
| spion set a profile picture. | 15:31:36 |
Cobalt | In reply to @jfvillablanca:matrix.org hello everyone, i am making a nodejs project and i am using devenv. i have set services.mysql.enable = true; in my flake.nix. mysql cli seems to be enabled on the environment, however, when I try to run mysql I get this error ERROR 2002 (HY000): Can't connect to local server through socket '/link/to/repo/.devenv/state/mysql.sock' if anyone can shed some light on this, i would very much appreciate it The mysql server is most likely not running (as indicated by the missing socket). | 19:57:13 |
| 6 Oct 2023 |
| fwam joined the room. | 16:42:44 |
| Marie joined the room. | 17:04:21 |
Lily Foster | In reply to @thiloho:matrix.org
Alright, now after a few hours I am getting the [55] error again, and I can tell you that it does not fail on the same dependency.
Here, the two different errors, the first one is from yesterday and the new one from right now:
error: builder for '/nix/store/0v4309m5kdpa2wvm9ix0v9hyf2x8cxwc-build-aurora-blog-npm-deps.drv' failed with exit code 1;
last 10 log lines:
> node_modules/sade
> node_modules/to-fast-properties
> node_modules/p-try
> node_modules/yallist
> node_modules/stdin-discarder
> node_modules/mdast-util-to-string
> Error: unknown error
>
> Caused by:
> [55] Failed sending data to the peer
For full logs, run 'nix log /nix/store/0v4309m5kdpa2wvm9ix0v9hyf2x8cxwc-build-aurora-blog-npm-deps.drv'.
error: builder for '/nix/store/pqzz7v0d4gqi6smg90c909g542snxp83-build-aurora-blog-npm-deps.drv' failed with exit code 1;
last 10 log lines:
> node_modules/server-destroy
> node_modules/zwitch
> node_modules/vite/node_modules/@esbuild/linux-arm
> node_modules/@types/debug
> node_modules/is-extendable
> node_modules/ansi-align/node_modules/string-width
> Error: unknown error
>
> Caused by:
> [55] Failed sending data to the peer
For full logs, run 'nix log /nix/store/pqzz7v0d4gqi6smg90c909g542snxp83-build-aurora-blog-npm-deps.drv'.
Okay so here's an interesting one. Curl error 55 (CURLE_SEND_ERROR) should be getting set as an io error which should be retried. But it's errorkind is now Unknown instead of Io which results in the error being considered permanent, as seen in your log | 19:54:05 |
Lily Foster | So what's changed is actually likely something in the rust ffi to libcurl | 19:54:21 |
Lily Foster | ugh | 19:54:26 |
Lily Foster | (I still haven't been able to replicate btw.... but it does not actually seem like it's due to rate limiting or anything like that) | 19:55:52 |
Lily Foster | Would someone who is able to replicate the issue test builds for me if I come up with a fix? | 19:57:47 |
Lily Foster | I guess I should ask on the gh issue actually | 19:57:55 |
Lily Foster | I wonder if all that is needed is bumping curl-sys | 20:01:01 |
Lily Foster | If someone wants to test, try the flake output github:lilystarlight/nixpkgs/upd/prefetch-npm-deps-deps#prefetch-npm-deps | 20:01:33 |
Lily Foster | It would be appreciated 🙏 | 20:01:40 |
Marie | i would like to test, but i get a 404 from github on that :( | 20:04:58 |
Lily Foster | uhhhh heck | 20:05:08 |
Lily Foster | One sec | 20:05:10 |
Lily Foster | heck I misspelled my own name 🤦♀️ | 20:05:52 |
Lily Foster | * If someone wants to test, try the flake output github:lilyinstarlight/nixpkgs/upd/prefetch-npm-deps-deps#prefetch-npm-deps | 20:05:57 |
Marie | oh | 20:06:01 |
Marie | i tried it 2 times got 2 different errors | 20:09:04 |
Marie | looking good | 20:09:07 |
Marie | Error: unknown error
Caused by:
[55] Failed sending data to the peer
Error: unknown error
Caused by:
[18] Transferred a partial file
| 20:09:36 |
Lily Foster | In reply to @lily:lily.flowers I wonder if all that is needed is bumping curl-sys (If all that is needed to fix this issue of the past several weeks is to bump the crate deps on the fetcher, I'm gonna be hella embarrassed) | 20:09:47 |
Lily Foster | In reply to @marie:marie.cologne
Error: unknown error
Caused by:
[55] Failed sending data to the peer
Error: unknown error
Caused by:
[18] Transferred a partial file
Hmmmm those should be network errors, not unknown errors | 20:10:04 |
Lily Foster | So the curl crate is still busted | 20:10:14 |
Lily Foster | I'll look more later | 20:10:18 |
Marie | i thought i might have a clue by commenting stuff out, but turns out it's just that when i run prefetch-npm-deps via cargo run (--release) it works fine, only the one built with nix fails | 20:35:46 |
Lily Foster | In reply to @marie:marie.cologne i thought i might have a clue by commenting stuff out, but turns out it's just that when i run prefetch-npm-deps via cargo run (--release) it works fine, only the one built with nix fails That makes even less sense... What curl are you linking against? Are you on nixos | 20:38:18 |
Lily Foster | In reply to @marie:marie.cologne i thought i might have a clue by commenting stuff out, but turns out it's just that when i run prefetch-npm-deps via cargo run (--release) it works fine, only the one built with nix fails * That makes even less sense... What curl are you linking against? Are you on nixos? | 20:38:21 |
Marie | i'm on debian in wsl | 20:38:51 |