!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
@hexa:lossy.networkhexa
Mar 17 16:25:15 mimas hydra-queue-runner[4333]: warning: error: unable to upload 'https://s3.us-east-1.amazonaws.com/nix-cache/yak3aj118k761cgsnc79k0wpk4y5598c.ls': Timeout was reached (28) Operation timed out after 15942 milliseconds with 0 bytes received; retrying in 287 ms

they started here
09:04:57
@hexa:lossy.networkhexaand there have been ~17.8k of these since09:05:14
@hexa:lossy.networkhexathat coincides with https://github.com/NixOS/infra/pull/97809:06:09
@vcunat:matrix.orgVladimír ČunátI've seen these abortions occasionally in the past few months.09:08:09
@vcunat:matrix.orgVladimír Čunát* I've seen these S3 abortions occasionally in the past few months.09:08:19
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)So 2.33 wasn’t experiencing this? The only meaningful change since then I think was adding tcp keepalive09:08:21
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)And also switching to virtual-hosted–style endpoints. Might have made a difference there09:17:57
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)

Connection is most likely the issue here. As a quickfix I think this should help:

https://github.com/NixOS/infra/blob/22a38e7c5f61d7b04231c3dd84f5ca1a6fec52ef/build/hydra.nix#L88

Adding addressing-style=path should prevent connection reuse since it's http1-only.

09:27:19
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)And s3 sends a connection close on those always. We'll see about making connection reuse much less aggressive and do a patch release of 2.3409:28:06
@hexa:lossy.networkhexaapplying09:34:47
@arianvp:matrix.orgArianS3 doesn't support http2 at all AFAIK?09:42:35
@arianvp:matrix.orgArianFwiw S3 explicitly documents that the way to scale it is to open multiple TCP connections. The A record returns like 50 different IP addresses and should connect to all of them09:43:05
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)It does on the virtual-hosted buckets apparently09:43:13
@vcunat:matrix.orgVladimír ČunátSounds like horrible design.09:43:51
@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

Show newer messages


Back to Room ListRoom Version: 6