diegosouzapw/OmniRoute · error · Error
Failed to start Tailscale service
Error message
Failed to start Tailscale service
What it means
Windows service-start verification failure: after attempting `net start Tailscale` (errors intentionally ignored) and waiting 2.5s, the live status probe via the binary still returns nothing — the service did not come up. The daemon is expected to answer on its socket after start; silence means the start failed or the service crashed immediately.
Solutions
- Check Windows service status and Event Log for Tailscale errors
- Retry the start after a longer wait (slow service init)
- Reinstall the Tailscale Windows service if it is in a broken state
Defensive patterns
Strategy: retry
When it happens
Trigger: Thrown at src/lib/tailscaleTunnel.ts:583 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of diegosouzapw/OmniRoute@a179ffed5b (2026-08-25).
Data as JSON: /api/errors/a289587147b768ee.
Report an issue: GitHub.
Appendix: source
Thrown at src/lib/tailscaleTunnel.ts:583
const existingStatus = await getLiveStatusPayload(resolution.binaryPath);
if (existingStatus) {
return { started: false };
}
if (getCurrentPlatform() === "win32") {
try {
await execFileAsync("net", ["start", "Tailscale"], {
timeout: 10000,
windowsHide: true,
env: buildExecEnv(),
});
} catch {
// Ignore service start errors and verify below.
}
await sleep(2500);
if (!(await getLiveStatusPayload(resolution.binaryPath))) {
throw new Error("Failed to start Tailscale service");
}
return { started: true };
}
const daemonBinary = await resolveDaemonBinary(resolution.binaryPath);
if (!daemonBinary) {
throw new Error("tailscaled binary not found");
}
const password = toNonEmptyString(sudoPassword) || getCachedPassword() || "";
if (!password) {
throw new Error("Sudo password required to start tailscaled");
}
setCachedPassword(password);
await ensureTailscaleDir();
View on GitHub (pinned to a179ffed5b)