HydraIssues

A large PUT to bxl1.hydramirror is cut at about 60 seconds, so a build over roughly 250 MB cannot be uploaded to the district mirror
open unclassified Project: hydramirror Reporter: 13 Nov 2026 20:06

Description

HIT DIRECTLY 2026-11-13 while delivering hydragon build 2 (mv0) to cloud-seven.

WHAT WAS MEASURED

One file, one client, one token, two destinations. The client is fluffy-dumpling-87, a scheduled task running as SYSTEM, streaming the file with HttpWebRequest, AllowWriteStreamBuffering off, Timeout and ReadWriteTimeout both 1800000 ms.

file   hydragon-windows.zip, 381267479 bytes
sha256 24db6ddf588f9f326628c3a0a85080412c1b88377c8c7d54b31d5e2045f8035c

PUT to bxl1.hydramirror.experiencenet.com:

20:53:28 start
20:53:50 sent=104857600/381267479
20:54:13 sent=209715200/381267479
20:54:29 ERROR Write: An existing connection was forcibly closed by the remote host

That is 61 seconds and about 250 MB. The same job, changed only in the host name, to nbg1.hydramirror.experiencenet.com:

20:57:16 start
20:58:34 sent=314572800/381267479
20:58:54 http=201

That is 98 seconds and the whole file. So the client can hold a connection for longer than 61 seconds, and the file is not the problem.

WHERE THE CUT IS NOT

The request reached the mirror. On the bxl1 attempt the mirror created the destination directory at 19:54 UTC and left it empty, which is the MkdirAll in handler PUT, so the storage-cap check had already passed. That cap returns 507 cleanly and was not what happened. The mirror also has 85 GB free and 130.9 GB of 150 GB used, so it is not full. hydraserve sets no ReadTimeout or WriteTimeout, so the Go server itself does not cut a slow body.

WHAT I INFER, NOT PROVEN

bxl1 is a scale on pi-node-003-nvme behind the edge router; nbg1 is a direct Hetzner box with no edge router in front. The difference tracks the edge router, and 61 seconds looks like a request timeout there. I did not read the edge router config, so this is an inference from two measurements, not a proof.

WHY IT MATTERS

Every experience build goes to a district mirror. Any build over roughly 250 MB cannot be PUT to bxl1 at all. This is the same family as #1185: there the edge returned 504 on the hydratransfer mirror push, here it resets the body. Both make the district mirror unreachable for a normal sized build.

THE WORKAROUND I USED, WHICH WORKS

  1. PUT the file to nbg1, which takes it.
  2. From pi-node-003-nvme, GET the file from the mirror scale directly on http://:8080, which bypasses the edge. The pull-through fetches it from nbg1 and caches it locally: http=200, 381267479 bytes, 36.7 seconds, 10.4 MB/s.
  3. The public URL then serves it from local disk, so the body download is not affected.

That is three steps where there should be one, and step 2 needs node shell access, so it is not something a delivery pipeline can do by itself.

SUGGESTED FIX

Raise or remove the request timeout on the edge router for the mirror upload route, then re-run the measurement above. If the timeout has to stay, hydramirror needs a chunked upload route of its own, the way hydratransfer has one, rather than every uploader learning this trick.