Rented gateway advertises HTTP/3 (alt-svc h3) but the firewall only opens TCP 443 — Chrome's dashboard API fetches die with "Failed to fetch" #1334
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.
Dependencies
No dependencies set.
Reference
Matou/idss#1334
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?
Seen: manual trial 2026-09-08 (Whakatohea, rented path, build db1d1b23). After hand-off the operator opened the dashboard in Chrome; the Overview rendered its frame and then reported failed to fetch on
GET /api/v1/overview. From the laptop, curl over HTTP/2 returns the overview JSON fine on the apex, and the admin door correctly 302s to sign-in — the API itself is healthy.Cause (verified on the box): Caddy binds UDP 443 (QUIC) and stamps
alt-svc: h3=":443"on every response, butnixos-fwonly acceptstcp dport 443— there is no UDP 443 rule. Chrome honours alt-svc on the follow-up requests: the document lands over h2, the API fetches switch to h3, the UDP packets are dropped silently (DROP, not REJECT), and fetch() surfacesTypeError: Failed to fetchuntil Chrome marks the alt-svc broken.Fix options (frontdoor.go): either open UDP 443 alongside TCP 443 wherever the front door opens 443, or pin Caddy to
servers { protocols h1 h2 }so it never advertises h3. Pick one and add a render test asserting the pair (a listener advertising a protocol the firewall drops is the defect class). Add a GOTCHAS entry.Drive impact: Playwright's Chromium is the same engine — any drive that opens the dashboard after founding may be flaking on this today.
Build record: docs/operator-app/manual-testing-guide.md (deb sha 5f57d17c…, db1d1b23).
Category: bug · State: ready-for-agent
Verified against the codebase
The defect is real in the tree. The rented gateway's guest front door renders
internal/clan/frontdoor.go:601:— TCP only, no
allowedUDPPorts. Caddy on guest 443 binds UDP 443 (QUIC) and stampsalt-svc: h3=":443"by default, so the firewall drops exactly the transport the responses advertise. Chrome follows the alt-svc to h3 and the API fetches die on the silently-DROPped UDP. The existing render-test harness already asserts the public-port set literally (internal/clan/frontdoor_test.go:28→allowedTCPPorts = [ 80 443 ]), so the firewall/advertisement parity is cheaply provable there. Not redundant with GOTCHAS #58/#80 (both are ledger 409s, unrelated).Ruled by agent under ADR 0174 — veto anytime
Ruling: the fix must narrow the advertisement to match the firewall, not widen the firewall to match the advertisement. Default to pinning Caddy so it never advertises h3 (
servers { protocols h1 h2 }, and/or not binding UDP 443) on the gateway front doors. Do not open a new public UDP 443 port as part of this ticket.Why this is a two-way door: aligning the advertisement down opens no new public surface — it is revertible by a one-line commit and provable by a render test asserting the listener never advertises a protocol the firewall drops. Opening UDP 443, by contrast, is a security-posture widening (a new deliberately-public port) — that sits on the ADR 0174 one-way-door list, so a swarm worker must not self-authorize it. If h3 is later wanted for performance, opening the UDP port rides the human door as its own decision; it is not blocking this fix.
What proves it: a new assertion in the
internal/clanfront-door render tests that the rendered gateway does not advertise h3 while the firewall omits UDP 443 (the defect class: a listener advertising a protocol the firewall drops).Agent brief
Do:
internal/clan/frontdoor.goaround L601, and any sibling front-door renderer that stands up Caddy on 443), make Caddy not advertise h3 — pinservers { protocols h1 h2 }(or the equivalent that stops it binding/advertising QUIC). Keep the firewall at TCP 80/443.internal/clan/*frontdoor*_test.goasserting the parity: the rendered config does not advertise h3 / does not bind UDP 443 whileallowedUDPPortsomits 443. Model it onfrontdoor_test.go:28.docs/GOTCHAS.mdentry (Symptom → Cause → Rule) for the defect class: a listener advertising a protocol the firewall drops — align the advertisement to the open ports, never the reverse without a posture-widening ruling.Acceptance:
curl -sD - https://<apex>/from a rendered gateway shows noalt-svc: h3header (or no UDP 443 listener).GET /api/v1/overviewno longer fails-to-fetch after the document loads.Drive note (from the reporter): Playwright's Chromium is the same engine, so founding drives that open the dashboard may be flaking on this today — worth a look once fixed.
swarm-claim host=elitebook-distributed-server-03 run=20351
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #1334 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope