docs-editing health: the probe reads Collabora's convert-to.available through the PUBLIC door, where Collabora answers false by design (post_allow) — a healthy install is refused after 36 attempts #1718
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#1718
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?
What happened
Whakatōhea Demo, control panel Install → Document editing (Collabora Online) on the gateway. The deploy held; the panel then reported "gateway could not bring Document editing up. Nothing is half-installed — Document editing is not serving — Collabora reports its editing engine is not ready." Control-plane journal: 36 probes, every one
collabora capabilities: the editing engine cannot render documents (convert-to unavailable).The service is fine
On the gateway
coolwsd.serviceis running, a kit is forked, "Ready to accept connections on port 9980":curl http://127.0.0.1:9980/hosting/capabilities→"convert-to":{"available":true, ...}curl https://docs-editing.<apex>/hosting/capabilities→ 200,"convert-to":{"available":false}Same server, two answers. Collabora reports
convert-to.availableper requester: it is true only when the caller's address matchesnet.post_allow.host(the convert-to allow-list; loopback is allowed by default). Through the front door the caller is not (Caddy forwards the real client IP, or the gateway's public IP for the probe), so the field isfalse— that is Collabora saying "you may not POST convert-to", not "I cannot render". The renderedcoolwsd.xmlsets nopost_allow(internal/clan/docsediting.go:182-200sets server_name, ssl, storage.wopi only).docsEditingHealthCheck(control-plane/cmd/control-plane/servicehealth.go:~410-445) fetches the DERIVED public URL and hard-fails on!caps.ConvertTo.Available. So the check can never pass on a real gateway from outside. (The docs-editing drive legs green through the mesh / loopback address — the same harness-vs-product blind spot as #1710.)Fix
productVersion+hasWopiAccessCheck) and dropconvert-to.availablefrom the public verdict.net.post_allow.hostfor the files host indocsediting.godeliberately, with the comment saying why.available:false+ 200 from the public base ⇒ healthy under the new rule; drive — docs-editing installed from the PANEL through the public door on a rented gateway (#1688 or the brand-reach drive).Also seen in the setup unit journal (harmless but noisy, separate if wanted):
coolwsd-systemplate-setup:cpio: command not found, missing/etc/timezone,/etc/localtime,/usr/share/fonts— the nixpkgs systemplate setup on this image; fonts missing may bite document rendering later.Demo state
Collabora is left running on the gateway; the panel shows Document editing not installed. Do NOT retry until the probe is fixed — each attempt re-runs a 6-minute deploy for the same verdict.
Found on the hand re-founding of Whakatōhea Demo 2026-09-22, release
cef28743.swarm-claim host=elitebook-distributed-server-03 run=29839
(automated multi-host claim — lowest live claim id works this ticket)
Ruled by agent under ADR 0174 — veto anytime.
Between the two fixes the ticket offers, I took probe the loopback (not "keep the public fetch but drop
convert-to.available"). Reason:convert-to.availableis a genuinely useful per-requester render signal — over loopback (the address the files WOPI host posts convert-to from) it answerstruefor a serving engine andfalseonly for one that genuinely cannot render. Dropping it would forfeit the real-function assertion; probing it where it is honest keeps it. This is exactly the #1503 ruling (a): probe the gateway-local address, leave the front-door browser gate untouched.Why a two-way door: a revertible derivation change (
derivedDocsEditingURLnow returnshttp://127.0.0.1:<DocsEditingServePort>viaserviceProbeBase(clan.DocsEditingServeFacts().LoopbackTarget(), "")), no security-posture widening (the public door’s exempt set is unchanged — nothing new is exempted at the front door), provable by a seam test + the standing demo box.What proves it:
TestDerivedDocsEditingURL_ProbesLoopbackNotPublicDoor(red-first) + updatedTestDerivedDocsEditingURL_FromApexOrResting;control-planego test + vet green. The live proof is a panel install of Document editing on a rented gateway (#1688 / brand-reach drive).Deferred, out of this slice (noted for follow-up, not fixed here):
dashboard/src/components/catalogue/SelectDeviceDialog.vue), and the "left running vs removed" question is a fleet-wide provisioning-behaviour concern — not this probe-target slice. With the probe fixed a healthy install now passes, so an operator no longer reaches that copy.coolwsd-systemplate-setupcpio: command not found/ missing/etc/timezone/ fonts noise (the issue marked it "separate if wanted").close-report for #1718 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope