!RROtHmAaQIkiJzJZZE:nixos.org

NixOS Infrastructure

402 Members
Next Infra call: 2024-07-11, 18:00 CEST (UTC+2) | Infra operational issues backlog: https://github.com/orgs/NixOS/projects/52 | See #infra-alerts:nixos.org for real time alerts from Prometheus.122 Servers

Load older messages


SenderMessageTime
19 Mar 2026
@arianvp:matrix.orgArianThat would be news to me. S3 has been very optimized for http 1.1 09:43:59
@arianvp:matrix.orgArianWell it's the oldest Amazon service...09:44:03
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)People did start screaming about multiple h1.1 connections: https://github.com/NixOS/nix/issues/1520809:48:42
@vcunat:matrix.orgVladimír ČunátThose changes do sound related.09:49:56
@arianvp:matrix.orgArian

arian@Arians-Mac-mini:~/ > curl https://sudachi.s3-ap-northeast-1.amazonaws.com --head
HTTP/1.1 200 OK
09:51:04
@arianvp:matrix.orgArian I dont see HTTP2. And I would be extremely surprised if AWS ever will support HTTP2 on S3. 09:52:28
@arianvp:matrix.orgArianYeh that seems related. We should definitely configure curl to reuse HTTP 1.1 connections. I thought it did that automatically?09:52:56
@arianvp:matrix.orgArian This seems like an AI hallucination to me IMO: https://github.com/NixOS/nix/commit/695501815b0f8fb6e51ccf6598701fc459f9328f 09:54:00
@arianvp:matrix.orgArianThis whole commit message is bogus. It’s not fixing the issue because S3 does not support HTTP2. you need to have a HTTP client that reuses connections according to the HTTP 1.1 spec09:54:57
@vcunat:matrix.orgVladimír Čunát

And I would be extremely surprised if AWS ever will support HTTP2 on S3.

Perhaps skip directly to QUIC 😁

09:54:59
@hexa:lossy.networkhexaRedacted or Malformed Event09:55:22
@hexa:lossy.networkhexa
This seems like an AI hallucination to me IMO

That would be wild
09:55:52
@hexa:lossy.networkhexa
This seems like an AI hallucination to me IMO
That would be wild
09:55:55
@arianvp:matrix.orgArianBut the TCP-keepalive change does sound like it would fix the issue?09:56:45
@arianvp:matrix.orgArianit’s the game “One truth and a lie”09:56:55
@arianvp:matrix.orgArian lemme double-check I only tested ap-northeast-1 . Maybe they did roll out HTTP2 on us-east-1 but I’d be super surprised 10:00:03
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)Well if that's the case bernardo will get an earful from me since I asked him if it does and he confirmed10:03:36
@arianvp:matrix.orgArian

Nope 100% HTTP1.1


 Host: nix-cache.s3.us-east-1.amazonaws.com
> User-Agent: curl/8.17.0
> Accept: */*
> 
* Request completely sent off
< HTTP/1.1 200 OK
10:04:16
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)womp womp10:05:00
@arianvp:matrix.orgArian https://gist.github.com/arianvp/cf5ce0cba528acc43904d7987ae90f98 10:06:10
@arianvp:matrix.orgArian

You can also verify yourself with just openssl:

openssl s_client  -alpn 'h2,http/1.1' -connect nix-cache.s3.amazonaws.com:443 
openssl s_client  -alpn 'h2' -connect nix-cache.s3.amazonaws.com:443

In the first one it negotiates HTTP1.1 and in the second one it says “No ALPN Negotiated”

10:12:13
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)Hm so issue then would be keepalive making things worse10:31:54
@emilazy:matrix.orgemilyshhh, SQS will hear you11:28:58
@joerg:thalheim.ioMic92I think I remember he talked about some proxies at some point.11:56:59
@joerg:thalheim.ioMic92So might be not the s3 itself11:57:19
@joerg:thalheim.ioMic92 Sergei Zimmerman (xokdvium): https://github.com/NixOS/nix/pull/15522 so this would be the most sensible fix for now? 11:57:33
@arianvp:matrix.orgArianI feel like we have something misconfigured with curl's connection pooling11:58:12
@joerg:thalheim.ioMic92* So might be not the s3 itself that does http11:59:15
@joerg:thalheim.ioMic92* So might be not the s3 itself that does http 2.012:00:36
@joerg:thalheim.ioMic92 hexa (signing key rotation when): so my plan, would be to apply the patch above to our hydra and if this fixes the issue, we could merge it and have a nix patch release today 12:07:53

Show newer messages


Back to Room ListRoom Version: 6