Headscale OIDC issuer fetch returns 403 (control plane down) #7
Loading…
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?
Severity: High — affects ALL tailnet enrollment
Headscale crashes on startup with:
Root cause: Headscale container (in
proxydocker network, source IP172.20.0.x) hitsauth.s8n.ru→ Pi-hole resolves to192.168.0.100(split-horizon) → request hits Traefikno-guest@filemiddleware → 403 because172.20.0.0/24is NOT in the allowlist.Downstream symptom: Onyx
tailscale upfails withfetch control key: 403 Forbidden— same root cause.Fix options:
172.20.0.0/24tono-guest@filesourceRangein/opt/docker/traefik/config/dynamic.yml(cleanest).extra_hostsin headscale compose pointingauth.s8n.rudirectly at the authentik container (requires cert handling — authentik cert is for the public hostname).Recommendation: Option 1 — narrow allowlist add for the docker proxy network.
Discovered: 2026-05-06 during P0.1 (headscale client_secret relocation). Bug is pre-existing — same error occurred before + after the secret edit, confirmed by config restore-test.
Verification:
docker logs headscale | grep -i listenshows "listening on :8080" (no FTL);curl -sI https://hs.s8n.ru/healthreturns 200.