GeezerVison is showing github.com — fleet: repo-queue dispatch fails with TLS UnknownIssuer behind the egress proxy (Rust TLS ignores SSL_CERT_FILE) · Issue #13185 · developing-today/code
fleet: repo-queue dispatch fails with TLS UnknownIssuer behind the egress proxy (Rust TLS ignores SSL_CERT_FILE) #13185DescriptionSymptom
fleet queue dispatch fails on its GitHub POST with:
repo-queue: github api POST /repos/developing-today/fleet/actions/workflows/fleet-command.yml/dispatches: io: invalid peer certificate: UnknownIssuer
Evidence
- The seat's egress proxy MITMs TLS;
SSL_CERT_FILE=/run/hatch/egress-tls/ca-bundle.pem (bundle present, 181489 bytes).
- Go
gh honors the bundle: pooled fleet gh api --method POST markdown succeeds.
- Fleet's own Rust HTTP client does not: the dispatch POST above fails with UnknownIssuer. Same failure for the fleet-run.yml dispatch path.
- Pooled
fleet gh writes otherwise work (header-defect fix fix(fleet): parse the personal token on the cache-daemon path too #12500 is installed and verified: 40-char GH_TOKEN, markdown POST exit 0).
Likely cause
The Rust TLS stack used by fleet's GitHub API calls (repo-queue dispatch path, and probably the queue broker's GitHub client too) does not load the native roots / does not honor SSL_CERT_FILE.
Impact
All fleet queue dispatch verification from this seat is blocked. Workaround in use: dispatch the workflow directly via gh workflow run fleet-command.yml --repo developing-today/fleet -f repo= -f ref= -f command= through pooled fleet gh (Go client, works).
Suggested fix
Load native roots / honor SSL_CERT_FILE in fleet's Rust HTTP client (and audit the broker's client for the same gap), with a regression test that a POST succeeds with the egress bundle present.
{
"direct_parent": null,
"links": [],
"lineage": {
"design": null,
"roadmap_item": null,
"priority": null
},
"pm_meta": 1,
"provenance": {
"queue_id": null,
"scheduled_start": null,
"picked_up_at": null,
"work_started_at": null,
"created_at": "2026-11-23T10:24:41Z",
"session_id": null,
"lane": null,
"host": "htch-runtime",
"worktree": "/home/hatch",
"model": null,
"lane_start_issues": [],
"workspace_ref": {
"kind": "worktree",
"id": "/home/hatch",
"repo": "developing-today/code",
"branch": "main",
"sha": "bbfc8aa3a3b4f3e3d399b7e76beb6962c0daa5b9"
},
"auth_subject": "xaltha",
"stamped_by": "fleet 0.1.0 (native)"
}
}
Activitydeveloping-today commented on Nov 23, 2026 dezren39 commented on Nov 23, 2026
Done — Lane RU (archer), 2026-11-23. Closing as completed: premise stale, fixed by PR #13173 (for #13122).
This issue was filed at 10:24Z from a seat running the pre-fix binary. The fix landed the same morning: PR #13173 (merged 17cc36e436f9) switched the three webpki-roots-only ureq agents — placement's RealGh, the queue broker's shared agent, and dispatch-test's agent() — to RootCerts::PlatformVerifier, covering both the repo-queue dispatch path named here and the broker client the issue flagged for audit. The fixed static build (fleet-static-3cb241a, sha256 c689a9006ea57e66fcaa7e5b283974e7a29f29e7a026e4522a67fab661035b04) was installed on this seat at 10:34Z.
Fresh first-hand re-verification just now, from this sandbox seat with the ambient environment (egress proxy env as-is, no overrides):
fleet queue dispatch --repo developing-today/code --command 'true' --dispatch --json → dispatched, handle fp_dd9d958ddd32edda59d0d9a969b70b2e, run 45159631702
fleet queue session result fp_dd9d958ddd32edda59d0d9a969b70b2e → succeeded (terminal=true)
No UnknownIssuer anywhere in the path. One standing caveat, already tracked by the parent seat: scripts/muse/bootstrap.sh still pins the older b8bbcc0 static release, so a future bootstrap re-run would downgrade a seat and re-break this — a fresh fleet-static-* publish + pin bump is queued behind the #13191 repair-verb landing.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|