Repository navigation
Todo
Labels
area/infraInfrastructure, deployment, and operationseffort/mMedium: expected under 1 day of workepic/lab-cluster-maintenancePer-project maintenance for lab-clusterkind/infrastructureInfrastructure / host-portability workprimary-parent/lab-cluster-maintenancePrimary parent epic lab-cluster-maintenance (design §3)priority/highImportant and time-sensitivequeue/blockedQueue or user escalation statestatus/blockedQueue or user escalation statestray-workStray work: not tied to a design or roadmap item (AUDIT-7 Lane 7)task/triageQueue packet kind: verify, reproduce, and route this itemuser/escalatedRequires a Drew decision or access
Description
Problem: home IPv6 uplink stalls on real transfers
Diagnosed 2026-10-26 during the OpenClaw install work on the amd laptop.
Symptom: IPv6 connections to Cloudflare-fronted hosts (e.g. registry.npmjs.org) stall at zero bytes on payload-sized responses, while IPv4 to the same hosts is healthy (~530 KB/s).
Evidence (on amd, home network):
curl -6of a ~4 MB npm tarball: 0 bytes after ~22 s (hard stall, not slowness).curl -4of the same tarball: full download in ~8 s.- Interactive tools with happy-eyeballs (curl default) mask the problem by falling back to IPv4; node/pnpm does not fall back the same way, so nix fixed-output fetches for npm/pnpm deps repeatedly stalled mid-build (notably the ~780-package summarize pnpm-deps FOD), while shell tests looked fine.
Impact
- npm/pnpm fetches from Nix builds on home machines are unreliable/slow.
- Any IPv6-first client without robust fallback can hang on this network.
Workaround in place
- IPv4 precedence via
networking.getaddrinfoin the amd host config (precedence ::ffff:0:0/96 = 100), marked as temporary. - Prefer-IPv4 choices in ad-hoc tooling until this is fixed.
What "fixed" means
Find and repair the root cause on the home network. Suspects, in order:
- PMTUD black hole on the IPv6 path (large packets dropped; small handshakes succeed — matches the 0-byte-after-connect shape).
- Router/ONT IPv6 handling (prefix delegation, RA/MTU advertisement, firmware).
- ISP IPv6 routing/peering toward Cloudflare.
Acceptance: curl -6 sustains multi-MB downloads from registry.npmjs.org and other Cloudflare hosts at speeds comparable to IPv4, repeatedly; then the getaddrinfo IPv4-preference workaround comes back out.
Acceptance criteria
-
curl -6sustains multi-MB downloads from registry.npmjs.org and other Cloudflare hosts at speeds comparable to IPv4, repeatedly. - Then the getaddrinfo IPv4-preference workaround comes back out.
Metadata
Metadata
Assignees
Labels
area/infraInfrastructure, deployment, and operationseffort/mMedium: expected under 1 day of workepic/lab-cluster-maintenancePer-project maintenance for lab-clusterkind/infrastructureInfrastructure / host-portability workprimary-parent/lab-cluster-maintenancePrimary parent epic lab-cluster-maintenance (design §3)priority/highImportant and time-sensitivequeue/blockedQueue or user escalation statestatus/blockedQueue or user escalation statestray-workStray work: not tied to a design or roadmap item (AUDIT-7 Lane 7)task/triageQueue packet kind: verify, reproduce, and route this itemuser/escalatedRequires a Drew decision or access
Activity
developing-today commentedon Oct 27, 2026
CODE-404
Merge pull request #1286 from developing-today/feat/ipv4-preference
dezren39 commentedon Nov 6, 2026
Revived 2026-11-06 — root cause never fixed; baseline re-measured
Drew ruled 2026-11-06: fix it (revive the laptop LAN fix under the networking priority; explore the router + Wi-Fi side). This issue was closed 2026-10-27 by the board-sync bot with only a task-board link comment — the acceptance test in the body above (sustained
curl -6multi-MB downloads) never passed. Today's baseline proves global IPv6 is still 100% broken. Reopening.Related: #6067 (edge routing rewire, lab build-out #6066).
The original problem (restated from the Oct 25–27 record)
Two layers, both diagnosed 2026-10-25/26:
fd2e:2810:acf5:4::/64plus a default route via SLAAC, but returns Destination Unreachable at hop 1 for any global IPv6 destination. Oct 26 variant of the symptom:curl -6to Cloudflare-fronted hosts connected, then stalled at 0 bytes on payload transfers (curl -4: full ~4 MB in ~8 s) — the shape that broke node/pnpm fetches inside nix builds.dns ipv4firstdoes not rescue it;net.setDefaultAutoSelectFamily(false)does). Curl masks the problem by falling back.Workarounds that landed (both still in force):
networking.getaddrinfo(precedence::ffff:0:0/96= 100) in the amd host config, PR Prefer IPv4 on amd (getaddrinfo workaround for #1280) #1286 — marked temporary.Baseline — measured from amd, 2026-11-06 ~13:56–14:02 CST (read-only)
wlp1s0= MediaTek MT7922 (Wi-Fi 6E). IPv4192.168.68.51/22, gateway192.168.68.1. IPv6: ULAfd2e:2810:acf5:4::/64(SLAAC) + link-local only — no global address, no delegated prefix on the LAN. Default v6 route via the router's link-local (fe80::76fe:ceff:fe81:b86a, RA).ping6 2606:4700:4700::1111: 100% loss, +5 errors (unreachable from hop 1).curl -6to the Cloudflare literal: instant connect failure.curl -6to registry.npmjs.org: connect failure after 2.5 s.curl -4of the same 4 MB tarball: 200 in 0.74 s. DNS serves AAAA records normally, so any v6-preferring client without the gai.conf workaround still walks into the blackhole.Router identity — correction to the working assumption
The current edge is not OpenWrt.
192.168.68.1is a TP-Link on stock firmware: web UI at/webpages/index.html(TP-Link$.suapp,tpEncrypt.js), no LuCI (/cgi-bin/luci/→ 404), SSH closed on 22/2222/8022, ports 53/80/443 open. The box is also the 2.4 GHz AP (BSSID is a locally-administered sibling of the gateway MAC). The OpenWrt device in our records is a historical Tailscale peer (openwrt, 100.100.126.100) — offline, last seen 367 days ago. (2024 notes: pfSense → OpenWrt happened, then "should we abandon openwrt" — the TP-Link is what runs the edge today.) Exact TP-Link model is not recorded anywhere in fleet docs.Router access state
Diagnosis
The TP-Link advertises itself as the IPv6 default router and hands out ULA addresses, but has no working global IPv6 path: no prefix is delegated to the LAN, and all global destinations are unreachable at hop 1. The fault is in the router's IPv6 WAN configuration or upstream of it — two sub-cases, distinguishable only from the router's IPv6 status page:
The PMTUD suspect from the original filing is moot in today's failure mode — connections no longer establish at all (no route), vs. Oct 26's connect-then-stall. Both modes are router-side. The latency half of the complaint is mostly Wi-Fi: a Wi-Fi 6E laptop camped on 2.4 GHz/20 MHz while a 5 GHz radio with the same SSID sits unused.
Ranked proposals (nothing applied this pass — read-only per Drew's ruling)
3a. If the ISP delegates a prefix: set the TP-Link's WAN6 mode correctly and LAN assignment to the delegated prefix (SLAAC). Then re-run this issue's acceptance (
curl -6sustains multi-MB ≈ IPv4 speed, repeatedly) and remove the gai.conf IPv4-precedence workaround via PR. Disruption: router apply may bounce Wi-Fi briefly; schedule it.3b. If the ISP offers no IPv6: disable the router's v6 default-route advertisement / LAN IPv6 (link-local only). Clients stop blackholing; keep gai.conf until verified clean, then remove it too. Disruption: RAs change; clients re-converge in seconds–minutes.
Acceptance remains as written in the body above, plus: gateway/WAN jitter re-measured on 5 GHz after proposal 1.
dezren39 commentedon Nov 6, 2026
Topology correction (2026-11-06, follow-up lane) — the TP-Link is the Wi-Fi and the router; there is no second router upstream
Drew's correction on the previous comment: the TP-Link at 192.168.68.1 is "my Wi-Fi, not my router." Verified the device's identity and role read-only from the laptop (laptop-agent; UPnP IGD queries, dhcpcd lease dump, ARP/NDP, traceroute). Result: Drew's framing is how the box is used (it's the mesh he manages in the Deco app), but at layer 3 it is also the edge router. The previous comment's symptom measurements all stand; only the device attribution and the fix targets change.
Evidence
http://192.168.68.1:1900/lqyai/rootDesc.xml, reached via SSDP) — manufacturer TP-LINK, model BE11000 (Deco BE65-class Wi-Fi 7 mesh), deviceTypeInternetGatewayDevice:1, MiniUPnPd 2.2.2. An IGD that answersWANIPConnectionqueries is a NAT router, not an access point.GetExternalIPAddress→ 67.144.128.109, identical to the laptop's observed public egress;GetStatusInfo→ Connected,IP_Routed, uptime ~6.0 days. Traceroute from the laptop: hop 1 = 192.168.68.1, hop 2 = 67.144.128.1 (dhcp-67-144-128-1.gobrightspeed.net) — a public ISP aggregation address. No private hop exists, so no in-home device routes or NATs upstream of the Deco (no double NAT).74:fe:ce:81:b8:6a); DHCPv4 lease (dhcpcd dumplease): routers=192.168.68.1, subnet 192.168.68.0/22, DNS handed out = 8.8.8.8 / 4.2.2.1, lease 7200 s.fe80::76fe:ceff:fe81:b86a, whose neighbor entry resolves to the same MAC74:fe:ce:81:b8:6a; the Deco holdsfd2e:2810:acf5:4:76fe:ceff:fe81:b86aon the advertised ULA prefix. The Deco — not an upstream box — advertisesfd2e:2810:acf5:4::/64plus itself as default router.ping6to a global address returns ICMP Destination unreachable: No route from the Deco's own ULA address. It accepts the default-router role but has no onward IPv6 route (WAN6 absent/unconfigured).Re-aimed fix paths (both now target the Deco's IPv6 settings)
curl -6downloads); then retire the gai.conf IPv4-precedence workaround via PR.5 GHz steering proposal — revised
Band assignment in a mesh is a Deco-app per-device Connection Preference (Drew-side, one tap per device) or a laptop-side band/BSSID preference (fleet-side, instantly reversible, unchanged). Note the BE11000 is tri-band Wi-Fi 7 and the laptop radio is Wi-Fi 6E, so the 6 GHz band is also available as a target.
Revised single ask for Drew
One screen decides 3a vs 3b: Deco app → More → Advanced → IPv6 — report (or screenshot) the IPv6 connection type and whether a WAN IPv6 address/prefix is shown. Alternatively, vault the TP-Link ID login (BWS + 1Password) and the fleet reads it directly. The earlier "TP-Link admin password" ask stands in substance but is now correctly targeted: it was always the Deco's admin — there is no other router to unlock.
dezren39 commentedon Nov 8, 2026
🤖 Agent note · handed off
43 remaining items
developing-today-fleet commentedon Nov 27, 2026
🤖 Triage re-verification — lane any-n, task 25431 · 2026-11-27
Verdict unchanged: valid network defect, blocked on the existing hands item; no code-repo work is currently actionable. Fresh GitHub state: issue remains OPEN with
task/triage,status/blocked,user/escalated, andqueue/blocked;updatedAt2026-11-24T08:29:57Z, unchanged. The detailed measurements and resume criteria remain in prior triage comment 6720277252; task 18104 records Drew's 2026-11-12 answer that router/AP work is his planned todo, and the existing hands:v1 item requests the Deco IPv6 WAN screen's WAN IPv6 and MTU details. No newer evidence satisfies that condition. No credential was accessed and no laptop network configuration was changed.Task 25431 is parked on the existing interactive-login hands item. Resume when the requested Deco screen details are posted; then continue with the documented network triage/acceptance path.
dezren39 commentedon Nov 29, 2026
Census 2026-11-29 (lane CEN-C02) — rechecked firsthand.
State: OPEN, real and current, and NOT a code task. The diagnosis is complete and measured from the affected host (amd): the Deco BE11000 (192.168.68.1, router mode) advertises a ULA prefix plus itself as IPv6 default router but has no onward global IPv6 path — global v6 is unreachable at hop 1 while IPv4 is healthy. Full measurement set: comment 6720277252 (2026-11-08), re-verified same-day by task 13594.
Blocker — named, and it is a hands item, not a missing analysis: Drew's Deco session. The body's hands:v1 marker carries the exact action: in the Deco app during the planned router session, open the IPv6 WAN screen and post the WAN IPv6 and MTU details here. Drew answered this gate 2026-11-12 (ledger item deco-login-1280): the router/AP work is his own todo, bundled with his other router work. Nothing fleet-side can substitute: the fleet holds no Deco admin credential (checked repeatedly by name), and any laptop Wi-Fi band change on amd (the fleet execution host) needs his explicit go.
Resume path once the screen details land: decide 3a (ISP delegates a prefix → configure Deco IPv6 properly) vs 3b (no ISP IPv6 → turn Deco IPv6 off so clients stop blackholing), apply, then run this issue's acceptance (
curl -6sustains multi-MB downloads from Cloudflare hosts at ≈IPv4 speed, repeatedly) and only then remove the IPv4-precedence workaround (nixos/hosts/amd-ipv4-preference.nix, PR #1286).Census actions: added
priority/medium(fleet execution host affected, but a working workaround is in place and the fix is owner-scheduled),kind/infrastructure, andarea/infra— the issue previously carried no priority or type label.developing-today-fleet commentedon Nov 29, 2026
Census 2026-11-29 (Felix): full re-read (body, labels, all comments, edges) in the CODE-6 recovery pass, concurring with the parallel census note (lane CEN) already on this thread, whose claims I verified against live state in this pass.
STRENGTHS: exemplary diagnosis — measured from the affected host: the Deco BE11000 advertises a ULA prefix and itself as IPv6 default router but has no onward global IPv6 path; global v6 dies at hop 1 while IPv4 is healthy (measurement set: comment 6720277252).
PRIORITY VALIDATION: this issue carried priority/high plus the legacy priority/medium. priority/medium is NOT in the ratified band set (critical/high/normal/low), so I re-judged it on the merits: a live uplink defect that stalls payload transfers and breaks npm/pnpm fetches in Nix builds across the home machines is "important and time-sensitive" — priority/high is the right single band.
FIXES I APPLIED: removed legacy priority/medium; priority/high stands alone.
REMAINS: FOR DREWRY / hands — the fix is on the router/ISP side (Deco IPv6 configuration or ISP path), not in this repo; the diagnosis and resume criteria are complete for whoever picks it up.
developing-today-fleet commentedon Nov 29, 2026
Issue census — 2026-11-29
Gaps found: Two priority labels were set at once —
priority/highandpriority/medium.priority/mediumis not one of the house bands (critical/high/normal/low) and the pair is contradictory; the invalid one was removed andpriority/highkept (a home-uplink stall that silently breaks IPv6-first clients and Nix fetches is high-impact, and the issue is user-escalated). Noeffort/*label (addedeffort/m); acceptance was an inlineAcceptance:line, not a checkable section.Strengths: A model network bug report: dated diagnosis, quantified evidence (curl -6: 0 bytes after ~22s on a ~4MB tarball vs curl -4: full download in ~8s), the masking effect of happy-eyeballs explained, impact on Nix fetches named, the workaround recorded and marked temporary, and suspects ranked in order.
Blocker recorded: Drew, at the router: the body's hands marker asks for the Deco admin app's IPv6 WAN screen (WAN IPv6 + MTU details) to be posted during his planned router session. Suspects 2 and 3 (router/ONT handling, ISP routing) cannot be separated without those facts.
Actions taken by this census: Labels added:
effort/m. Appended a## Acceptance criteriasection to the body (original text untouched), converting the issue's own acceptance wording into checkable items.developing-today-fleet commentedon Nov 30, 2026
Census untouched-items follow-up — 2026-11-29.
This item was on the census's needs-Drew list. Everything fleet-side is done or verified as far as it goes; the record stands as verified on this thread. The one remaining act is Drew's: During your planned router session, post the Deco app's IPv6 WAN/MTU readings on this issue. Nothing else is blocked behind anything else; when that act is done, the rest is fleet work and needs no further decision.