activation: LE 429 duplicate-cert cap on the fixed rehearsal-c apex blocks gateway TLS #942
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Blocks
Reference
Matou/idss#942
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The failing leg
verdict.jsonnames"firstRedLeg": "standing", butstandingis the umbrella leg wrapping the whole rented-community prefix (3904797ms ≈ 65 min — the entire run). The leaf red isactivation(644768ms);standingonly carries a copy of its message. Tally:"total": 17, "green": 15, "red": 2, "skip": 0.This is not the known frontier. The paragraph framing this drive says pairing never flips, named in
legs.json's skip reasons. In this runlegs.jsonhas no skip reasons at all ("skip": 0) andpairis green:The gateway paired and was approved (
founding-state.log:"gateway paired and approved as node node-req-0001 — probed 2 vCPU · 4 GB · 78 GB meets the minimum"). This is a different, new red, downstream of pairing.Both red legs carry the same message (
artifacts/legs.json,artifacts/journey.json, and the Playwright error-context):The device-add legs never ran: the journey died inside the standing prefix. Consistent with that, the device droplet
clan-lab-rehearsal-029c4887/134.199.162.122is still stock24.04 (LTS) x64with onlysshdlistening (logs/device-stall.txt,logs/device-units.txt) — untouched, as expected.The evidence chain
1. What the app decided.
logs/founding-state.log:633-637— the deploy-outcome frame:It burned its full probe budget first —
founding-state.log:591through:615:2. What actually happened on the box. Caddy is up and holding
:443—logs/gateway-units.txt:The door is open; it has no cert. Every one of the 32
tls.obtainlines inlogs/gateway-caddy.txt— from 13:40:11 to 14:20:56, attempts 1 through 8 — is the same thing, and there is not one non-rate-limit TLS error in the harvest:Same for
*.rehearsal-c.idss.nz. The 429 lands oncreating new order— before any challenge is offered, let alone solved. The DNS-01 delegation was never exercised this run. Andtoo many certificates (5) already issuedis proof the delegation worked: five certs were successfully issued for this exact identifier set inside the rolling 168h window, by five earlier rehearsal drives against the same fixed apex.So the app's
"kind": "delegation"verdict is wrong, and its remedy ("Resume the deploy" ... "worth it only once the DNS-01 delegation has been repaired") points the operator at something that is not broken. The real gate is a Let's Encrypt quota with aretry after 2026-08-29 17:44:14 UTC— no delegation repair, resume, reinstall, or rescue boot can clear it before then.3. Two contributing defects the same harvest exposes (neither is the blocker this run, both are real):
logs/gateway-journal.txt:811— the acme-dns registration unit races acme-dns's own HTTP listener and exits 0 anyway:A
curl: (7)swallowed into aFinishedis a unit reporting success for work it did not do.logs/gateway-journal.txt:1275— the #554 delegation gate then failed and fail-opened, which is what let the 429s burn:Also in the same second, unrelated to TLS but worth noting since
enroll-activatewas scored green:nixos[1940]: switching to system configuration ...-nixos-system-gateway-26.11... failed (status 4)/clan-switch-gateway-a7bac7d9.service: Main process exited, code=exited, status=4/NOPERMISSION. By 14:27systemctl --failedon the gateway is empty, so nothing stayed failed.Suspected layer
Two layers, one blocker.
rehearsal-c.idss.nz, using the Let's Encrypt production directory. LE's duplicate-certificate limit is 5 per exact identifier set per 168h. The 6th drive in a week can never obtain a cert, soactivationcannot pass — deterministically, until the window rolls off. Nothing in the product is at fault for the red."kind": "delegation"from the symptom ("TLS never answered inside the budget") instead of reading the gateway's actual issuer error, which was sitting in Caddy's log the whole time with an explicitretry after. It then hands the operator three recovery buttons, all of which are futile here, and a detail paragraph that sends them to repair a healthy broker zone.What plugging it needs
rehearsal-<runid>.idss.nz) so no identifier set repeats, or persist and reuse/var/lib/caddycert state across drives. The staging switch is the smallest change and the one that also stops five real certs a week being minted for a throwaway box; picking between the three is the one judgement call here.tls.obtainerrors off the gateway before writing thefailureframe, and branch: arateLimited429 is its ownkindwith theretry aftertimestamp in the detail and no resume/reinstall/rescue options offered (they cannot help). Keep"kind": "delegation"for the case where a challenge was actually attempted and the DNS-01 lookup failed.127.0.0.1:8081to accept (readiness poll / retry loop) and exit non-zero if the registration curl fails, rather than loggingcurl: (7)and reportingFinished.#554's gate correctly predicted "early ACME orders may burn against a not-yet-live delegation" and then released Caddy anyway. Against production LE that fail-open is how quota gets spent on a box that cannot solve a challenge.throwOnDeployFailure(journey.device.spec.ts:557-564) reds with onlyfailure.headline+failure.noRollback. Thedetailfield — the only part carrying a diagnosis — never reaches the leg message, solegs.jsonandverdict.jsonsay nothing but "The gateway deploy failed." Includingdetailwould have put the (wrong) delegation claim in front of a reader immediately.What is absent
tcp/22: a FRESH connect succeededin both*-do-forensics.txt), so a live look was possible in principle — it was simply not offered, and the harvest was sufficient.logs/droplet-journal.txt. This drive's harvest splits it two ways instead:logs/device-journal.txt(145 KB) andlogs/gateway-journal.txt(334 KB).logs/broker-journal.txtis a harvest failure, not a journal:dev@100.98.48.68: Permission denied (publickey)— "off the admin mesh, ADR 0208 ... a drive on an off-mesh host harvests nothing by design (#681)". So I cannot independently confirm the state of the five-recordPutRecordsdelegation set on the broker. That does not weaken the diagnosis — the 429 lands before any challenge, so the delegation is not on this run's critical path — but it does mean the fail-open gate line at 13:40:10 stays unresolved.logs/helper.logis 0 bytes.logs/state-logs.logis an error string, not logs:ERROR: no state logs directory at .../test-results/standing-rented/state/logs: ENOENT.logs/qemu.logandhost.json's"qemu"both recordENOENT(no qemu on this host — expected for a rented drive). Alllogs/guest-*.logare 129-byte stubs andlogs/device-caddy.txtis-- No entries --— no guest VM in this journey.artifacts/journey.jsonandartifacts/verdict.jsonwere both written, so the drive did reach its own verdict marker.drive
20260828T132108Zred atactivation:the gateway deploy failed — The gateway deploy failed. [There is no old operating system to roll back to — this server was rented fresh for the community, so nothing of yours was overwritten.]evidence:
/home/swarm/swarm/Matou/idss/test-results/drive-device/20260828T132108Zon matou-workstation (legs.json and whatever else the drive harvested there) — a representative screenshot is attached here if one was capturedswarm-claim host=elitebook-distributed-server-03 run=13265
(automated multi-host claim — lowest live claim id works this ticket)
Duplicate of #941 — same drive (
20260828T132108Z), same leaf red (activation, LE 429 onrehearsal-c.idss.nz), filed once for thestandingumbrella and once for the inner leg. Ruling and fix live on #941. Closing this one under ADR 0174.close-report for #942 — status
success⛔ close-report gates REFUSED this close — the following claims did not verify:
c4a633374bis not reachable from origin/main (not landed)envelope
close-report for #942 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope