!9IQChSjwSHXPPWTa:lix.systems

Lix

628 Members
Lix user channel. Feel free to discuss on-topic issues here and give each other help. For matrix.to links to the rest of the Lix channels, see: https://wiki.lix.systems/books/lix-organisation/page/matrix-rooms198 Servers

Load older messages


SenderMessageTime
14 Oct 2024
@qbit:tapenet.orgqbit nice, maybe not my fault \o/ 03:21:11
@ross:rossabaker.comRoss A. Baker Pinning nixpkgs for both nix-darwin and lix-module works. I'm trying to bisect nixpkgs, but my endpoint security makes that an awful slog. 03:49:56
@whovian9369:matrix.orgWhovian9369

Hello! Should curling the Cache url 404 with an error of an API Key being missing? Seems to occur with the same error if visited in browser as well.
Example output that I get:

$  curl -i --silent "https://cache.lix.systems"
HTTP/2 404
server: nginx
date: Mon, 14 Oct 2024 04:10:15 GMT
content-type: application/xml
content-length: 25

API error: Key not found
04:11:33
@whovian9369:matrix.orgWhovian9369 *

Hello! Should curling the Cache url 404 with an error of an API Key being missing? Seems to occur with the same error if visited in browser as well. (Though with broken xml parsing in FF, error shows when displaying page source.)
Example output that I get:

$  curl -i --silent "https://cache.lix.systems"
HTTP/2 404
server: nginx
date: Mon, 14 Oct 2024 04:10:15 GMT
content-type: application/xml
content-length: 25

API error: Key not found
04:13:14
@whovian9369:matrix.orgWhovian9369 *

Hello! Should curling the Cache url 404 with an error of an API Key being missing? Seems to occur with the same error if visited in browser as well. (Though with broken xml parsing in FF, had mixed results on if error renders or if I need to look at page source.)
Example output that I get:

$  curl -i --silent "https://cache.lix.systems"
HTTP/2 404
server: nginx
date: Mon, 14 Oct 2024 04:10:15 GMT
content-type: application/xml
content-length: 25

API error: Key not found
04:16:37
@jade_:matrix.org@jade_:matrix.org
In reply to @whovian9369:matrix.org

Hello! Should curling the Cache url 404 with an error of an API Key being missing? Seems to occur with the same error if visited in browser as well. (Though with broken xml parsing in FF, had mixed results on if error renders or if I need to look at page source.)
Example output that I get:

$  curl -i --silent "https://cache.lix.systems"
HTTP/2 404
server: nginx
date: Mon, 14 Oct 2024 04:10:15 GMT
content-type: application/xml
content-length: 25

API error: Key not found
this is expected, if silly, behaviour.
04:48:35
@jade_:matrix.org@jade_:matrix.org
In reply to @aftix:matrix.org
it seems like every time I update the lix flake input on my config (pulling from main), and run nixos-rebuild switch, I get several errors about store paths not being found and having to nix-store --realise them manually. I have automatic GC/store optimization timers turned on but I don't mess with gcroots
i believe this was fixed in a recent commit to main. it was a regression recently. you shouldn't encounter it once you update and restart your daemon
04:50:19
@whovian9369:matrix.orgWhovian9369
In reply to @jade_:matrix.org
this is expected, if silly, behaviour.
That is certainly unfortunate.
04:51:37
@jade_:matrix.org@jade_:matrix.org
In reply to @kfears:matrix.org
I wonder if it's possible to get NixLang to support OTLP tracing. Would be possible to track spans across Nix/C++ boundary...
well, like. maybe, but you would need coarse enough spans to make it meaningful. also, you may want to see my previous work nix-otel which just adapted the nix logging mechanism to otel which is kind of cute but not really that useful in practice.
04:52:29
@jade_:matrix.org@jade_:matrix.org
In reply to @whovian9369:matrix.org
That is certainly unfortunate.
it's caused by garage, the underlying s3 implementation
04:53:04
@whovian9369:matrix.orgWhovian9369
In reply to @jade_:matrix.org
it's caused by garage, the underlying s3 implementation
Ah joy, that makes sense then. Thanks!
04:53:19
@jade_:matrix.org@jade_:matrix.orgyou could probably go fix it in garage, the 404 page on there is genuinely terrible04:54:04
@jade_:matrix.org@jade_:matrix.orgi don't know why it complains that it has no key though04:54:20
@delroth:delroth.netdelrothcould also just add an index page to that bucket :)04:54:32
@delroth:delroth.netdelrothI think it's "key" as in "key-value" not as in "auth key"04:54:43
@delroth:delroth.netdelrothbut not certain, it's just the only way I could ever make sense of that error message04:55:03
@whovian9369:matrix.orgWhovian9369 I can't immediately find anything on how cache.nixos.org uses it (can't find anything for garage in the NixOS user via GH search), otherwise I'd immediately be linking that. 05:04:55
@jade_:matrix.org@jade_:matrix.orgit's using real s305:05:03
@jade_:matrix.org@jade_:matrix.orgthat's why you aren't finding it05:05:09
@delroth:delroth.netdelroth(and it has an index page deployed too, which would fix the "problem" equally well with Garage)05:05:36
@jade_:matrix.org@jade_:matrix.orgi am trying to deploy one of those but a monitoring change ironically broke the ephemeral key system that i would use to fix that05:06:05
@whovian9369:matrix.orgWhovian9369
In reply to @jade_:matrix.org
that's why you aren't finding it
Yeah, I had hoped that there was at least some publicly available documentation on how it was used. ("Oh if you look into this file in github:NixOS/Infra, you can see that they supply the HTML this way for...")
05:09:19
@jade_:matrix.org@jade_:matrix.org"supplying the html" is not real05:09:35
@jade_:matrix.org@jade_:matrix.orgthe implementation in there is super barebones05:09:53
@jade_:matrix.org@jade_:matrix.orghttps://garagehq.deuxfleurs.fr/documentation/reference-manual/admin-api/05:10:08
@delroth:delroth.netdelroththere is, actually05:10:25
@jade_:matrix.org@jade_:matrix.org(not the right page on the site but it would be in this site but i don't think the page you are expecting actually exists)05:10:26
@whovian9369:matrix.orgWhovian9369I was just saying my thinking, expecting stuff to be provided more directly by Nix, etc etc.05:10:30
@delroth:delroth.netdelrothhttps://github.com/NixOS/infra/blob/master/terraform/cache.tf#L3705:10:40
@delroth:delroth.netdelrothhttps://github.com/NixOS/infra/blob/master/terraform/cache/index.html05:10:46

Show newer messages


Back to Room ListRoom Version: 10